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

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
14.5
96
Frequency Generator (Programmable Clock Out)
AT89LP51RD2/ED2/ID2 Preliminary
Figure 14-6. Timer 2 in Baud Rate Generator Mode
Timer 2 can generate a 50% duty cycle clock on T2 (P1.0). This pin, besides being a regular I/O
pin, has two alternate functions. It can be programmed to input the external clock for
Timer/Counter 2 or to toggle its output at every timer overflow. To configure the Timer/Counter 2
as a clock generator, bit C/T2 (T2CON.1) must be cleared and bit T2OE (T2MOD.1) must be
set. Bit TR2 (T2CON.2) starts and stops the timer. The clock-out frequency depends on the sys-
tem frequency and the reload value of Timer 2 capture registers (RCAP2H, RCAP2L), as shown
in the following equation.
In the frequency generator mode, Timer 2 roll-overs will not generate an interrupt. This behavior
is similar to when Timer 2 is used as a baud-rate generator. It is possible to use Timer 2 as a
baud-rate generator and a clock generator simultaneously. Note, however, that the baud-rate
and clock-out frequencies cannot be determined independently from one another since they
both use RCAP2H and RCAP2L.
Figure 14-7. Timer 2 in Clock-out Mode
T2EX PI N
T2 PI N
T2EX PIN
T2 PIN
CLK
TRANSITION
DETECT OR
SYS
Clock Out Frequency
C/T2 = 0
C/T2 = 1
CLK
TRANSITION
DETECTOR
SYS
EXEN2
TR2
=
------------------------------------------------------------------------------------------- -
2
C/T2
×
EXEN2
TR2
[
RCAP2L
65536
TL2
EXF2
RCAP2H
(
RCAP2H,RCAP2L
TH2
f
SYS
RCAP2L
TL2
÷2
EXF2
INTERR UPT
TIMER 2
RCAP2H
÷
TH2
2
"1"
"1"
TIMER 1 OVERFLOW
)
]
"0"
"0"
"0"
T2OE
INTERRUPT
TIMER 2
"1"
3714A–MICRO–7/11
÷
SMOD1
RCLK
TCLK
÷
16
16
CLOCK
CLOCK
Rx
Tx

Related parts for AT89LP51ED2-20MU