33.6.3.3 Host with Several Clients

Host with multiple Clients in parallel is only available when Host SPI Select Enable (CTRLB.MSSEN) is set to zero and hardware SS control is disabled. If the bus consists of several SPI Clients, an SPI Host can use general purpose I/O pins to control the SS line to each of the Clients on the bus, as shown in Multiple Clients in Parallel. In this configuration, the single selected SPI Client will drive the tri-state MISO line.

Figure 33-5. Multiple Clients in Parallel

Another configuration is multiple Clients in series, as in Multiple Clients in Series. In this configuration, all n attached Clients are connected in series. A common SS line is provided to all Clients, enabling them simultaneously. The Host must shift n characters for a complete transaction. Depending on the Host SPI Select Enable bit (CTRLB.MSSEN), the SS line can be controlled either by hardware or user software and normal GPIO.

Figure 33-6. Multiple Clients in Series