AT89LP51RC2 Atmel Corporation, AT89LP51RC2 Datasheet - Page 9

no-image

AT89LP51RC2

Manufacturer Part Number
AT89LP51RC2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51RC2

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
1.375
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51RC2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RC2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RC2-20JU
Manufacturer:
Atmel
Quantity:
10 000
2.3
2.3.1
2.3.2
2.3.3
3722AS–MICRO–10/11
Comparison to the Atmel AT89C51RB2/RC2/IC2
Instruction Execution
System Clock
Reset
The Atmel
are fully binary compatible with the 8051 instruction set. The AT89LP51RB2/RC2/IC2 has two
modes of operations, Compatibility mode and Fast mode. In Compatibility mode the instruction
timing, peripheral behavior, SFR addresses, bit assignments and pin functions are identical to
the existing Atmel AT89C51RB2/RC2/IC2 product. Additional enhancements are transparent to
the user and can be used if desired. Fast mode allows greater performance, but with some dif-
ferences in behavior. The major enhancements from the AT89C51RB2/RC2/IC2 are outlined in
the following paragraphs and may be useful to users migrating to the AT89LP51RB2/RC2/IC2
from older devices. A summary of the differences between Compatibility and Fast modes is
g i v e n i n
AT89C51RB2/RC2/IC2 to AT89LP51RB2/RC2/IC2.”
In Compatibility mode the Atmel
cycle of the standard 8051 where instruction bytes are fetched every three system clock cycles.
Execution times in this mode are identical to the Atmel AT89C51RB2/RC2/IC2. For greater per-
formance the user can enable Fast mode by disabling the Compatibility fuse. In Fast mode the
CPU fetches one code byte from memory every clock cycle instead of every three clock cycles.
This greatly increases the throughput of the CPU. Each standard instruction executes in only
one to four clock cycles. See datasheet for more details. Any software delay loops or instruction-
based timing operations may need to be retuned to achieve the desired results in Fast mode.
The system clock source is not limited to a crystal or external clock. The system clock source is
selectable between the crystal oscillator, an externally driven clock and an internal 8.0MHz RC
oscillator for AT89LP51RB2/RC2 and clock source A of AT89LP51IC2. Clock source B of
AT89LP51IC2 is not limited to a 32 kHz crystal. The clock source B is selectable between the 32
kHz crystal oscillator, an externally driven clock and an internal 8.0MHz RC oscillator. Unlike
AT89C51IC2, the X2 and CKRL features will also affect the OSCB source.
By default in Compatibility mode the system clock frequency is divided by 2 from the externally
supplied XTAL1 frequency for compatibility with standard 8051s (12 clocks per machine cycle).
The System Clock Divider can scale the system clock versus the oscillator source. The divide-
by-2 can be disabled to operate in X2 mode (6 clocks per machine cycle) or the clock may be
further divided to reduce the operating frequency. In Fast mode the clock divider defaults to
divide by 1.
The RST pin of the AT89LP51RB2/RC2/IC2 has selectable polarity using the POL pin (formerly
EA). When POL is high the RST pin is active high with a pull-down resistor and when POL is low
the RST pin is active low with a pull-up resistor. For existing AT89C51RB2/RC2/IC2 sockets
where EA is tied to VDD, replacing AT89C51RB2/RC2 with AT89LP51RB2/RC2/IC2 will main-
tain the active high reset. Note that forcing external execution by tying EA low is not supported.
The AT89LP51RB2/RC2/IC2 includes an on-chip Power-On Reset and Brown-out Detector cir-
cuit that ensures that the device is reset from system power up. In most cases a RC startup
circuit is not required on the RST pin, reducing system cost, and the RST pin may be left uncon-
nected if a board-level reset is not present.
®
T a b l e 2 - 3 o n p a g e 1 1
AT89LP51RB2/RC2/IC2 is part of a family of devices with enhanced features that
AT89LP51RB2/RC2/IC2 Summary
®
AT89LP51RB2/RC2/IC2 CPU uses the six-state machine
. S e e a l s o t h e A p p l i c a t i o n n o t e “ M i g r a t i n g f r o m
9

Related parts for AT89LP51RC2