Application noteRev. 1.5 — 1 February 2021
COMPANY PUBLIC3197152 / 21
NXP Semiconductors
2Introduction
This document gives a description on how to get started with the PN7120 NFC-Controller
SBC Kit. This document provides a step by step guide to the installation procedure of
the hardware and the software. Finally it shows PN7120 NFC Controller functionalities
through demonstration application.
2.1 OM5577/PN7120S demo kit
OM5577/PN7120S kit is a high performance fully NFC-compliant expansion board for
both Raspberry Pi (refer to [1] for more details) and BeagleBone (refer to [2] for more
details). It meets compliance with Reader mode, P2P mode and Card emulation mode
standards. The board features an integrated high performance RF antenna to insure high
interoperability level with NFC devices.
The kit is composed of 3 printed circuit boards and a MIFARE Ultralight EV1 productbased card.
Application noteRev. 1.5 — 1 February 2021
COMPANY PUBLIC3197153 / 21
NXP Semiconductors
2.2 Linux driver support
PN7120 NFC Controller is supported under GNU/Linux system using the NXP Linux
libnfc-nci software stack (for more details, refer to AN11697 available on PN7120 Product
Web Page [5]). The Raspberry Pi and BeagleBone Linux demo images include the
complete stack (Kernel mode driver, User mode library and demo application) allowing to
demonstrate the NFC functionalities offered by the PN7120.
2.3 Android driver support
PN7120 NFC Controller is supported from the official Android Open Source Project (refer
to [7] for more details) with the addition of dedicated patches available through PN7120
Product Web Page [5] (refer to AN11690).
The BeagleBone Black demo image is based on this concept.
Application noteRev. 1.5 — 1 February 2021
COMPANY PUBLIC3197154 / 21
NXP Semiconductors
3Quick Startup on Raspberry Pi
3.1 Required items
• Raspberry Pi [1]
• Compatible SD or MicroSD card (depending on the Raspberry Pi model) of at least 4
Gb memory size [3]
• Micro USB power supply (5 V / 1A) [4]
• USB Keyboard
• USB Mouse
• HDMI cable to connect to a Monitor / TV
• Computer (running Windows, Linux or Mac OS X) for SD/MicroSD card installation
3.2 Hardware setup
AN11646
PN7120 NFC controller SBC kit quick start guide
First of all assemble the PN7120 NFC Controller Board with the Raspberry Pi Interface
Board.
Figure 2. OM5577/PN7120S Raspberry Pi configuration
Then stacked together the boards with the Raspberry Pi according to below guidelines.
3.2.1 Raspberry Pi A/B (old models)
On the old models, the Raspberry Pi Interface Board connector fit perfectly the
Raspberry Pi one. Assemble the boards as shown in figure below, removing first the 4
white plastic spacers:
Application noteRev. 1.5 — 1 February 2021
COMPANY PUBLIC3197155 / 21
NXP Semiconductors
Figure 3. OM5577/PN7120S and Raspberry Pi B model stacked together
3.2.2 Raspberry Pi A+/B+ and Raspberry Pi 2 (new models)
The Raspberry Pi new models have a 40-pin connector allowing to connect an expansion
board. The Raspberry Pi Interface Board only makes use of the first 26 ones for
compatibility reason with the previous Raspberry Pi models. Assemble the boards as
shown in figure below:
AN11646
PN7120 NFC controller SBC kit quick start guide
Figure 4. OM5577/PN7120S and Raspberry Pi B+ model stacked together
3.3 Linux NFC demo application
3.3.1 Setup
Guidelines to set up this demonstration are provided here https://community.nxp.com/t5/
NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034. Just
follow the step-by-step procedure to install the demo from Raspbian distribution.
3.3.2 Application details
The demo application is part of the Linux libnfc-nci stack available on public GitHub
repository https://github.com/NXPNFCLinux/linux_libnfc-nci. The related source code can
then be found there (more details in document AN11697 [7]).