AT89LP51ED2 Atmel Corporation, AT89LP51ED2 Datasheet - Page 175
AT89LP51ED2
Manufacturer Part Number
AT89LP51ED2
Description
Manufacturer
Atmel Corporation
Specifications of AT89LP51ED2
Flash (kbytes)
64 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)
2.25
Eeprom (bytes)
4096
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
- Current page: 175 of 254
- Download datasheet (8Mb)
22. Instruction Set Summary
3714A–MICRO–7/11
The AT89LP51RD2/ED2/ID2 is fully binary compatible with the 8051 instruction set. In Compati-
bility mode the AT89LP51RD2/ED2/ID2 has identical execution time with AT89C51RD2/ED2
and other standard 8051s. The difference between the AT89LP51RD2/ED2/ID2 in Fast mode
and the standard 8051 is the number of cycles required to execute an instruction. Fast mode
instructions may take 1 to 5 clock cycles to complete. The execution times of most instructions
may be computed using
period of the output of the system clock divider. For Fast mode the divider defaults to 1, so the
clock cycle equals the oscillator period. For Compatibility mode the divider defaults to 2, so the
clock cycle is twice the oscillator period, or conversely the clock count is half the number of oscil-
lator periods.
Table 22-1.
Generic Instruction Types
Most arithmetic, logical, bit and transfer instructions
Branches and Calls
Single Byte Indirect (i.e. ADD A, @Ri, etc.)
RET, RETI
MOVC
MOVX
MUL
DIV
MAC
INC DPTR
Arithmetic
ADD A, Rn
ADD A, direct
ADD A, @Ri
ADD A, #data
ADDC A, Rn
ADDC A, direct
ADDC A, @Ri
ADDC A, #data
SUBB A, Rn
SUBB A, direct
SUBB A, @Ri
SUBB A, #data
INC Rn
INC direct
INC @Ri
INC A
Instruction Execution Times and Exceptions
Table
AT89LP51RD2/ED2/ID2 Preliminary
22-1. Note that for the purposes of this table, a clock cycle is one
Bytes
1
2
1
2
1
2
1
2
1
2
1
2
1
2
1
2
Compatibility
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
6
(1)
Clock Cycles
Fast Mode Cycle Count Formula
Fast
1
2
2
2
1
2
2
2
1
2
2
2
1
2
2
2
# bytes + 1
# bytes
4
2
4
3
2
4
9
2
(3)
Hex Code
28-2F
38-3F
98-9F
08-0F
26-27
36-37
96-97
06-07
25
24
35
34
95
94
05
04
175
Related parts for AT89LP51ED2
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-Bit Microcontroller with 4K Bytes Flash
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: