AT89LP52 Atmel Corporation, AT89LP52 Datasheet - Page 25

no-image

AT89LP52

Manufacturer Part Number
AT89LP52
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP52

Flash (kbytes)
8 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:
AT89LP52-20AU
Manufacturer:
Atmel
Quantity:
250
Part Number:
AT89LP52-20AU
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
AT89LP52-20AU
Quantity:
15 490
Part Number:
AT89LP52-20JU
Manufacturer:
Atmel
Quantity:
110
Part Number:
AT89LP52-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP52-20MU
Manufacturer:
Atmel
Quantity:
490
5. Enhanced CPU
5.1
3709D–MICRO–12/11
Fast Mode
The AT89LP51/52 uses an enhanced 8051 CPU that runs at 6 to 12 times the speed of standard
8051 devices (or 3 to 6 times the speed of X2 8051 devices). The increase in performance is
due to two factors. First, the CPU fetches one instruction byte from the code memory every clock
cycle. Second, the CPU uses a simple two-stage pipeline to fetch and execute instructions in
parallel. This basic pipelining concept allows the CPU to obtain up to 1 MIPS per MHz. The
AT89LP51/52 also has a Compatibility mode that preserves the 12-clock machine cycle of stan-
dard 8051s like the AT89S51/52.
Fast (Single-Cycle) mode must be enabled by clearing the Compatibility User Fuse. (See
Configuration Fuses” on page
clock cycle. The 8051 instruction set allows for instructions of variable length from 1 to 3 bytes.
In a single-clock-per-byte-fetch system this means each instruction takes at least as many
clocks as it has bytes to execute. The majority of instructions in the AT89LP51/52 follow this
rule: the instruction execution time in system clock cycles equals the number of bytes per
instruction, with a few exceptions. Branches and Calls require an additional cycle to compute the
target address and some other complex instructions require multiple cycles.
Summary” on page 75.
Example of Fast mode instructions are shown in
take three times as long to execute if they are fetched from external program memory.
Figure 5-1.
Instruction Execution Sequences in Fast Mode
for more detailed information on individual instructions.
(A) 1-byte, 1-cycle instruction, e.g. INC A
(B) 2-byte, 2-cycle instruction, e.g. ADD A, #data
(C) 1-byte, 2-cycle instruction, e.g. INC DPTR
(D) MOVX (1-byte, 4-cycle)
CLK
86.) In this mode one instruction byte is fetched every system
S1
S1
S1
S1
ACCESS EXTERNAL
ADDR
READ NEXT
OPCODE
READ OPERAND
S2
S2
S2
MEMORY
READ NEXT OPCODE
READ NEXT OPCODE
S3
Figure
DATA
S4
5-1. Note that Fast mode instructions
READ NEXT
OPCODE
AT89LP51/52
See “Instruction Set
“User
25

Related parts for AT89LP52