SWRU543B January 2019 – June 2025 CC3230S , CC3230SF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
The SPI supports four submodes (mode0 to mode3) of the SPI format transfer that depend on the polarity (POL) and the phase (PHA) of the SPI serial clock (SPICLK). The details of each submode are described in the following chapters. Table 8-2 and Figure 8-3 show a summary of the four submodes. Software selects one of four combinations of serial clock phase and polarity.
| Polarity (POL) | Phase (PHA) | SPI Mode | Comments |
|---|---|---|---|
| 0 | 0 | mode0 | SPICLK active-high and sampling occurs on the rising edge. |
| 0 | 1 | mode1 | SPICLK active-high and sampling occurs on the falling edge. |
| 1 | 0 | mode2 | SPICLK active-low and campling occurs on the falling edge. |
| 1 | 1 | mode3 | SPICLK active-low and sampling occurs on the rising edge. |
Figure 8-3 Phase and Polarity Combinations