AT80C51RD2/AT83C51Rx2
Internal Baud Rate Generator
(BRG)
When the internal Baud Rate Generator is used, the Baud Rates are determined by the
BRG overflow depending on the BRL reload value, the value of SPD bit (Speed Mode)
in BDRCON register and the value of the SMOD1 bit in PCON register.
Figure 18. Internal Baud Rate
Peripheral clock
BRR
auto reload counter overflow
/2
/6
0
BRG
1
BRL
SPD
0
INT_BRG
1
• The baud rate for UART is token by formula:
BaudRate = -2----×-----2-----×-----6----〈-2--1--S--M-–----OS---P-D---D--×---〉-F---×-C---1-L---6K---P--×--E--[-R--2-I--5P---6-H----–-----(--B----R----L----)---]
(BRL) = 256 – 2-----×-----2-----×2----S-6-M--(--1-O---–-D---S1---P--×-D---F-)---×C----L-1--K-6--P---×-E---R-B--I--aP---u-H--d----R----a---t--e-
39
4113B–8051–03/05