AT83EC5123 ATMEL Corporation, AT83EC5123 Datasheet - Page 96

no-image

AT83EC5123

Manufacturer Part Number
AT83EC5123
Description
(AT8xx512x) Smart Card Reader ICs
Manufacturer
ATMEL Corporation
Datasheet
Table 71. Internal Baud Rate Generator Value
Notes:
Baud Rate Selection (Mode 2)
96
Baud Rate
Baud Rate
115200
115200
57600
38400
19200
57600
38400
19200
9600
4800
9600
4800
1. These frequencies are achieved in X1 mode,
2. These frequencies are achieved in X2 mode,
AT8xC5122/23
SPD
SPD
1
1
1
1
1
1
1
1
1
-
-
-
F
SMOD1
SMOD1
F
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
-
-
-
= 12 MHz
= 6 MHz
BRL
BRL
246
236
217
178
243
236
217
178
100
In mode 2, the baud rate can only be programmed to two fixed values: 1/16 or 1/32 of
the peripheral clock frequency.
As shown in Figure 62 the selection is done using SMOD1 bit in PCON register.
Figure 63 gives the baud rate calculation formula depending on the selection.
Figure 62. Baud Rate Generator Selection (Mode 2)
Figure 63. Baud Rate Formula (Mode 2)
For mode 0 for UART, thanks to the bit SRC located in BDRCON register (Table 76)
-
-
-
(1)
(2)
Error%
Error%
2.34
2.34
0.16
0.16
0.16
2.34
0.16
0.16
0.16
-
-
-
CK_
SI
SPD
SPD
F
F
1
1
1
1
1
1
1
1
1
1
1
-
CK_IDLE
CK_IDLE
SMOD1
F
SMOD1
= F
= F
F
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
1
1
-
OSC
OSC
Baud_Rate =
.
= 16 MHz
= 8 MHz
/ 2
2.
BRL
BRL
247
243
230
204
152
247
239
230
204
152
48
-
(1)
(2)
SMOD1
PCON.7
2
SMOD1
Error%
Error%
0
1
3.55
0.16
0.16
0.16
0.16
3.55
2.12
0.16
0.16
0.16
0.16
-
32
F
CK_SI
SPD
SPD
³ 16
1
1
1
1
1
1
1
1
1
1
1
-
F
F
SMOD1
SMOD1
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
1
0
-
To Serial Port
= 10 MHz
= 20 MHz
BRL
BRL
245
240
223
191
126
245
234
223
191
126
126
-
4202B–SCR–07/03
(1)
(2)
Error%
Error%
1.36
1.73
1.36
0.16
0.16
1.36
1.36
1.36
0.16
0.16
0.16
-

Related parts for AT83EC5123