4-45
Features
Compatible with MCS-51™ Products
4K Bytes of Reprogrammable Flash Memory
Endurance: 1,000 Write/Erase Cycles
2.7V to 6V Operating Range
Fully Static Operation: 0 Hz to 12 MHz
Three-Level Program Memory Lock
128 x 8-Bit Internal RAM
32 Programmable I/O Lines
Two 16-Bit Timer/Counters
Six Interrupt Sources
Programmable Serial Channel
Low Power Idle and Power Down Modes
Description
The AT89LV51 is a low-voltage, high-performance CMOS 8-bit microcomputer with
4K bytes of Flash Programmable and Erasable Read Only Memory. The device is
manufactured using Atmel’s high density nonvolatile memory technology and is com-
patible with the industry standard MCS-51™ instruction set and pinout. The on-chip
Flash allows the program memory to be reprogrammed in-system or by a conven-
tional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash
on a monolithic chip, the Atmel AT89LV51 is a powerful microcomputer which pro-
vides a highly flexible and cost effective solution to many embedded control applica-
tions. The AT89LV51 operates at 2.7 volts up to 6.0 volts.
TQFP
23
1
INDEX
CORNER
34
P1.0
VCC
P1.1
P1.2
P1.4
P1.3
NC
42
43
40
41
6
5
4
44
3
2
26
25
28
27
24
18
19
20
21
22
P1.7
P1.6
P1.5
NC
7
8
9
10
11
12
13
14
15
16
17
29
30
39
38
37
36
35
33
32
31
NC
PSEN
XTAL1
GND
XTAL2
GND
P0.0 (AD0)
ALE/PROG
()P3.7RD
EA/VPP
()P3.6WR
(RXD) P3.0
P0.7 (AD7)
P2.6 (A14)
P0.6 (AD6)
P0.5 (AD5)
P0.4 (AD4)
P0.3 (AD3)
P0.2 (AD2)
P0.1 (AD1)
()P3.2INT0
(TXD) P3.1
(T1) P3.5
()P3.3INT1
(T0) P3.4
P2.7 (A15)
(A11) P2.3
(A12) P2.4
(A10) P2.2
(A9) P2.1
(A8) P2.0
RST
P2.5 (A13)
PDIP
P1.0
V
CC
P1.1
P0.0 (AD0)
P1.2
()P3.2INT0
ALE/PROG
()P3.7RD P2.3 (A11)
(TXD) P3.1
EA/VPP
()P3.6WR
P2.4 (A12)
(RXD) P3.0
P0.7 (AD7)
(T1) P3.5
P2.6 (A14)
RST
P0.6 (AD6)
P1.7
P0.5 (AD5)
P1.6
P0.4 (AD4)
P1.5
P0.3 (AD3)
P1.4
P0.2 (AD2)
P1.3
P0.1 (AD1)
()P3.3INT1
PSEN
XTAL2 P2.2 (A10)
(T0) P3.4
P2.7 (A15)
XTAL1 P2.1 (A9)
GND P2.0 (A8)
P2.5 (A13)
20
19
18
17
16
15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
21
22
23
24
25
26
40
39
38
37
36
35
34
33
32
31
30
29
28
27
PLCC
P1.0
VCC
P1.1
P0.0 (AD0)
P1.2
ALE/PROG
()P3.7RD
XTAL1
EA/VPP
()P3.6WR
GND
(RXD) P3.0
P0.7 (AD7)
P2.6 (A14)
P0.6 (AD6)
P0.5 (AD5)
P0.4 (AD4)
P0.3 (AD3)
P1.4
P0.2 (AD2)
P1.3
P0.1 (AD1)
PSEN
XTAL2
()P3.2INT0
(TXD) P3.1
(T1) P3.5
()P3.3INT1
(T0) P3.4
P2.7 (A15)
(A11) P2.3
(A12) P2.4
(A10) P2.2
(A9) P2.1
(A8) P2.0
NC
23
1
RST
P1.7
P1.6
P1.5
INDEX
CORNER
NC
NC
P2.5 (A13)
34
NC
42
43
40
41
6
5
444
3
2
26
25
28
27
18
19
20 24
21
22
7
8
9
10
11
12
13
14
15
16
17 29
30
39
38
37
36
35
33
32
31
8-Bit
Microcontroller
with 4K Bytes
Flash
AT89LV51
Not Recommended
for New Designs.
Use AT89LS51.
Pin Configurations
0303D-D–12/97
(continued)
Not
4-46
Block Diagram
Not
4-47
The AT89LV51 provides the following standard features:
4K bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-
bit timer/counters, a five vector two-level interrupt architec-
ture, a full duplex serial port, on-chip oscillator and clock
circuitry. In addition, the AT89LV51 is designed with static
logic for operation down to zero frequency and supports
two software selectable power saving modes. The Idle
Mode stops the CPU while allowing the RAM,
timer/counters, serial port and interrupt system to continue
functioning. The Power Down Mode saves the RAM con-
tents but freezes the oscillator disabling all other chip func-
tions until the next hardware reset.
Pin Description
V
CC
Supply voltage.
GND
Ground.
Port 0
Port 0 is an 8-bit open drain bidirectional I/O port. As an
output port each pin can sink eight TTL inputs. When 1s
are written to port 0 pins, the pins can be used as high-
impedance inputs.
Port 0 may also be configured to be the multiplexed low-
order address/data bus during accesses to external pro-
gram and data memory. In this mode P0 has internal pul-
lups.
Port 0 also receives the code bytes during Flash program-
ming, and outputs the code bytes during program verifica-
tion. External pullups are required during program verifica-
tion.
Port 1
Port 1 is an 8-bit bidirectional I/O port with internal pullups.
The Port 1 output buffers can sink/source four TTL inputs.
When 1s are written to Port 1 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs,
Port 1 pins that are externally being pulled low will source
current (I
IL
) because of the internal pullups.
Port 1 also receives the low-order address bytes during
Flash programming and verification.
Port 2
Port 2 is an 8-bit bidirectional I/O port with internal pullups.
The Port 2 output buffers can sink/source four TTL inputs.
When 1s are written to Port 2 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs,
Port 2 pins that are externally being pulled low will source
current (I
IL
) because of the internal pullups.
Port 2 emits the high-order address byte during fetches
from external program memory and during accesses to
external data memory that use 16-bit addresses (MOVX @
DPTR). In this application it uses strong internal pullups
when emitting 1s. During accesses to external data mem-
ory that use 8-bit addresses (MOVX @ RI), Port 2 emits the
contents of the P2 Special Function Register.
Port 2 also receives the high-order address bits and some
control signals during Flash programming and verification.
Port 3
Port 3 is an 8-bit bidirectional I/O port with internal pullups.
The Port 3 output buffers can sink/source four TTL inputs.
When 1s are written to Port 3 pins they are pulled high by
the internal pullups and can be used as inputs. As inputs,
Port 3 pins that are externally being pulled low will source
current (I
IL
) because of the pullups.
Port 3 also serves the functions of various special features
of the AT89LV51 as listed below:
Port 3 also receives some control signals for Flash pro-
gramming and verification.
RST
Reset input. A high on this pin for two machine cycles while
the oscillator is running resets the device.
ALE/PROG
Address Latch Enable output pulse for latching the low byte
of the address during accesses to external memory. This
pin is also the program pulse input (PROG
) during Flash
programming.
In normal operation ALE is emitted at a constant rate of 1/6
the oscillator frequency, and may be used for external tim-
ing or clocking purposes. Note, however, that one ALE
pulse is skipped during each access to external Data Mem-
ory.
PSEN
Program Store Enable is the read strobe to external pro-
gram memory.
When the AT89LV51 is executing code from external pro-
gram memory, PSEN
is activated twice each machine
cycle, except that two PSEN
activations are skipped during
each access to external data memory.
Port Pin Alternate Functions
P3.0 RXD (serial input port)
P3.1 TXD (serial output port)
P3.2 INT0
(external interrupt 0)
P3.3 INT1 (external interrupt 1)
P3.4 T0 (timer 0 external input)
P3.5 T1 (timer 1 external input)
P3.6 WR
(external data memory write strobe)
P3.7 RD
(external data memory read strobe)

AT89LV51-12AI

Mfr. #:
Manufacturer:
Description:
IC MCU 8BIT 4KB FLASH 44TQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union