AT89LP828-20AU Atmel, AT89LP828-20AU Datasheet - Page 55

MCU 8051 8K FLASH SPI 32TQFP

AT89LP828-20AU

Manufacturer Part Number
AT89LP828-20AU
Description
MCU 8051 8K FLASH SPI 32TQFP
Manufacturer
Atmel
Series
89LPr
Datasheet

Specifications of AT89LP828-20AU

Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
30
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
Processor Series
AT89x
Core
8051
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
2-Wire, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
30
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Development Tools By Supplier
AT89ISP
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
360
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
10 000
12.2
12.3
3654A–MICRO–8/09
Capture Mode
Auto-Reload Mode
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:
Figure 12-1. Timer 2 Diagram: Capture Mode
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. The overflow and reload values depend on the Timer 2 Count Mode bits, T2CM
T2MOD. A summary of the Auto-reload behaviors is listed in
Table 12-5.
T2EX PIN
T2CM
OSC
00
00
00
01
01
01
10
11
T2 PIN
1-0
Capture Mode:
Table
Summary of Auto-reload Modes
÷TPS
DCEN
TRANSITION
DETECTOR
12-4). Upon reset, the DCEN bit is set to 0 so that timer 2 will default to
X
X
0
1
1
0
1
1
C/T2 = 0
T2EX
C/T2 = 1
X
X
X
X
0
1
0
1
Time-out Period
EXEN2
Direction
Up-down
Up-down
Down
Down
Up
Up
Up
Up
TR2
CAPTURE
=
Behavior
BOTTOM
MAX
BOTTOM
MIN
TOP
MIN
------------------------------------------------------ -
Oscillator Frequency
MIN
MIN
RCAP2L
TOP
TOP
TOP
TOP
TL2
MIN
BOTTOM
65536
Table
EXF2
MAX
MAX
reload to MIN
underflow to TOP
overflow to MIN
RCAP2H
MIN
MIN
TH2
AT89LP428/828
12-5.
reload to BOTTOM
underflow to MAX
overflow to BOTTOM
and repeat
and repeat
OVERFLOW
×
(
TPS
TF2
+
1
Figure
)
INTERRUPT
TIMER 2
12-1.
1-0
55
in

Related parts for AT89LP828-20AU