The SERCOM pads are automatically configured as seen in Table 1. If the receiver is disabled, the data input (MISO for master, MOSI for slave) can be used for other purposes.
In master mode, the SS pin(s) must be configured using the spi_slave_inst struct.
Pin |
Master SPI |
Slave SPI |
|---|---|---|
MOSI |
Output |
Input |
MISO |
Input |
Output |
SCK |
Output |
Input |
SS |
User defined output enable |
Input |