NXP AN11646, PN7120 NFC Quick Start Guide

AN11646
PN7120 NFC controller SBC kit quick start guide
Rev. 1.5 — 1 February 2021 Application note 319715 COMPANY PUBLIC
Document information
Information Content
Keywords OM5577, PN7120, Raspberry Pi, BeagleBone, NFC, P2P, Card Emulation,
Linux, Android
NFC controller SBC kit.
NXP Semiconductors
PN7120 NFC controller SBC kit quick start guide

1 Revision history

Revision history
Rev Date Description
1.5 20210201 Removed Windows IoT support
The format of this application note has been redesigned to comply with the new identity
guidelines of NXP Semiconductors
1.4 20190708 Updated Linux demo part with link to instructions
1.3 20160520 Adding details about Beaglebone startup
1.2 20151009 - Information about Win10 IoT demo added
- Section Section 7 updated
1.1 20150701 - Correction of a syntax error in a referenced link
- Explicitly point to the demo images
1.0 20150601 First release
AN11646
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 2 / 21
NXP Semiconductors

2 Introduction

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 product­based card.
AN11646
PN7120 NFC controller SBC kit quick start guide
Figure 1. PN7120 NFC Controller SBC Kit content
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 3 / 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.
AN11646
PN7120 NFC controller SBC kit quick start guide
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 4 / 21
NXP Semiconductors

3 Quick 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:
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 5 / 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]).
Refer to Section 5 for the following procedure.
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 6 / 21
NXP Semiconductors

4 Quick Startup on BeagleBone

4.1 Required items

• BeagleBone Black [2]
• MicroSD card of at least 4 Gb (8 Gb for Android)
• 5 V adapter or micro USB cable to power the BeagleBone
• USB Keyboard
• USB Mouse
• USB Hub to connect both Mouse and Keyboard to the BeagleBone
• HDMI cable to connect to a Monitor / TV
• Computer (running Windows, Linux or Mac OS X) for MicroSD card installation
• BeagleBone image file, downloaded from the OM5577/PN7120S demo kit webpage [6]
AN11646
PN7120 NFC controller SBC kit quick start guide

4.2 Hardware setup

First of all assemble the PN7120 NFC Controller Board with the BeagleBone Interface Board.
Figure 5. OM5577/PN7120S BeagleBone configuration
Then stacked together the boards with the BeagleBone.
AN11646 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
Application note Rev. 1.5 — 1 February 2021 COMPANY PUBLIC 319715 7 / 21
Loading...
+ 14 hidden pages