1.1.1. SPI Interface
The device communicates with the slave devices using:
- one data-out port (MOSI)
- one data-in port (MISO)
- clock (SCLK)
- slave select signal (SS)
Signal | Purpose | Description |
---|---|---|
MOSI | master-out slave-in | Outputs data from the master to the inputs of the slaves. |
MISO | master-in slave-out | Inputs data from the master to the outputs of the slaves. |
SCLK | SPI clock | Clock driven by the master to the slaves. Synchronizes the data bits. |
SS | slave select | Select signal (active low) is driven by the master and sent to the individual slaves. The SS signal selects the device (target slave) with which the SPI master needs to communicate. You can connect up to eight devices to the SPI master. |
Note: SPI clock = host clock / (CLK DIV + 2).