English
Language : 

CLRC632 Datasheet, PDF (130/163 Pages) NXP Semiconductors – Multiple Protocol Contactless Reader IC
Philips Semiconductors
Multiple Protocol Contactless Reader IC
Product Specification Rev. 3.0; May 2003
CL RC632
18.6 Commands to Access the E²PROM
18.6.1 WRITEE2 COMMAND 01HEX
18.6.1.1 Overview
Command
WriteE2
Codehex
Action
01
Get data from FIFO buffer and write it to the E²PROM
Arguments and
Data passed via
FIFO
Start Address LSB
Start Address MSB
Data Byte Stream
Returned
Data via
FIFO
-
The WriteE2-Command interprets the first two bytes in the FIFO buffer as E²PROM starting byte-address.
Any further bytes are interpreted as data bytes and are programmed into the E²PROM, starting from the
given E²PROM starting byte-address. This command does not return any data.
The WriteE2-Command can only be started by the µ-Processor. It will not stop automatically but has to be
stopped explicitly by the µ-Processor by issuing the Idle-Command.
18.6.1.2 Programming Process
One byte up to 16 byte can be programmed into the EEPROM in one programming cycle. The time needed
will be in any case about 5.8ms.
The state machine copies all data bytes prepared in the FIFO buffer to the E²PROM input buffer. The internal
E²PROM input buffer is 16 byte long, which is equal the block size of the E²PROM. A programming cycle is
started either if the last position of the E²PROM input buffer is written or if the last byte of the FIFO buffer has
been fetched.
As long as there are unprocessed bytes in the FIFO buffer or the E²PROM programming cycle still is in
progress, the flag E2Ready is 0. If all data from the FIFO buffer are programmed into the E²PROM, the flag
E2Ready is set to1. Together with the rising edge of E2Ready the interrupt request flag TxIRq indicates a 1.
This may be used to generate an interrupt when programming of all data is finished.
After the E2Ready bit is set to 1, the WriteE2-Command may be stopped by the µ-Processor by issuing the
Idle-Command.
Note: During the E2PROM programming indicated by E2Ready = 0 the WRITEE2 command cannot be
stopped by any other command.
130
Confidential