33.9.3 Baud Rate

Name: BAUD
Offset: 0x08
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 DLYBS[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 BAUD[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
       CPHACPOL 
Access R/WR/W 
Reset 00 

Bits 23:16 – DLYBS[7:0] Delay Before SCK

This field defines the delay from CS valid to the first valid SCK transition.

When DLYBS equals zero, the CS valid to SCK transition is 1/2 the SCK clock period.

Otherwise, the following equation determines the delay:
Equation 33-2. Delay Before SCK
DelayBeforeSCK=DLYBSMCK

Bits 15:8 – BAUD[7:0] Serial Clock Baud Rate

The QSPI uses a modulus counter to derive the SCK baud rate from the module clock (MCK) CLK_QSPI_AHB. The Baud rate is selected by writing a value from 1 to 255 in the BAUD field. The following equation determines the SCK baud rate:
Equation 33-1. SCK Baud Rate
SCKBaudRate=MCK(BAUD+1)

Bit 1 – CPHA Clock Phase

CPHA determines which edge of SCK causes data to change and which edge causes data to be captured. CPHA is used with CPOL to produce the required clock/data relationship between host and client devices.

ValueDescription
0Data is captured on the leading edge of SCK and changed on the following edge of SCK.
1Data is changed on the leading edge of SCK and captured on the following edge of SCK.

Bit 0 – CPOL Clock Polarity

CPOL is used to determine the inactive state value of the serial clock (SCK). It is used with CPHA to produce the required clock/data relationship between host and client devices.

ValueDescription
0The inactive state value of SCK is logic level zero.
0The inactive state value of SCK is logic level 'one'.