Datasheet

Table Of Contents
PN532_C1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2017. All rights reserved.
Product data sheet
COMPANY PUBLIC
Rev. 3.6 — 28 November 2017
115436 135 of 222
NXP Semiconductors
PN532/C1
Near Field Communication (NFC) controller
To read out this configuration (after it has been loaded), the command Config with an
empty FIFO buffer has to be started. In this case the 25 bytes are transferred from the
internal buffer to the FIFO.
The CIU has to be configured after each power up, before using the automatic
Anticollision/Polling function (AutoColl command). During a Hard-Power-Down
(RSTPD_N set to logic 0) this configuration remains unchanged.
This command terminates automatically when finished and the active command is Idle.
8.6.20.6 Generate RandomID command
This command generates a 10-byte random number stored in the internal 25 bytes buffer
and overwrites the 10 NFCID3 bytes. This random number might be used for fast
generation of all necessary ID bytes for the automatic Anticollision / Polling function.
Note: To configure the CIU, Config command has to be used first.
This command terminates automatically when finished and the active command is Idle
8.6.20.7 CalcCRC command
The content of the FIFO is transferred to the CRC co-processor and a CRC calculation is
started. The result is stored in the CRCResult register. The CRC calculation is not limited
to a dedicated number of bytes. The calculation is not stopped when the FIFO gets empty
during the data stream. The next byte written to the FIFO is added to the calculation.
The preset value of the CRC is defined by the CRCPreset bits of the register CIU_Mode,
and the chosen value is loaded to the CRC co-processor when the command is started.
This command has to be terminated by firmware by writing any command to the
CIU_Command register e.g. the Idle command.
If SelfTest in register CIU_AutoTest is set to logic 1, the CRC co-processor is in Self Test
mode and performs a digital self-test. The result of the self-test is written in the FIFO.
8.6.20.8 Transmit command
The content of the FIFO is transmitted immediately after starting the command. Before
transmitting FIFO content, all relevant register settings have to be set to transmit data in
the selected mode.
This command terminates automatically when the FIFO gets empty and the active
command is Idle. It can be terminated by any other command written to the
CIU_Command register.
8.6.20.9 NoCmdChange command
This command does not influence any ongoing command in the CIU_Command register.
It can be used to manipulate any bit except the command bits in the CIU_Command
register, e.g. the bits RcvOff or Power-down.