37.8.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 37-2. Delay Before SCK
D e l a y B e f o r e S C K = D L Y B S M C K

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 CLK_QSPI_AHB. The Baud rate is selected by writing a value from 0 to 255 in the BAUD field. The following equation determines the SCK baud rate:
Equation 37-1. SCK Baud Rate
S C K B a u d R a t e = M C K ( B A U D + 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
0 Data is captured on the leading edge of SCK and changed on the following edge of SCK.
1 Data 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
0 The inactive state value of SCK is logic level zero.
0 The inactive state value of SCK is logic level 'one'.