AT89LP51ED2-20AAU Atmel, AT89LP51ED2-20AAU Datasheet - Page 26

no-image

AT89LP51ED2-20AAU

Manufacturer Part Number
AT89LP51ED2-20AAU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP51ED2-20AAU

Rohs
yes
Core
8051
Processor Series
AT89x
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
LQFP-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
Program Memory Type
Flash
Factory Pack Quantity
160

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
3.6
26
Extended Stack
AT89LP51RD2/ED2/ID2 Preliminary
The AT89LP51RD2/ED2/ID2 provides an extended stack space for applications requiring addi-
tional stack memory. By default the stack is located in the 256-byte IDATA space of internal data
memory. The IDATA stack is referenced solely by the 8-bit Stack Pointer (SP: 81H). Setting the
XSTK bit in AUXR1 (see
the EDATA space for up to 2KB of stack memory. The extended stack is referenced by an 11-bit
pointer formed from SP and the three LSBs of the Extended Stack Pointer (SPX: EFH) as shown
in
overflow to the EDATA stack or vice versa. The stack and extended stack are mutually exclusive
and SPX is ignored when XTSK = 0. An application choosing to switch between stacks by tog-
gling XSTK must maintain separate copies of SP for use with each stack space. Interrupts
should be disabled while swapping copies of SP in such an application to prevent illegal stack
accesses.
All interrupt calls and PUSH, POP, ACALL, LCALL, RET and RETI instructions will incur a one
or two-cycle penalty while the extended stack is enabled, depending on the number of stack
access in each instruction. The extended stack may only exist within the internal EDATA space;
it cannot be placed in XDATA. The stack will continue to use EDATA even if EDATA is disabled
by setting EXRRAM = 1 or if EEPROM is mapped in the same address space with EEE = 1.
Figure 3-18. Stack Configurations
Figure
3-18. SP is shared between both stacks. Note that the standard IDATA stack will not
7
SP
Table
0
FFh
00h
5-6) enables the extended stack. The extended stack resides in
XSTK = 0
IDATA
(256)
2
SPX
0
7
SP
0
7FFh
00h
XSTK = 1
EDATA
(2K)
3714A–MICRO–7/11

Related parts for AT89LP51ED2-20AAU