English
Language : 

SLRC400 Datasheet, PDF (66/130 Pages) NXP Semiconductors – I·CODE Reader IC
Philips Semiconductors
I•CODE Reader IC
Product Specification Rev. 2.0 November 2001
SL RC400
7 FIFO BUFFER
7.1 Overview
An 8x64 bit FIFO buffer is implemented in the SL RC400 acting as a parallel-to-parallel converter. It buffers
the input and output data stream between the µ-Processor and the internals of the SL RC400. Thus, it is
possible to handle data streams with lengths of up to 64 bytes without taking timing constraints into account.
7.2 Accessing the FIFO Buffer
7.2.1 ACCESS RULES
The FIFO-buffer input and output data bus is connected to the FIFOData Register. Writing to this register
stores one byte in the FIFO-buffer and increments the internal FIFO-buffer write-pointer. Reading from this
register shows the FIFO-buffer content stored at the FIFO-buffer read-pointer and increments the FIFO-
buffer read-pointer. The distance between the write- and read-pointer can be obtained by reading the
FIFOLength Register.
When the µ-Processor starts a command, the SL RC400 may, while the command is in progress, access the
FIFO-buffer according to that command. Physically only one FIFO-buffer is implemented, which can be used
in input- and output direction. Therefore the µ-Processor has to take care, not to access the FIFO-buffer in
an unintended way.
The following table gives an overview on FIFO access during command processing:
Active Command
StartUp
Idle
Transmit
Receive
Transceive
WriteE2
ReadE2
LoadConfig
CalcCRC
µ-Processor is allowed to
Write to FIFO Read from FIFO
Remark
-
-
-
-
ü
-
-
ü
ü
ü
µ-Processor has to know the actual state of the command
(transmitting or receiving)
ü
-
ü
ü
The µ-Processor has to prepare the arguments,
then only reading is allowed
ü
-
ü
-
Table 7-1: Allowed Access to the FIFO-Buffer
7.3 Controlling the FIFO-Buffer
Besides writing and reading the FIFO-buffer, the FIFO-buffer pointers may be reset by setting the bit
FlushFIFO. The consequence is, that FIFOLength becomes zero, FIFOOvfl is cleared, the actually stored
bytes are not accessible anymore and the FIFO-buffer can be filled with another 64 bytes again.
66
Preliminary