
CLRC632_35
NXP B.V. 2009. All rights reserved.
Product data sheet
PUBLIC
Rev. 3.5 — 10 November 2009
073935
93 of 126
NXP Semiconductors
CLRC632
Multiple protocol contactless reader IC (MIFARE/I-CODE1)
11.4 EEPROM commands
11.4.1 WriteE2 command 01h
The WriteE2 command interprets the rst two bytes in the FIFO buffer as the EEPROM
start byte address. Any further bytes are interpreted as data bytes and are programmed
into the EEPROM, starting from the given EEPROM start byte address. This command
does not return any data.
The WriteE2 command can only be started by the microprocessor. It will not stop
automatically but has to be stopped explicitly by the microprocessor by issuing the Idle
command.
11.4.1.1
Programming process
One byte up to 16-byte can be programmed into the EEPROM during a single
programming cycle. The time needed is approximately 5.8 ms.
The state machine copies all the prepared data bytes to the FIFO buffer and then to the
EEPROM input buffer. The internal EEPROM input buffer is 16 bytes long which is equal
to the block size of the EEPROM. A programming cycle is started if the last position of the
EEPROM input buffer is written or if the last byte of the FIFO buffer has been read.
The E2Ready ag remains logic 0 when there are unprocessed bytes in the FIFO buffer or
the EEPROM programming cycle is still in progress. When all the data from the FIFO
buffer are programmed into the EEPROM, the E2Ready ag is set to logic 1. Together
with the rising edge of E2Ready the TxIRq interrupt request ag shows logic 1. This can
be used to generate an interrupt when programming of all data is nished.
Remark: During the E2PROM programming indicated by E2Ready = logic 0, the WriteE2
command cannot be stopped using any other command.
Once E2Ready = logic 1, the WriteE2 command can be stopped by the microprocessor by
sending the Idle command.
Table 149. WriteE2 command 01h
Command
Value
Action
FIFO
Arguments and
data
Returned
data
WriteE2
01h
get data from FIFO buffer and write it
to the EEPROM
start address LSB
-
start address MSB
-
data byte stream
-