at83c5122 ATMEL Corporation, at83c5122 Datasheet - Page 133

no-image

at83c5122

Manufacturer Part Number
at83c5122
Description
At83c5123 C51 Microcontroller With Usb And Smart Card Reader Interfaces
Manufacturer
ATMEL Corporation
Datasheet
Baud Rate Selection
(Modes 1 and 3)
4202E–SCR–06/06
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 79 the selection is done using RBCK and TBCK bits in BDRCON
register.
Figure 80 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 79. Baud Rate Source Selection (Modes 1 and 3)
Figure 80. Baud Rate Formulas (Modes 1 and 3)
0
1
Baud_Rate
BRL = 256
/ 16
a. IBRG Formula
=
-
6
6
(1-SPD
( 1 - S P D )
2
2
To serial
reception Port
SMOD1
SMOD1
)
32 (256 -BRL)
32 Baud_Rate
F
F
CK_SI
CK_SI
CLOCK
CLOCK
IBRG
T1
BDRCON.3
TBCK
0
1
Baud_Rate
TH1 = 256
AT8xC5122/23
/ 16
b. T1 Formula
=
-
6 32 (256 -TH1)
192 Baud_Rate
2
2
To serial
transmission Port
SMOD1
SMOD1
F
F
CK_T1
CK_T1
133

Related parts for at83c5122