PN53x

From NFC Tools
Jump to: navigation, search

Contents

Overview

There are three branches of the NFC Controllers based on the PN53x chipset. They are all manufactured by NXP.

We encourage manufacturers to contact us for new PN53x based products so we can test and support them.

Example

PN532 chip on a ACS ACR122 board

An example of assembled chip on the internal board of the ACR122 NFC Reader. The PN532 is marked with a red circle. The PN53x chip has a set of registers and a firmware that can parse a simple instruction set. It is possible to control the chip using one of these options.

The registers are quite similar to the predecessor chip PN51x. By changing the registers you are able to activate advanced options (bit-rate, modulation impedance, fault tolerance, etc.).

The instructions in stead are completely new. With help of these instructions it is very easy to let the chip do standard NFC functionality for you (polling, anti-collision, initiator-mode, target-mode, MIFARE-commands). This is very convenient for software developers. They don't need to know much about embedded hardware before they can start building applications using this chip.

Connectivity

PN531 PN532 PN533
UART¹ YES YES NO
USB² YES NO YES
SPI YES YES NO
I²C YES YES NO
  1. High-Speed UART (up to 1 288 000 bauds)
  2. USB 2.0 Full-speed

Capabilities as initiator (reader)

PN531 PN532 PN533
ISO14443-A YES (106 kbps) YES (106 kbps) YES (106 kbps)
ISO14443-B NO YES (106 kbps) YES (106/212/424/847 kbps)
FeliCa YES (212/424 kbps) YES (212/424 kbps) YES (212/424 kbps)
Jewel/Topaz NO YES (106 kbps) YES (106 kbps)
D.E.P. YES YES YES

Capabilities as target (emulation)

PN531 PN532 PN533
ISO14443-3 YES (4 bytes UID¹) YES (4 bytes UID¹) YES (4 bytes UID¹)
ISO14443-4 YES (software) YES (hardware) YES (software)
ISO14443-B NO NO NO
FeliCa YES (212/424 kbps) YES (212/424 kbps) YES (212/424 kbps)
Jewel/Topaz NO NO NO
D.E.P. YES YES YES
  1. First byte of UID will be masked by 0x08 by the PN53x firmware as security countermeasure against real UID emulation.

Chip Instructions

The instruction set of the chip used to be proprietary. There are a lot documents available on the internet that reveal these commands. With help of the available information it was possible to construct this library. Now User Manuals are publicly available. libnfc provide most operations by just invoking the commands available in the PN53x instruction set. For some advanced features it changes a few register values. Currently only a small set of instructions are supported by libnfc, but it already provides a very powerful functionality.

Official resources:

Other resources:

Personal tools
Namespaces

Variants
Actions
Navigation
Documentation
Misc
Toolbox
Partners