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 134 of 222
NXP Semiconductors
PN532/C1
Near Field Communication (NFC) controller
8.6.20.3 Commands overview
8.6.20.4 Idle command
The CIU is in idle mode. This command is also used to terminate the actual command.
8.6.20.5 Config command
To configure the automatic MIFARE Anticollision, FeliCa Polling and NFCID3, the data
used for these transactions have to be stored internally. All the following data have to be
written to the FIFO in this order:
SENS_RES (2 bytes): in order byte0, byte1
NFCID1 (3 Bytes): in order byte0, byte1, byte 2; the first NFCID1 byte if fixed to 08h
and the check byte is calculated automatically
SEL_RES (1 byte)
Polling response (2 bytes (shall be 01h, FEh)+ 6 bytes NFCID2 + 8 bytes Pad +
2 bytes system code)
NFCID3 (1 byte)
In total 25 bytes which are transferred into an internal buffer with the Config command.
The complete NFCID3 is 10 bytes long and consist of the 3 NFCID1 bytes, the 6 NFCID2
bytes and the NFCID3 byte listed above.
Table 167. Command overview
Command Command code Action
Idle 0000 No action; cancels current command execution.
Config 0001 Configures the CIU for FeliCa, MIFARE and NFCIP-1
communication.
Generate
RandomID
0010 Generates 10-byte random ID number
CalcCRC 0011 Activates the CRC co-processor or perform self-test.
Transmit 0100 Transmits data from the FIFO buffer.
NoCmdChange 0111 No command change. This command can be used to modify
different bits in the CIU_Command register without touching
the command. e.g. Power-down bit.
Receive 1000 Activates the receiver circuitry.
SelfTest 1001 Activates the self-test. Not described in this chapter.
Transceive 1100 If bit Initiator in the register CIU_Control is set to logic 1:
Transmits data from FIFO buffer to the antenna and
activates automatically the receiver after transmission is
finished.
If bit Initiator in the register CIU_Control is set to logic 0:
Receives data from antenna and activates automatically the
transmitter after reception.
AutoColl 1101 Handles FeliCa polling (Card operating mode only) and
MIFARE anticollision (Card operating mode only)
MFAuthent 1110 Performs the MIFARE Classic 1K or MIFARE Classic 4K
authentication in MIFARE Reader/Writer mode only.
Soft Reset 1111 Resets the CIU.