NFC Reader Column:ISO14443 Introduction

NFC Reader Column:ISO14443 is a 4-part protocol with distinct layers: ISO14443-1 (physical characteristics), ISO14443-2 (RF power and signal interface), ISO14443-3 (initialization and anti-collision), and ISO14443-4 (transport protocol). ISO14443A and ISO14443B share the same structure, with sections specific to each type.

  • PCD (Proximity Coupling Device): Reader/writer.
  • PICC (Proximity Card): Tag.
  • SAK (Select Acknowledge)
  • UID (Unique Identifier)

Commands:

  • REQA/WUPA: Used by the PCD to check for the presence of a card (7-bit command code). WUPA responds to cards in IDLE or HALT states, while REQA responds only to cards in IDLE. Cards enter HALT state after receiving a HALT command.
图片
  • ANTICOLISION and SELECT: Used for anti-collision when multiple cards are detected.
    • Format: SEL (Selection code: 0x93 (Level 1), 0x95 (Level 2), 0x97 (Level 3)), NVB (Number of Valid Bits: indicates the number of transmitted bytes and bits), UID (Unique ID, length varies based on collision, 0-40 bits indicated by NVB).
    • Anti-collision iteratively polls UID bits to select a specific card.
  • HALT: Puts the card into a sleep state. No response is sent by the card. Includes a 2-byte CRC_A.
  • ATQA: Response to REQA or WUPA. Includes: Proprietary coding, UID size, and a collision bit (non-
  • zero indicates multiple cards).
图片
图片
  • SAK: Response to SELECT. Indicates UID completeness and ISO14443-4 support (bits 3 and 6).

PCD Detection Process:

图片
  1. PICC Detection: PCD sends REQA, PICC responds with ATQA (identifies ISO14443A).
  2. Anti-collision: Resolves multiple card detection (3 levels based on UID length).
  3. PICC Type Determination: PICC sends SAK, PCD parses to determine ISO14443-4 support.

Anti-Collision Flow:

  1. PCD sets SEL and NVB, then sends ANTICOLLISION (e.g., NVB=0x20 means 2 bytes: SEL and NVB).
  2. Bit collisions are checked. If collisions occur, PCD chooses 0 or 1 and re-sends ANTICOLLISION until no collisions remain.
  3. Once no collisions exist, PCD sends SELECT, and the PICC responds with SAK.

Anti-Collision Levels:

  • Level 1 (0x93): Required for all UIDs.
  • Level 2 (0x95): Needed for 7-byte UIDs.
  • Level 3 (0x97): Needed for 10-byte UIDs.

Multiple levels of ANTICOLLISION are required to obtain the full UID.

acr1251 nfc reader 02 1
Share your love
posterminal
posterminal