DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
498 of 571
NXP Semiconductors
UM10316
Chapter 28: LPC29xx Flash/EEPROM
3.11 EEPROM write data register
The EEPROM write data register is used to write data into the page register (write
operations).
Writing this register will start the write operation as side-effect. If the post-increment bit in
the command register is set, consecutive writes to this register can be done to write a
burst of data. The address will be incremented automatically according to the datasize of
the write operation.
If data is written to this register while a previous operation (read, write or an
erase/program on the same device) is still pending, the write command on the AHB is
stalled by de-asserting the ready signal until the previous operation is finished. To avoid
stalling of the system bus the interrupt status register can be used for polling the status of
pending operations.
3.12 EEPROM read data register
The EEPROM read data register is used to read data from memory.
If the post-increment bit in the command register is set, reading this register will start the
next read operation (from the incremented address location) as side-effect. In this case
consecutive reads from this register can be done to read a burst of data. The address will
be incremented automatically according to the datasize of the read operation.
If data is read from this register while the read operation is still pending the read command
on the AHB is stalled by de-asserting the ready signal until the pending operation is
finished. To avoid stalling of the system bus the interrupt status register can be used for
polling the status of pending operations.
Table 429. EEPROM write data register bit description (EEWDATA - address 0x2020 0088)
Bits
Access
Reset
value
Field name
Description
31:0
W
-
WDATA
Write data
In case of:
8-bit write operations: bits [7:0] must contain valid
write data.
16-bit write operations: bits [15:0] must contain valid
write data
32-bit write operations: bits [31:0] must contain valid
write data
Table 430. EEPROM read data register bit description (EERDATA - address 0x2020 008C)
Bits
Access
Reset
value
Field
name
Description
31:0
R
-
RDATA
Read data
In case of:
8-bit read operations: bits [7:0] contain read data, others are
zero
16-bit read operations: bits [15:0] contain read data, others
are zero
32-bit read operations: bits [31:0] contain read data