US_BRGR

USART Baud Rate Generator Register

This register can only be written if the WPEN bit is cleared in the USART Write Protection Mode Register.

  0x0020 32 Read/Write 0x0  

USART Baud Rate Generator Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
            FP[2:0]  
Access                   
Reset            0 0 0  
Bit  15 14 13 12 11 10 9 8  
  CD[15:8]  
Access                   
Reset  0 0 0 0 0 0 0 0  
Bit  7 6 5 4 3 2 1 0  
  CD[7:0]  
Access                   
Reset  0 0 0 0 0 0 0 0  

Bits 15:0 – CD[15:0]: Clock Divider CD USART_MODE ≠ ISO7816 USART_MODE = ISO7816 SYNC = 0 SYNC = 1orUSART_MODE = SPI(Master or Slave) OVER = 0 OVER = 1 0 Baud Rate Clock Disabled 1 to 65535 CD = Selected Clock /
(16 × Baud Rate) CD = Selected Clock /
(8 × Baud Rate) CD = Selected Clock /
Baud Rate CD = Selected Clock / (FI_DI_RATIO × Baud Rate)

Clock Divider

CD USART_MODE ≠ ISO7816 USART_MODE = ISO7816
SYNC = 0 SYNC = 1

or

USART_MODE = SPI

(Master or Slave)

OVER = 0 OVER = 1
0 Baud Rate Clock Disabled
1 to 65535 CD = Selected Clock /
(16 × Baud Rate) CD = Selected Clock /
(8 × Baud Rate) CD = Selected Clock /
Baud Rate CD = Selected Clock / (FI_DI_RATIO × Baud Rate)

Bits 18:16 – FP[2:0]: Fractional Part

Fractional Part

Warning: When the value of field FP is greater than 0, the SCK (oversampling clock) generates nonconstant duty cycles. The SCK high duration is increased by “selected clock” period from time to time. The duty cycle depends on the value of the CD field.
ValueDescription
0

Fractional divider is disabled.

1–7

Baud rate resolution, defined by FP × 1/8.