AT89LP51ED2-20MU Atmel, AT89LP51ED2-20MU Datasheet - Page 112

no-image

AT89LP51ED2-20MU

Manufacturer Part Number
AT89LP51ED2-20MU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP51ED2-20MU

Rohs
yes
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
64 KB
Data Ram Size
256 B
On-chip Adc
Yes
Operating Supply Voltage
2.4 V to 5.5 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
VQFN-44
Mounting Style
SMD/SMT
Data Rom Size
4 KB
Interface Type
2-Wire, SPI, UART
Number Of Programmable I/os
36
Number Of Timers
3
Processor Series
AT89x
Program Memory Type
Flash
Factory Pack Quantity
360
17.2.1
112
AT89LP51RD2/ED2/ID2 Preliminary
Using Timer 1 to Generate Baud Rates
Table 17-2.
Setting TB8 = 1 in Mode 0 enables Timer 1 as the baud rate generator. When Timer 1 is the
baud rate generator for Mode 0, the baud rates are determined by the Timer 1 overflow rate and
the value of SMOD1 according to the following equation:
The Timer 1 overflow rate normally determines the baud rates in Modes 1 and 3. When Timer 1
is the baud rate generator, the baud rates are determined by the Timer 1 overflow rate and the
value of SMOD1 according to the following equation:
The Timer 1 interrupt should be disabled in this application. The Timer itself can be configured
for either timer or counter operation in any of its 3 running modes. In the most typical applica-
tions, it is configured for timer operation in auto-reload mode (high nibble of TMOD = 0010B). In
this case, the baud rate is given by the following formula:
Table 17-3
(T2CON.4)
TCLK
0
1
0
1
X
X
0
1
X
lists commonly used baud rates and how they can be obtained from Timer 1.
UART Baud Rate Selection Table for Modes 1 and 3
(T2CON.5)
Mode 0 Baud Rate
Modes 1, 3
RCLK
Baud Rate
0
0
1
1
0
1
X
X
X
Modes 1, 3
Baud Rate
TB8 = 1
=
(BDRCON.3)
2
------------------- -
=
TBCK
SMOD1
32
2
------------------- -
0
0
0
0
1
1
0
0
1
=
SMOD1
32
2
------------------- -
SMOD1
×
4
System Frequency
------------------------------------------------- -
×
[
(BDRCON.2)
(Timer 1 Overflow Rate)
256
×
RBCK
(Timer 1 Overflow Rate)
0
0
0
0
0
0
1
1
1
(
TH1
)
]
Clock Source
×
UART Tx
Timer 1
Timer 2
Timer 1
Timer 2
Timer 1
Timer 2
-------------------- -
TPS
BRG
BRG
BRG
1
+
1
3714A–MICRO–7/11
Clock Source
UART Rx
Timer 1
Timer 1
Timer 2
Timer 2
Timer 1
Timer 2
BRG
BRG
BRG

Related parts for AT89LP51ED2-20MU