SPI Timing

The SPI Client 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.

Table 1. SPI Client Modes
Mode CPOL CPHA
0 0 0
1 0 1
2 1 0
3 1 1
Note: The ATWINC15x0 firmware uses SPI MODE 0 to 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.

Figure 1. SPI Client Clock Polarity and Clock Phase Timing