AT83C5122_08 ATMEL [ATMEL Corporation], AT83C5122_08 Datasheet - Page 131

no-image

AT83C5122_08

Manufacturer Part Number
AT83C5122_08
Description
C51 Microcontroller with USB and Smart Card Reader Interfaces
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Baud Rate Selection
(Modes 1 and 3)
4202F–SCR–07/2008
CLOCK
CLOCK
IBRG
T1
BDRCON.2
RBCK
In modes 1 and 3, the Baud Rate is derived either from the Timer 1 or the Internal Baud
Rate Generator and allows different baud rate in reception and transmission.
As shown in Figure 78 the selection is done using RBCK and TBCK bits in BDRCON
register.
Figure 79 gives the baud rate calculation formulas for each baud rate source while
Table 76 details Internal Baud Rate Generator configuration for different peripheral
clock frequencies and giving baud rates closer to the standard baud rates.
Figure 78. Baud Rate Source Selection (Modes 1 and 3)
Figure 79. Baud Rate Formulas (Modes 1 and 3)
0
1
Baud_Rate =
BRL = 256 -
/ 16
a. IBRG Formula
6
6
(1-SPD)
(1-SPD)
2
2
To serial
reception Port
SMOD1
SMOD1
32 (256 -BRL)
32 Baud_Rate
F
F
CK_SI
CK_SI
AT83R5122, AT8xC5122/23
CLOCK
CLOCK
IBRG
T1
BDRCON.3
TBCK
0
1
Baud_Rate =
TH1 = 256 -
/ 16
b. T1 Formula
192 Baud_Rate
192 (256 -TH1)
2
2
To serial
transmission Port
SMOD1
SMOD1
F
F
CK_T1
CK_T1
131

Related parts for AT83C5122_08