Skip to main content
Application NoteNxp

PN71xx Linux Software Stack Integration Guidelines

Integration guidelines for NXP PN7120 and PN7150 NFC controllers on GNU/Linux systems using the libnfc-nci software stack and I2C hardware interfaces.

View application note

Overview

This application note provides detailed instructions for integrating NXP PN7120 and PN7150 NFC controllers into generic GNU/Linux environments. It describes the libnfc-nci software stack architecture, comprising the core, hardware abstraction layer (HAL), and interface layer. The document outlines two primary methods for low-level hardware access: using the pn5xx_i2c kernel driver or a user-space alternative utilizing sysfs GPIO and I2C-dev interfaces. Key topics include driver installation, device tree configuration, NCI mapping, and support for features such as LLCP1.3, Peer-to-Peer (P2P) communication, NDEF message formatting, and Host Card Emulation (HCE).

Use Cases

  • Integrating NFC functionality into embedded Linux systems
  • Configuring I2C communication for NXP NFC controllers
  • Implementing Peer-to-Peer data transfer and NDEF formatting
  • Developing Linux-based IoT gateways with NFC support
  • Setting up Host Card Emulation (HCE) on generic Linux platforms

Topics

NFC
Linux
Libnfc-nci
PN7120
PN7150
I2C
Kernel Driver
NCI
HCE
NDEF
LLCP
PN5xx

Referenced Parts

PN544

NXP Semiconductors

This driver is compatible with a large range of NXP’s NFC Controllers (e.g. PN544).

PN547

NXP Semiconductors

pn547: pn547@28 { compatible = "nxp,pn547";

PN7120

NXP Semiconductors

This note describes how to add support for a PN7120 or PN7150 NFC Controller

PN7150

NXP Semiconductors

Adding support for PN7150 NFCC IC

PN548

NXP Semiconductors

libnfc-nxp-pn548.conf(relates to pn7150)

NFCLinux/nxp-pn5xx

NXP

http://www.github.com/NXPNFCLinux/nxp-pn5xx .

NFCLinux/nxp-pn5xx.git

NXP

$ git clone https://github.com/NXPNFCLinux/nxp-pn5xx.git

PN5XX

NXP

< > NXP PN5XX based driver

PN71xx Linux Software Stack Integration Guidelines | Design Resources