AT89C5122D-PSTUM Atmel, AT89C5122D-PSTUM Datasheet - Page 132

IC 8051 MCU FLASH 32K 64QFN

AT89C5122D-PSTUM

Manufacturer Part Number
AT89C5122D-PSTUM
Description
IC 8051 MCU FLASH 32K 64QFN
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C5122D-PSTUM

Core Processor
8051
Core Size
8-Bit
Speed
48MHz
Connectivity
SmartCard, SPI, UART/USART, USB
Peripherals
LED, POR, WDT
Number Of I /o
46
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-QFN
For Use With
AT89STK-10 - KIT EVAL APPL MASS STORAGEAT89STK-03 - KIT STARTER FOR MCU AT8XC5122/23
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Table 76. Internal Baud Rate Generator Value
Baud Rate Selection (Mode 2)
132
Baud Rate
Baud Rate
115200
115200
57600
38400
19200
57600
38400
19200
9600
4800
9600
4800
AT83R5122, AT8xC5122/23
SPD
SPD
1
1
1
1
1
1
1
1
1
1
1
1
SMOD1
SMOD1
F
F
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
1
1
1
= 12 MHz
= 4 MHz
BRL
BRL
254
252
249
243
249
243
236
217
230
204
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 80 the selection is done using SMOD1 bit in PCON register.
Figure 81 gives the baud rate calculation formula depending on the selection.
Figure 80. Baud Rate Generator Selection (Mode 2)
Figure 81. Baud Rate Formula (Mode 2)
For mode 0 for UART, thanks to the bit M0SRC located in BDRCON register (Table 82)
Baud_Rate =
CK_
SI
Error%
Error%
8.51
8.51
6.99
0.16
0.16
0.16
6.99
0.16
2.34
0.16
0.16
0.16
SPD
SPD
2
SMOD1
1
1
1
1
1
1
1
1
1
1
1
1
32
x2
SMOD1
SMOD1
F
F
CK_SI
F
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
1
1
1
= 16 MHz
SMOD1
= 8 MHz
PCON.7
1
0
BRL
BRL
252
247
243
230
204
152
247
239
230
204
152
48
Error%
Error%
8.51
3.55
0.16
0.16
0.16
0.16
3.55
2.12
0.16
0.16
0.16
0.16
/32
SPD
SPD
1
1
1
1
1
1
1
1
1
1
1
1
To Serial Port
SMOD1
SMOD1
F
F
CK_IDLE
CK_IDLE
1
1
1
1
1
1
1
1
1
1
1
1
= 9.6 MHz
= 24 MHz
BRL
BRL
4202F–SCR–07/2008
251
246
240
225
194
131
243
230
217
178
100
N/A
Error%
Error%
4.17
4.17
2.34
0.81
0.81
0.00
0.16
0.16
0.16
0.16
0.16
N/A

Related parts for AT89C5122D-PSTUM