8.4.1 Data Transfer

Four combinations of polarity and phase are available for data transfers. Consequently, a host/client pair must use the same parameter pair values to communicate.

The table below shows the four modes and corresponding parameter settings.

Table 8-2. SPI Bus Protocol Modes
SPI Mode Shift SCK Edge Capture SCK Edge SCK Inactive Level
0 Falling Rising Low
1 Rising Falling Low
2 Rising Falling High
3 Falling Rising High

The figures below show examples of data transfers.

Figure 8-1. SPI Transfer Format (NCPHA = 1, 8 bits per transfer)
Figure 8-2. SPI Transfer Format (NCPHA = 0, 8 bits per transfer)