at89lp2052-20xi ATMEL Corporation, at89lp2052-20xi Datasheet - Page 62

no-image

at89lp2052-20xi

Manufacturer Part Number
at89lp2052-20xi
Description
At89lp2052 8-bit Microcontroller With 2/4-kbyte Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP2052-20XI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
23.4.5
62
AT89LP2052/LP4052
Load Code Page Buffer
Function:
Usage:
Figure 23-9. Load Page Buffer Sequence
Note:
• Loads 1 page (1 to 32 bytes) of data into the temporary page buffer but does not start
• Use for interruptible loads or loading non-contiguous bytes to a page.
• The byte address (offset in page) is initialized to bits [4:0] of the low address byte. One byte
• The Load Page Buffer command needs to be followed by a write command as the internal
• Clears Bit 3 of the status byte to signal that the buffer contains data.
1. Bring CS (P3.2) low.
2. Drive P1 to AAh and pulse XTAL1 high.
3. Drive P1 to 51h and pulse XTAL1 high.
4. Drive P1 to 00h and pulse XTAL1 high.
5. Drive P1 with bits [4:0] of address and pulse XTAL1 high.
6. To load data bytes, drive data on P1 and pulse XTAL1 high to load one byte and incre-
7. Bring CS high.
programming.
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.
buffer is not cleared until either the next write has completed or the programming session
ends.
XTAL1
ment 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
The waveform on this page is not to scale.
AAh
51h
00h
000bbbbb
DIN 0
DIN 1
DIN n
3547H–MICRO–5/07

Related parts for at89lp2052-20xi