30.4.3.5 Hardware Controlled SS

In Host mode, an SPI Select (SS) line can be controlled by hardware by writing the Host SPI Select Enable (CTRLB.MSSEN) bit to ’1’. In this mode, the SS pin is driven low for at least one baud cycle before transmission begins and remains low for at least one baud cycle after transmission completes. The SS pin is always driven high for at least one baud cycle between each data transfer.

In the following figure, the time T ranges from one to two baud cycles, depending on the SPI transfer mode.

Figure 30-7. Hardware Controlled SS

When CTRLB.MSSEN is ‘0’, the SS pin(s) are controlled by user software and normal GPIO pins.