Mc1322 series simple media access
controller demonstration
applications (90 pages)
Summary of Contents for NXP Semiconductors PN7120
Page 1
Application note 319713 COMPANY PUBLIC Document information Info Content Keywords OM5577, PN7120, Raspberry Pi, BeagleBone, NFC, P2P, Card Emulation, Linux, Android, Win10 IoT Abstract This document gives a description on how to get started with the PN7120 NFC Controller SBC Kit.
Page 2
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide Revision history Date Description 20160520 Adding details about Beaglebone startup 20151009 - Information about Win10 IoT demo added - Section 6.3 Licenses updated 20150701 - Correction of a syntax error in a referenced link...
PN7120 NFC Controller SBC Kit Quick Start Guide 1. 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.
1.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.
• Computer (running Windows, Linux or Mac OS X) for SD/MicroSD card installation • Raspberry Pi demo image file, downloaded from the OM5577/PN7120S demo kit webpage [6] 2.2 Hardware setup First of all assemble the PN7120 NFC Controller Board with the Raspberry Pi Interface Board. Fig 2. OM5577/PN7120S Raspberry Pi configuration Then stacked together the boards with the Raspberry Pi according to below guidelines.
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 2.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: Fig 3.
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide - On Linux: www.nxp.com/redirect/raspberrypi.org/documentation/installation/installing- images/linux.md www.nxp.com/redirect/learn.adafruit.com/beaglebone-black- - On MAC OS X: installing-operating-systems/mac-os-x.md 2.4 Starting NFC demo 2.4.1 Linux image Insert the SD or MicroSD card in the Raspberry Pi. Connect HDMI Display, mouse and keyboard.
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 2.4.2 Win10 IoT image Insert the SD or MicroSD card in the Raspberry Pi 2, connect HDMI Display, and then power-up the Raspberry Pi by plugging the USB power cable.
• Computer (running Windows, Linux or Mac OS X) for MicroSD card installation • BeagleBone image file, downloaded from the OM5577/PN7120S demo kit webpage [6] 3.2 Hardware setup First of all assemble the PN7120 NFC Controller Board with the BeagleBone Interface Board. Fig 7.
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide Fig 8. OM5577/PN7120S and BeagleBone Black stacked together 3.3 Software setup Prepare a MicroSD card, with the downloaded BeagleBone demo image (http://www.nxp.com/documents/software/OM5577_BBB_Linux.html http://www.nxp.com/documents/software/OM5577_BBB_Kitkat.html), following the installation guidelines. First extract the “.img” file from the archive, then flash it on the microSD card according to below guidelines.
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 3.3.2 On Linux Insert the MicroSD card into your computer and determine the device node assigned to it (ignore the device number; e.g. /dev/sdb, not sdb1): $ sudo dmesg | tail -20 $ sudo dmesg | tail -20 [95300.848154] usb 2-1: new high-speed USB device number 33 using ehci-pci...
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 3.4.1 Linux image The Raspberry Pi boots and displays the bone-debian GUI: Fig 11. bone-debian GUI Open a terminal and browse to the Linux libnfc-nci stack directory (refer to chapter 1.2 for more details about the Linux NFC software stack).
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide You can enable/disable the NFC function via “Settings/Wireless & Network/More…” Fig 13. Android “Setting/Wireless&Network” menu Using provided NXP TagInfo and NXP TagWriter applications you can get information from discovered tag and write content.
4.1 Application details The demo application is part of the Linux libnfc-nci stack delivery. More details can be find in document AN11697 available on PN7120 Product Web Page [5]. 4.2 Using the application The application must be started with parameters: $ ./nfcDemoApp <OPTIONS>...
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide Fig 18. Linux demo application polling mode 4.2.2 Tag writing mode This mode allows writing data to an NFC tag. It is reached using “write” parameter: $ ./nfcDemoApp write <OPTIONS>...
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 4.2.3 Device push mode This mode allows pushing data to a remote NFC device (e.g. an NFC phone). It is reached using “push” parameter: $ ./nfcDemoApp push <OPTIONS> Fig 20. Linux demo application device push mode You can get more information about the message format using “-h”...
AN11646 NXP Semiconductors PN7120 NFC Controller SBC Kit Quick Start Guide 5. References The Raspberry Pi is a credit card sized computer. The initial idea behind it was to develop a small and cheap computer to be used by kids all over the world to learn programming.
Purchase of NXP ICs with NFC technology risk. Purchase of an NXP Semiconductors IC that complies with one of the Near Applications — Applications that are described herein for any of these Field Communication (NFC) standards ISO/IEC 18092 and ISO/IEC 21481 products are for illustrative purposes only.
Need help?
Do you have a question about the PN7120 and is the answer not in the manual?
Questions and answers