The SPI Slave interface supports four standard modes as determined by the Clock Polarity (CPOL) and Clock Phase (CPHA) settings. These modes are illustrated in the following table and figure.
Mode | CPOL | CPHA |
---|---|---|
0 | 0 | 0 |
1 | 0 | 1 |
2 | 1 | 0 |
3 | 1 | 1 |
SPI MODE 0to communicate with the host.
The red lines in the following figure correspond to Clock Phase = 0 and the blue lines correspond to Clock Phase = 1.
The SPI timing is provided in the following figure and table.
Parameter | Symbol | Min. | Max. | Units |
---|---|---|---|---|
Clock Input Frequency(2) | fSCK | — | 48 | MHz |
Clock Low Pulse Width | tWL | 4 | — | ns |
Clock High Pulse Width | tWH | 5 | — | |
Clock Rise Time | tLH | 0 | 7 | |
Clock Fall Time | tHL | 0 | 7 | |
TXD Output Delay(3) | tODLY | 4 | 9 from SCK fall | |
RXD Input Setup Time | tISU | 1 | — | |
RXD Input Hold Time | tIHD | 5 | — | |
SSN Input Setup Time | tSUSSN | 3 | — | |
SSN Input Hold Time | tHDSSN | 5.5 | — |