UxBRG

UART Baud Rate Generator
Note:
  1. 1.The individual bytes in this multi-byte register can be accessed with the following register names:
    • UxBRGH: Accesses the high byte BRG[15:8]
    • UxBRGL: Accesses the low byte BRG[7:0]
  2. 2.The UxBRG registers should only be written when ON = 0.
  3. 3.Maximum BRG value when MODE = '100x and BRGS = 1 is 0x7FFE.
  4. 4.Maximum BRG value when MODE = '100x and BRGS = 0 is 0x1FFE.
Name:
UxBRG
Address:
0x2AE,0x2C1,0x2D4,0x2E7,0x2FA
Reset:
Access:
Bit15141312111098
BRG[15:8]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit76543210
BRG[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 15:0 – BRG[15:0]: Baud Rate Generator Value

Baud Rate Generator Value

The UART Baud Rate equals [Fosc*(1+(BRGS*3)]/[(16*(BRG-1))]