AT89LP4052 Atmel Corporation, AT89LP4052 Datasheet - Page 64

no-image

AT89LP4052

Manufacturer Part Number
AT89LP4052
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP4052

Flash (kbytes)
4 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
15
Spi
1
Uart
1
Sram (kbytes)
0.25
Operating Voltage (vcc)
2.4 to 5.5
Timers
2
Isp
SPI
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP4052-16PI
Manufacturer:
ITT
Quantity:
10
Part Number:
AT89LP4052-16SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89LP4052-16XU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89LP4052-20SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89LP4052-20SU
Manufacturer:
ATMEL
Quantity:
3 100
Part Number:
AT89LP4052-20XI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
23.4.6
64
AT89LP2052/LP4052
Write Code Page
Function:
Usage:
Note:
Figure 23-10. Write Code Page Sequence
Note:
• Programs 1 page (1 to 32 bytes) of data into the Code Memory array.
• Page address determined by bits [11:5] of loaded address.
• The byte address (offset in page) is initialized to bits [4:0] of the low address byte. One byte
1. Bring CS (P3.2) low.
2. Drive P1 to AAh and pulse XTAL1 high.
3. Drive P1 to 50h and pulse XTAL1 high.
4. Drive P1 with bits [15:8] of address and pulse XTAL1 high.
5. Drive P1 with bits [7:0] of address and pulse XTAL1 high.
6. To write only previously loaded data, bring CS high before loading additional bytes. To
7. Bring CS high.
8. Wait 2 ms, monitor P3.1, or poll data/status.
RDY/BSY
of data is loaded from P1 for the current address by the positive edge of a XTAL1 pulse. The
internal address is incremented by one on the negative edge of the XTAL1 pulse. The
address will wrap around to the 1st byte of the page when incremented past 31, however
previously loaded bytes should not be re-loaded.
XTAL1
load data bytes, drive data on P1 and pulse XTAL1 high to load one byte and increment
to the next address. Repeat for additional bytes. Only 1-32 bytes may be programmed
at one time, including any bytes loaded by a previous load page buffer command. Bytes
should not be loaded more than once.
CS
P1
It is not possible to skip bytes while loading data during write. To load non-contiguous bytes in a
page, use the Load Page Buffer command.
The waveform on this page is not to scale.
AAh
50h
0000aaaa aaabbbbb
DIN 0
DIN 1
DIN n
3547J–MICRO–10/09

Related parts for AT89LP4052