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

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
12.2
3706A–MICRO–9/09
Symbol
PHS [2-0]
T2CM
[1-0]
T2OE
DCEN
Capture Mode
Function
CCA Phase Mode. PWM channels may be grouped by 2, 3 or 4 such that only one channel in a group produces a pulse
in any one period. The PHS[2-0] bits may only be written when the timer is not active, i.e. TR2 = 0.
PHS2
0
0
0
0
1
1
1
1
Timer 2 Count Mode.
T2CM1
0
0
1
1
Timer 2 Output Enable. When T2OE = 1 and C/T2 = 0, the T2 pin will toggle after every Timer 2 overflow.
Timer 2 Down Count Enable. When Timer 2 operates in Auto-Reload mode and EXEN2 = 1, setting DCEN = 1 will cause
Timer 2 to count up or down depending on the state of T2EX.
PHS1
0
0
1
1
0
0
1
1
T2CM0
0
1
0
1
In the Capture mode, Timer 2 is a fixed 16-bit timer or counter that counts up from MIN to MAX.
An overflow from MAX to MIN sets bit TF2 in T2CON. If EXEN2 = 1, a 1-to-0 transition at exter-
nal input T2EX also causes the current value in TH2 and TL2 to be captured into RCAP2H and
RCAP2L, respectively. In addition, the transition at T2EX causes bit EXF2 in T2CON to be set.
The EXF2 and TF2 bits can generate an interrupt. Capture mode is illustrated in
The Timer 2 overflow rate in Capture mode is given by the following equation:
PHS0
0
1
0
1
0
1
0
1
Count Mode
Standard Timer 2 (up count:
Clear on RCAP compare (up count:
Dual-slope with single update (up-down count:
Dual-slope with double update (up-down count:
Capture Mode:
Phase Mode
Disabled, all channels active
2-phase output on channels A & B
3-phase output on channels A, B & C
4-phase output on channels A, B, C & D
Dual 2-phase output on channels A & B and C & D
reserved
reserved
reserved
Time-out Period
BOTTOM
MIN
MAX
AT89LP6440 - Preliminary
TOP
=
)
MIN
------------------------------------------------------ -
Oscillator Frequency
)
MIN
TOP
TOP
65536
MIN
MIN
)
)
×
(
TPS
+
1
Figure
)
12-1.
61

Related parts for AT89LP6440-20PU