33.7.5 Serial Clock Phase and Polarity

Four combinations of polarity and phase are available for data transfers. Writing the Clock Polarity bit in the QSPI Baud register (BAUD.CPOL) selects the polarity. The Clock Phase bit in the BAUD register programs the clock phase (BAUD.CPHA). These two parameters determine the edges of the clock signal on which data is driven and sampled. Each of the two parameters has two possible states, resulting in four possible combinations
Note: The polarity/phase combinations are incompatible. Thus, the interfaced client must use the same parameter values to communicate.
Table 33-2. SPI Transfer Mode
Clock ModeBAUD.CPOLBAUD.CPHAShift SCK EdgeCapture SCK EdgeSCK Inactive Level
000FallingRisingLow
101RisingFallingLow
210RisingFallingHigh
311FallingRisingHigh
Figure 33-3. QSPI Transfer Modes (BAUD.CPHA = 0, 8-bit transfer)
Figure 33-4. QSPI Transfer Modes (BAUD.CPHA = 1, 8-bit transfer)