Skip to content
Andrea ZGuz edited this page May 29, 2023 · 7 revisions

Welcome to the ElectronicCats-PN7150 wiki!

                                                                   NXP PN7150 NFC device

When including Near Field Communication (NFC) into your application, you will typically do it through a dedicated integrated circuit such as the RC522 or PN532. The latest and most advanced NFC component is the NXP PN7150

Most of NFC is being standardized by the NFC Forum. Even if it is a non-profit organisation, the NFC-Forum standards are only free for members, and membership is expensive. So this Wiki is written to help you getting started with NFC.

The driver consists of 3 layers :

The application : Reader/Writer, Tag Emulation or Peer2Peer The NFC Controller Interface (NCI) The interface between the Device Host (DH) and the NCF Device Let's start from the bottom up :

The interface

You need to connect the PN7150 to the microcontroller running your application. Different NFC chips all offer different options, but for the PN7150 it's simple: it can only interface with I2C. So this part is about reading and writing data to and from the PN7150 through its I2C interface.

Next is

the NFC Controller Interface (NCI) In order to make things a bit more standardized, the NFC-Forum has defined the communication between your microcontroller and the NFC device. This means the messages you'll be sending/receiving over your I2C have been standardized, as well as the behaviour of the PN7150 is to some extent standardized. This part of the SW will help you compose correct messages, interprete received messages and understand the stateMachine behaviour of the PN7150