AT89LP52-20MU Atmel, AT89LP52-20MU Datasheet - Page 52

IC MCU 8051 8K FLASH SPI 44VQFN

AT89LP52-20MU

Manufacturer Part Number
AT89LP52-20MU
Description
IC MCU 8051 8K FLASH SPI 44VQFN
Manufacturer
Atmel
Series
89LPr
Datasheet

Specifications of AT89LP52-20MU

Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VFQFN Exposed Pad
Processor Series
AT89x
Core
8051
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
Serial
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
36
Number Of Timers
3
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP52-20MU
Manufacturer:
Atmel
Quantity:
490
12.2
Figure 12-1. Timer 2 Diagram: Capture Mode
12.3
12.3.1
52
Capture Mode
Auto-Reload Mode
AT89LP51/52 - Preliminary
Up Counter
T2EX PI N
OSC
T2 PI N
÷CDV
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:
Timer 2 can be programmed to count up or down when configured in its 16-bit auto-reload
mode. This feature is invoked by the DCEN (Down Counter Enable) bit located in the SFR
T2MOD (see
count up. When DCEN is set, Timer 2 can count up or down, depending on the value of the
T2EX pin. A summary of the Auto-Reload behaviors is listed in
Table 12-5.
Figure 12-2
counts up to MAX and then sets the TF2 bit upon overflow. The overflow also causes the timer
registers to be reloaded with BOTTOM, the 16-bit value in RCAP2H and RCAP2L. If EXEN2 = 1,
a 16-bit reload can be triggered either by an overflow or by a 1-to-0 transition at external input
T2EX. This transition also sets the EXF2 bit. Both the TF2 and EXF2 bits can generate an inter-
rupt. The Timer 2 overflow rate for this mode is given in the following equation:
DCEN
÷TPS
0
1
1
Auto-Reload Mode:
TRANSITION
DETECT OR
DCEN = 0
Capture Mode:
T2EX
shows Timer 2 automatically counting up when DCEN = 0. In this mode Timer 2
Table
Summary of Auto-Reload Modes
X
0
1
C/T2 = 0
C/T2 = 1
12-4). Upon reset, the DCEN bit is set to 0 so that timer 2 will default to
Direction
Down
EXEN2
Up
Up
TR2
CAPTURE
Time-out Period
Time-out Period
Behavior
BOTTOM
MAX
BOTTOM
BOTTOM
RCAP2L
TL2
MAX
MAX
=
EXF2
65536
------------------------------------------------------------------------------ -
=
RCAP2H
reload to BOTTOM
underflow to MAX
overflow to BOTTOM
TH2
------------------------------------------------- -
System Frequency
System Frequency
{
65536
O VERFLO W
RCAP2H RCAP2L
TF2
Table
,
12-5.
×
INTERR UPT
TIMER 2
(
TPS
}
+
3709B–MICRO–12/10
×
1
(
)
Figure
TPS
+
1
12-1.
)

Related parts for AT89LP52-20MU