[M480] Reading RFID Card by SPI Interface

Post Reply
chhsieh3
Posts: 250
Joined: 13 Mar 2020, 09:08

02 Dec 2021, 09:33

  • Application: This example code uses M480 SPI to communicate with the MFRC522 module to read the Unique Identification (UID) of RFID card.
  • BSP Version: M480 BSP CMSIS V3.03.000
  • Hardware: NuMaker-PFM-M487 V3.0, MFRC522 module, RFID card
This example code uses the M480 series microcontroller as the host controller to communicate with the MFRC522 module to read the UID of RFID card. The MFRC522 is one of NXP MIFARE series chips. It supports all variants of the MIFARE identification protocols. The MFRC522 is a highly integrated reader/writer IC for contactless communication at 13.56 MHz, and its internal transmitter is able to drive a reader/writer antenna designed to communicate with ISO/IEC 14443 Type A cards and transponders without additional active circuitry.

From the definition in ISO/IEC 14443, the MFRC522 and RFID card work as the Proximity Coupling Device (PCD) and Proximity Card (PICC), respectively. The communication protocol between PCD and PICC must be compliant with ISO/IEC 14443.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1129132546
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests