AT89LP6440-20PU Atmel, AT89LP6440-20PU Datasheet - Page 67

MCU 8051 64K FLASH ISP 40PDIP

AT89LP6440-20PU

Manufacturer Part Number
AT89LP6440-20PU
Description
MCU 8051 64K FLASH ISP 40PDIP
Manufacturer
Atmel
Series
89LPr
Datasheet

Specifications of AT89LP6440-20PU

Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
38
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
8K x 8
Ram Size
4.25K x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Figure 12-8. Timer 2 in Baud Rate Generator Mode
12.5
3706A–MICRO–9/09
Frequency Generator (Programmable Clock Out)
T2EX PIN
OSC
T2 PIN
erator, T2EX can be used as an extra external interrupt. Also note that the Baud Rate and
Frequency Generator modes may be used simultaneously.
Timer 2 can generate a 50% duty cycle clock on T2 (P1.0), as shown in
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 oscillator frequency and the reload value of Timer 2
capture registers (RCAP2H, RCAP2L), as shown in the following equations.
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.
÷TPS
TRANSITION
DETECTOR
T2CM = 00B
T2CM = 01B
C/T2 = 0
C/T2 = 1
EXEN2
TR2
Clock Out Frequency
Clock Out Frequency
RCAP2L
TL2
EXF2
RCAP2H
TH2
=
=
AT89LP6440 - Preliminary
------------------------------------------------------------------------------------------- -
2
------------------------------------------------------------------------------ -
2
×
×
[
[
65536
Oscillator Frequency
(
INTERRUPT
RCAP2H,RCAP2L
TIMER 2
Oscillator Frequency
÷
2
"1"
"1"
TIMER 1 OVERFLOW
(
RCAP2H,RCAP2L
"0"
"0"
"0"
"1"
)
+
÷
SMOD1
RCLK
TCLK
÷
1
16
16
]
Figure
×
)
-------------------- -
TPS
]
CLOCK
CLOCK
×
Rx
Tx
1
-------------------- -
TPS
+
12-9. This pin,
1
1
+
1
67

Related parts for AT89LP6440-20PU