AT89LP51 Atmel Corporation, AT89LP51 Datasheet - Page 10

no-image

AT89LP51

Manufacturer Part Number
AT89LP51
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP51

Flash (kbytes)
4 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
36
Uart
1
Sram (kbytes)
0.25
Eeprom (bytes)
256
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 5.5
Timers
3
Isp
SPI
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51-20JU
Manufacturer:
Atmel
Quantity:
44
Part Number:
AT89LP51-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51-20PU
Manufacturer:
TI
Quantity:
183
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RD2-20AAU
Manufacturer:
INFINEON
Quantity:
450
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
10
AT89LP51/52
Interrupt Handling
Serial Port
I/O Ports
Security
Programming
With the addition of the IPH register, the AT89LP51/52 provides four levels of interrupt priority
for greater flexibility in handling multiple interrupts. Also, Fast mode allows for faster interrupt
response due to the shorter instruction execution times.
The timer prescaler increases the range of achievable baud rates when using Timer 1 to gener-
ate the baud rate in UART Modes 1 or 3, including an increase in the maximum baud rate
available in Compatibility mode. Additional features include automatic address recognition and
framing error detection.
The shift register mode (Mode 0) has been enhanced with more control of the polarity, phase
and frequency of the clock and full-duplex operation. This allows emulation of master serial
pheriperal (SPI) and two-wire (TWI) interfaces.
The P0, P1, P2 and P3 I/O ports of the AT89LP51/52 may be configured in four different modes.
The default setting depends on the Tristate-Port User Fuse (See
When the fuse is set all the I/O ports revert to input-only (tristated) mode at power-up or reset.
When the fuse is not active, ports P1, P2 and P3 start in quasi-bidirectional mode and P0 starts
in open-drain mode. P4 always operates in quasi-bidirectional mode. P0 can be configured to
have internal pull-ups by placing it in quasi-bidirectional or output modes. This can reduce sys-
tem cost by removing the need for external pull-ups on Port 0.
The P4.4–P4.7 pins are additional I/Os that replace the normally dedicated ALE, PSEN, XTAL1
and XTAL2 pins of the AT89S51/52. These pins can be used as additional I/Os depending on
the configuration of the clock and external memory.
The AT89LP51/52 does not support the extenal access pin (EA). Therefore it is not possible to
execute from external program memory in address range 0000H–1FFFH. When the third Lockbit
is enabled (Lock Mode 4) external program execution is disabled for all addresses above
1FFFH. This differs from AT89S51/52 where Lock Mode 4 prevents EA from being sampled low,
but may still allow external execution at addresses outside the 8K internal space.
The AT89LP51/52 supports a richer command set for In-System Programming (ISP). Existing
AT89S51/52 programmers should be able to program the AT89LP51/52 in byte mode. In page
mode the AT89LP51/52 only supports programming of a half-page of 64 bytes and therefore
requires an extra address byte as compared to AT89S51/52. Furthermore the device signature
is located at addresses 0000H, 0001H and 0003H instead of 0000H, 0100H and 0200H.
Table 2-3.
Feature
Instruction Fetch in System Clocks
Instruction Execution Time in System Clocks
Default System Clock Divisor
Default Timer Prescaler Divisor
Compatibility Mode versus Fast Mode Summary
6, 12, 18 or 24
Compatibility
3
2
6
Section 17.7 on page
1, 2, 3, 4 or 5
3709D–MICRO–12/11
Fast
1
1
1
86).

Related parts for AT89LP51