The RFzero is based on the SAMD21J18G micro controller that have six SERCOM interfaces available, each of which can be configured for one of the Serial UART, SPI, or I2C protocols.
The SERCOM serial engine consists of a transmitter and receiver, baud-rate generator and address matching functionality. It can be configured to use the internal generic clock or an external clock, making operation in all sleep modes possible. (See datasheets on the Hardware page.)
The USB port is not part of these and can thus be used independently no matter how the SERCOMs are configured.
If you are just here to find the RFzero reference you may want to jump directly to the pinout tables or the configuration overview. For generic information and examples go to the Serial UART, I2C Wire or SPI pages.
The I2C (Wire) is a two wire bus interface that allows multiple devices, named master(s) and slave(s), to use the same two wires to send and receive data to and from each others by including an address in the transmitted data. Typical communication speeds are either 100 kHz (default) or 400 kHz. The two wires are called Serial Data (SDA) and Serial Clock (SCL).
|I2C signal||RFzero Pin/Port||Arduino Zero or M0 pins|
The serial universal synchronous and asynchronous receiver and transmitter (USART) is a two wire serial interface that allows only two devices to connect to each other. Typically the communication speed is from 1200 Baud to 115200 Baud but both lower and faster is also possible.
The two wires are called Transmit Data (TXD) and Received Data (RXD).
|Serial signal||RFzero pin||RFzero MCU pin||Arduino Zero/M0 pins|
The SPI is a four wire full duplex interface that allows multiple devices, named master and slave(s), to use the same four wires to send and receive data to and from the master or slave. The bus clock can vary from circuit to circuit.
The four wires are called Master Out Slave In (MOSI), Master In Slave Out (MISO), Serial ClocK (SCK) and Slave Select (SS). The SS is seldom used if there is only one slave connected to the master.
|SPI signal||Pin/Port||Arduino Zero/M0 pinout|
|MISO||D16||4 (SPI connector)|
|MOSI||D18||1 (SPI connector)|
|SCK||D19||3 (SPI connector)|
The USB interface
The Universal Serial Bus (USB) is a two wire interface bus that allows many devices to communicate with each other. The communication speed is typically in the same range as the UART but can go up to 12 Mb/s.
The two wires are called Data+ (D+) and Data- (D-).
The USB interface is called SerialUSB and with D+ on D28/pin 33 and D- on D29/pin 34.