37.6.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. Therefore, the interfaced Client must use the same parameter values to communicate.

All combinations of polarity and phase are available when QSPI operates in SPI mode (CTRLB.MODE = 0).

In QSPI Serial Memory mode (CTRLB.MODE = 1), only Mode 0 is supported.

in QSPI Dual Data Rate transfer mode (INSTRFRAME.DDREN = 1), only Mode 0 is supported.

Table 37-2. QSPI Transfer Mode
ModeBAUD.CPOLBAUD.CPHAShift SCK EdgeCapture SCK EdgeSCK Inactive Level
000FallingFallingLow
101RisingRisingLow
210RisingRisingHigh
311FallingFallingHigh
Figure 37-3. QSPI Transfer Modes (BAUD.CPHA = 0, 8-bit transfer)
Figure 37-4. QSPI Transfer Modes (BAUD.CPHA = 1, 8-bit transfer)