ProductsMicrocontrollersSupportMicrocontrollers Design Examples

MIFARE RFID card reader design example

Description
NXP Semiconductors is the world leader in MIFARE contactless smartcard technology. The software below is an example implementation of a contactless MIFARE reader with the Keil MCB2140 evaluation board featuring the LPC2148 Microcontroller and a connection to the NXP MFCR5xx chip and an antenna.
The code, while written for the LPC2148, will work with any member of the LPC213x, LPC214x, LPC23xx, or LPC24xx series with little-to-no modifications.
The example code/project for the LPC2148 uses our Basic Function Library (for NXP's MFRC500 and MFRC53x tranceiver ICs) to read ISO14443A part IV compliant contactless cards and is provided "as is" for reference only. Please see the End User Licensing Agreement for terms and conditions.
Products
The following microcontrollers are compatible with the MIFARE RFID card reader design example:

MCUs

Click for datasheet. Also, see datasheet disclaimer.
, , indicate product status. Click or for more or less detail.
 LPC2131 Microcontroller with 32KB ISP/IAP flash, 10-bit ADC, DAC
 LPC2132 Microcontroller with 64KB ISP/IAP flash, 10-bit ADC, DAC
 LPC2134 Microcontroller with 128KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2136 Microcontroller with 256KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2138 Microcontroller with 512KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2141 Microcontroller with USB 2.0 full-speed device, 32KB ISP/IAP flash, 10-bit ADC
 LPC2142 Microcontroller with USB 2.0 full-speed device, 64KB ISP/IAP flash, 10-bit ADC, DAC
 LPC2144 Microcontroller with USB 2.0 full-speed device, 128KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2146 Microcontroller with USB 2.0 full-speed device, 256KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2148 Microcontroller with USB 2.0 full-speed device, 512KB ISP/IAP flash, 2x10-bit ADC, DAC
 LPC2364 Microcontroller with 128KB flash, USB 2.0, 10/100 ethernet, I2S, real-time emulation, dual AHB bus architecture
 LPC2366 Microcontroller with 256KB flash, USB 2.0, 10/100 ethernet, I2S, real-time emulation, dual AHB bus architecture
 LPC2368 Microcontroller with 512KB flash, USB 2.0, 10/100 ethernet, SD/MMC, I2S, real-time emulation, dual AHB bus architecture
 LPC2378 Microcontroller with 512KB flash, USB 2.0, 10/100 ethernet, SD/MMC, I2S, real-time emulation, dual AHB bus architecture
 LPC2387 ARM7TDMI-S microcontroller with 512KB flash, dual AHB bus architecture, USB full-speed device/host/OTG, 10/100 Ethernet, ISP/IAP, CAN, 10-bit ADC/DAC
 LPC2388 Microcontroller with 512KB flash, external memory interface, dual AHB bus architecture, USB full-speed device/host/OTG, 10/100 ethernet, ISP/IAP, CAN, and 10-bit ADC/DAC
 LPC2458 Microcontroller with 512kB flash, USB 2.0 device/host/OTG, 10/100 ethernet, SD/MMC, I2S, CAN, ISP/IAP, external memory interface
 LPC2460 Flashless microcontroller with dual AHB bus architecture, USB 2.0 device/host/OTG, 10/100 ethernet, CAN, SD/MMC, I2S, real-time emulation, external memory interface
 LPC2468 Microcontroller with dual AHB bus architecture, 512KB flash, USB 2.0 device/host/OTG, 10/100 ethernet, SD/MMC, I2S, real-time emulation, external memory interface
 LPC2470 ROMless microcontroller with dual AHB bus architecture, external memory interface, LCD STN/TFT controller, USB 2.0 device/host/OTG, 10/100 ethernet, SD/MMC, I2S, real-time emulation
 LPC2478 Microcontroller with dual AHB accelerator architecture, 512KB flash, external memory interface, LCD STN/TFT controller, USB 2.0 device/host/OTG, 10/100 ethernet, SD/MMC, I2S, real-time emulation

MIFARE Reader ICs

Demonstration and Evaluation Board

More Information

End User License Agreement

Note: The EULA contains important license terms and contains the password to decrypt the example code below.

Example Code

Note: The example code above is encrypted and requires a password to access.

Disclaimer

This design example shows possible hardware and software techniques used to implement the design. It is imperative that the viewer use sound engineering judgment in determining the fitness of this design example for any particular application. This design example may include information from 3rd parties and/or information which may require further licensing or otherwise. Additional hardware or software design may be required. NXP Semiconductors does not support or warrant this information for any purpose other than an informational design example.
Standard ICs quick find
Microcontrollers sections
See also