AT89LP51RC2 Atmel Corporation, AT89LP51RC2 Datasheet - Page 173

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
22. Instruction Set Summary
3722A–MICRO–10/11
The AT89LP51RB2/RC2/IC2 is fully binary compatible with the 8051 instruction set. In Compati-
b i l i t y m o d e t h e A T 8 9 L P 5 1 R B 2 / R C 2 / I C 2 h a s i d e n t i c a l e x e c u t i o n t i m e w i t h
A T 8 9 C 5 1 R B 2 / R C 2 / I C 2 a n d o t h e r s t a n d a r d 8 0 5 1 s . T h e d i f f e r e n c e b e t w e e n t h e
AT89LP51RB2/RC2/IC2 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
poses of this table, a clock cycle is one 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 oscillator 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
AT89LP51RB2/RC2/IC2 Preliminary
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
Table
Fast Mode Cycle Count Formula
22-1. Note that for the pur-
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
173

Related parts for AT89LP51RC2