PN7150 Raspberry Pi SBC Kit Quick Start Guide

Similar documents
PN7150 BeagleBone Black SBC Kit Quick Start Guide

PN7120 NFC Controller SBC Kit User Manual

AN PN7120 Arduino SBC Kit Quick Start Guide. Application note COMPANY PUBLIC. Rev July Document information

OM29110 NFC's SBC Interface Boards User Manual. Rev May

PN7120 NFC Controller SBC Kit Quick Start Guide

AN Energy Harvesting with the NTAG I²C and NTAG I²C plus. Application note COMPANY PUBLIC. Rev February Document information

PN7120 NFC Controller SBC Kit User Manual

UM10950 Start-up Guide for FRDM-KW41Z Evaluation Board Bluetooth Paring example with NTAG I²C plus Rev February

AN PN7150X Frequently Asked Questions. Application note COMPANY PUBLIC. Rev June Document information

UM OM29263ADK Quick start guide antenna kit COMPANY PUBLIC. Document information

AN PR533 USB stick - Evaluation board. Application note COMPANY PUBLIC. Rev May Document information

TED-Kit 2, Release Notes

AN NFC, PN533, demo board. Application note COMPANY PUBLIC. Rev July Document information

AN MIFARE Plus Card Coil Design. Application note COMPANY PUBLIC. Rev April Document information

AN NTAG21xF, Field detection and sleep mode feature. Rev July Application note COMPANY PUBLIC. Document information

UM DALI getting started guide. Document information

UM PN7120 NFC Controller SBC Kit User Manual. Rev July User manual COMPANY PUBLIC. Document information

R_ Driving LPC1500 with EPSON Crystals. Rev October Document information. Keywords Abstract

AN NHS3xxx Temperature sensor calibration. Document information

UM Slim proximity touch sensor demo board OM Document information

AN High-performance PCB antennas for ZigBee networks. Document information. Keywords

UM DALI getting started guide. Document information

AN Maximum RF Input Power BGU6101. Document information. Keywords Abstract

UM User manual for di2c demo board. Document information

AN11994 QN908x BLE Antenna Design Guide

TN LPC1800, LPC4300, MxMEMMAP, memory map. Document information

PN7120 NFC Controller Arduino SBC Kit User Manual. Rev January

PTN5100 PCB layout guidelines

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN How to design an antenna with DPC. Rev November Application note COMPANY PUBLIC. Document information.

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

PN7150 NFC Controller SBC Kit User Manual. Rev March

AN Ohm FM LNA for embedded Antenna in Portable applications with BGU7003W. Document information. Keywords Abstract

UM Description of the TDA8029 I2C Demo Board. Document information

AN12232 QN908x ADC Application Note

AN Replacing HMC625 by NXP BGA7204. Document information

AN12165 QN908x RF Evaluation Test Guide

AN UCODE I2C PCB antenna reference designs. Application note COMPANY PUBLIC. Rev October Document information

AN BFU725F/N1 2.4 GHz LNA evaluation board. Document information. Keywords. LNA, 2.4GHz, BFU725F/N1 Abstract

UM GreenChip TEA1995DB1295 synchronous rectifier controller demo board. Document information

UM TEA1721 universal mains white goods flyback SMPS demo board. Document information

AN TEA1892 GreenChip synchronous rectifier controller. Document information

BGU8007/BGU7005 Matching Options for Improved LTE Jammer Immunity

ES_LPC1114. Errata sheet LPC1114. Document information

BAP Product profile. 2. Pinning information. 3. Ordering information. Silicon PIN diode. 1.1 General description. 1.2 Features and benefits

Two elements in series configuration in a small SMD plastic package Low diode capacitance Low diode forward resistance AEC-Q101 qualified

AN UBA2015/UBA2017 saturating inductor support during ignition. Document information

Four planar PIN diode array in SOT363 small SMD plastic package.

VHF variable capacitance diode

OM5597/RD General description. 2. Features and benefits. 3. Applications. POS Reference Design. 2.1 Features. 2.2 Benefits

TN ADC design guidelines. Document information

Planar PIN diode in a SOD523 ultra small plastic SMD package.

AN BGU6009/N2 GNSS LNA evaluation board. Document information. Keywords. BGU6009/N2, GNSS, LNA Abstract

BB Product profile. 2. Pinning information. 3. Ordering information. FM variable capacitance double diode. 1.1 General description

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN Thermal considerations BGA3131. Document information. Keywords Abstract

AN12082 Capacitive Touch Sensor Design

AN Programming the PCA200x family of watch ICs. Document information

AN Low Noise Fast Turn ON-OFF GHz WiFi LNA with BFU730F. Document information

AN GHz to 2.7 GHz Doherty power amplifier using the BLF7G27LS-150P. Document information

SJA1105P/Q/R/S. 1 Features and benefits. 1.1 General features. 1.2 Ethernet switching and AVB features. 1.3 Interface features

AN PN7462AU How to integrate RTOS. Application note COMPANY PUBLIC. Rev September Document information

Planar PIN diode in a SOD523 ultra small SMD plastic package.

PTN General description. 2. Features and benefits. SuperSpeed USB 3.0 redriver

AN BGA GHz 16 db gain CATV amplifier. Document information. Keywords. BGA3021, Evaluation board, CATV, Medium Power.

PNP 5 GHz wideband transistor. Oscilloscopes and spectrum analyzers Radar systems RF wideband amplifiers

Planar PIN diode in a SOD882D leadless ultra small plastic SMD package.

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN Relay replacement by NXP high-power bipolar transistors in LFPAK56. Document information

KMA22x; KMA32x handling information

Broadband LDMOS driver transistor. A 5 W LDMOS power transistor for broadcast and industrial applications in the HF to 2500 MHz band.

75 MHz, 30 db gain reverse amplifier

AN High Ohmic FM LNA for embedded Antenna in Portable applications with BGU6102. Document information. Keywords

Quad 2-input EXCLUSIVE-NOR gate

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

HEF4002B. 1. General description. 2. Features and benefits. 3. Ordering information. 4. Functional diagram. Dual 4-input NOR gate

NTAG General description. NFC Forum Type 2 Tag compliant IC with 144 bytes user memory. 1.1 Contactless energy and data transfer

Hex non-inverting precision Schmitt-trigger

Hex non-inverting HIGH-to-LOW level shifter

Hex inverting HIGH-to-LOW level shifter

NFC Reader Library for FRDM-K82F Board Installation guidelines

UM User manual for the BGU7008 GPS LNA evaluation board. Document information. Keywords LNA, GPS, BGU7008. Abstract

10 W LDMOS power transistor for base station applications at frequencies from HF to 2200 MHz

AN SDARS active antenna 1st stage LNA with BFU730F, 2.33 GHz. Document information

BFU550XR ISM 433 MHz LNA design. BFU520, BFU530, BFU550 series, ISM-band, 433MHz 866MHz Abstract

50 ma LED driver in SOT457

BGA Product profile. MMIC amplifier. 1.1 General description. 1.2 Features and benefits. 1.3 Applications. Quick reference data

AN BLF0910H9LS600

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

Analog controlled high linearity low noise variable gain amplifier

Output rectifiers in high-frequency switched-mode power supplies

Analog high linearity low noise variable gain amplifier

Symbol Parameter Conditions Min Typ Max Unit V F forward voltage I F =10mA

BCP56H series. 80 V, 1 A NPN medium power transistors

Analog high linearity low noise variable gain amplifier

200 MHz, 35 db gain reverse amplifier. High performance amplifier in a SOT115J package, operating at a voltage supply of 24 V (DC).

NPN 5 GHz wideband transistor. The transistor is encapsulated in a 3-pin plastic SOT23 envelope.

Symbol Parameter Conditions Min Typ Max Unit V F forward voltage I F =10mA

Quad 2-input NAND buffer (open collector) The 74F38 provides four 2-input NAND functions with open-collector outputs.

NPN power transistor with integrated diode

Transcription:

Document information Info Content Keywords OM5578, PN7150, Raspberry Pi, NFC, P2P, Card Emulation, Linux, Windows IoT Abstract This document gives a description on how to get started with the OM5578 PN7150 NFC Controller SBC Kit on Raspberry Pi platform.

Revision history Rev Date Description 1.2 20170222 Updated demo images weblinks 1.1 20160512 Dedicating document to Raspberry Pi platform quick start guidelines Security status changed into 1.0 20151210 First official release version Contact information For more information, please visit: http://www.nxp.com All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 20174. All rights reserved. 2 of 14

1. Introduction This document gives a description on how to get started with the OM5578 PN7150 NFC- Controller SBC Kit on Raspberry Pi platform. This document provides a step by step guide to the installation procedure of the hardware and the software. Finally it shows PN7150 NFC Controller functionalities through demonstration application. 1.1 OM5578/PN7150RPI demo kit OM5578/PN7150RPI kit is a high performance fully NFC compliant expansion board for Raspberry Pi (refer to [1] 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 comprised of an OM5578/PN7150S NFC Controller Board, an OM29110RPI Raspberry Pi Interface Board, and an NFC Sample Card. + + OM5578/PN7150S PN7150 NFC Controller Board OM29110RPI Raspberry Pi Interface Board NTAG216 NFC Sample Card Fig 1. OM5578/PN7150RPI demo kit overview The demo kit is fully described in UM10935 document [6]. 1.2 Linux driver support PN7150 NFC Controller is supported under GNU/Linux system using the NXP Linux libnfc-nci software stack delivered through public GitHub repository https://github.com/nxpnfclinux/linux_libnfc-nci (for more details, refer to AN11697 [2]). 1.3 Windows IoT driver support PN7150 NFC Controller is natively supported as Proximity platform device by Win10 IoT OS through the universal NFC device driver model. More details can be found in relative All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 3 of 14

pages on Microsoft website (refer to [5]). For instructions on how to install this driver refer to AN11767 [3]. The Win10 IoT Raspberry Pi demo image is based on this concept. All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 4 of 14

2. Quick Startup on Raspberry Pi 2.1 Required items Raspberry Pi [1] (only model 2 works with WinIoT demo image) Compatible SD or MicroSD card (depending of the Raspberry Pi model) of at least 8Gb memory size Micro USB power supply (5V / 1A) USB Keyboard USB Mouse HDMI cable to connect to a Monitor / TV Computer (running Windows, Linux or Mac OS X) only for SD/MicroSD card installation Raspberry Pi demo image file (see [4]) 2.2 Hardware setup First of all assemble the PN7150 NFC Controller Board with the Raspberry Pi Interface Board. Fig 2. OM5578/PN7150RPI demo kit assembly All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 5 of 14

Then stacked the boards together with the Raspberry Pi according to below guidelines. The Raspberry Pi platforms (new versions) have a 40-pin connector allowing to connect an expansion board. The Raspberry Pi Interface Board only make use of the first 26 ones for compatibility reason with the previous Raspberry Pi models. Assemble the boards as shown in figure below: Fig 3. OM5578/PN7150RPI demo kit and Raspberry Pi stacked together Note: On the old models (A/B series) first remove the 4 white plastic spacers before assembly. 2.3 Software setup Prepare a SD or MicroSD card, with the downloaded Raspberry Pi demo image (see [4]), following the installation guidelines: - On Windows: https://www.raspberrypi.org/documentation/installation/installingimages/windows.md - On Linux: https://www.raspberrypi.org/documentation/installation/installingimages/linux.md - On MAC OS X: https://learn.adafruit.com/beaglebone-black-installing-operatingsystems/mac-os-x All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 6 of 14

2.4 Linux NFC demo application 2.4.1 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 [2]). 2.4.2 Starting the application Insert the SD or MicroSD card in the Raspberry Pi. Connect HDMI Display, mouse and keyboard. Then power-up the Raspberry Pi by plugging the USB power cable. The Raspberry Pi boots and displays the Raspbian GUI: Fig 4. Raspbian 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). $ cd ~/linux_libnfc-nci The application requires parameters to run: $./nfcdemoapp <OPTIONS> All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 7 of 14

You can get the parameters details by launching the application help menu: $./nfcdemoapp -help Fig 5. Linux demo application parameters The demo application offers 3 modes of operation: Polling: continuously waiting for a remote NFC device (tag or peer device) and displays related information Tag writing: allows writing NDEF content to a NFC tag Device push: allows pushing NDEF content to a remote NFC peer device 2.4.2.1 Polling mode When in this mode, the application will display information of any discovered NFC tags or remote NFC device. It is reached starting the application with poll parameter: $./nfcdemoapp poll Fig 6. Linux demo application polling mode All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 8 of 14

2.4.2.2 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 7. Linux demo application device push mode You can get more information about the message format using -h or --help parameter: $./nfcdemoapp push -help 2.4.2.3 Tag writing mode This mode allows writing data to an NFC tag. It is reached using write parameter: $./nfcdemoapp write <OPTIONS> Fig 8. Linux demo application tag writing mode All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 9 of 14

You can get more information about the message format using -h or --help parameter: $./nfcdemoapp write -help 2.5 WinIoT NFC demo 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. The Raspberry Pi boots and displays the Proximity_BasicTest application for demonstration of NFC functionality. The application consists of a simple graphical interface, displayed on the HDMI output of the Raspberry Pi. It will react when NFC devices or tags are made proximate to the PN7120 antenna by displaying short messages: Fig 9. Proximity_BasicTest application For more details about the demo application or instruction for driver installation on other platform (e.g. Raspberry Pi 3), you can refer to AN11767 [3]. All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 10 of 14

3. References [1] The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It s capable of doing everything you d expect a desktop computer to do, from browsing the internet and playing high-definition video, to making spreadsheets, word-processing, and playing games. For more information about it please visit https://www.raspberrypi.org/ [2] AN11697 PN71x0 Linux Software Stack Integration Guidelines: http://www.nxp.com/documents/application_note/an11697.pdf [3] AN11767 PN71x0 Windows IoT Porting Guidelines: http://www.nxp.com/documents/application_note/an11767.pdf [4] Raspberry Pi Linux demo image: https://nxp1.sharepoint.com/teams/12_33/nfcshare/om5578/_layouts/15/guestacc ess.aspx?docid=0d87449518429408281f9d6cabae0bfe8&authkey=ablblzpnc01m ZaWKWWxCvoA Raspberry Pi 2 WinIoT demo: https://nxp1.sharepoint.com/teams/12_33/nfcshare/om5578/_layouts/15/guestacc ess.aspx?docid=0f9fc15e22900478da0371b97380f5847&authkey=aqq3sgjysql QmcndyF5Ij-4 [5] NFC Devices in Windows: https://msdn.microsoft.com/en-us/windows/hardware/drivers/nfc/index [6] UM10935 PN7150 NFC Controller SBC Kit User Manual: http://www.nxp.com/documents/user_manual/um10935.pdf All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 11 of 14

4. Legal information 4.1 Definitions Draft The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. 4.2 Disclaimers Limited warranty and liability Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. NXP Semiconductors takes no responsibility for the content in this document if provided by an information source outside of NXP Semiconductors. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors and its suppliers accept no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer s own risk. Applications Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s applications and products planned, as well as for the planned application and use of customer s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer s applications or products, or the application or use by customer s third party customer(s). Customer is responsible for doing all necessary testing for the customer s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer s third party customer(s). NXP does not accept any liability in this respect. Export control This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. Translations A non-english (translated) version of a document is for reference only. The English version shall prevail in case of any discrepancy between the translated and English versions. Evaluation products This product is provided on an as is and with all faults basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of noninfringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer. In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages. Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose. 4.3 Licenses Purchase of NXP ICs with NFC technology Purchase of an NXP Semiconductors IC that complies with one of the Near Field Communication (NFC) standards ISO/IEC 18092 and ISO/IEC 21481 does not convey an implied license under any patent right infringed by implementation of any of those standards. Purchase of NXP Semiconductors IC does not include a license to any NXP patent (or other IP right) covering combinations of those products with other products, whether hardware or software. 4.4 Trademarks Notice: All referenced brands, product names, service names and trademarks are property of their respective owners. MIFARE is a trademark of NXP B.V. All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 20174. All rights reserved. 12 of 14

5. List of figures Fig 1. OM5578/PN7150RPI demo kit overview... 3 Fig 2. OM5578/PN7150RPI demo kit assembly... 5 Fig 3. OM5578/PN7150RPI demo kit and Raspberry Pi stacked together... 6 Fig 4. Raspbian GUI... 7 Fig 5. Linux demo application parameters... 8 Fig 6. Linux demo application polling mode... 8 Fig 7. Linux demo application device push mode... 9 Fig 8. Linux demo application tag writing mode... 9 Fig 9. Proximity_BasicTest application... 10 All information provided in this document is subject to legal disclaimers. NXP Semiconductors N.V. 2017. All rights reserved. 13 of 14

6. Contents 1. Introduction... 3 1.1 OM5578/PN7150RPI demo kit... 3 1.2 1.3 Linux driver support... 3 Windows IoT driver support... 3 2. Quick Startup on Raspberry Pi... 5 2.1 2.2 Required items... 5 Hardware setup... 5 2.3 Software setup... 6 2.4 2.4.1 Linux NFC demo application... 7 Application details... 7 2.4.2 Starting the application... 7 2.4.2.1 Polling mode... 8 2.4.2.2 Device push mode... 9 2.4.2.3 Tag writing mode... 9 2.5 WinIoT NFC demo... 10 3. References... 11 4. Legal information... 12 4.1 Definitions... 12 4.2 Disclaimers... 12 4.3 Licenses... 12 4.4 Trademarks... 12 5. List of figures... 13 6. Contents... 14 Please be aware that important notices concerning this document and the product(s) described herein, have been included in the section 'Legal information'. NXP Semiconductors N.V. 2017. All rights reserved. For more information, visit: http://www.nxp.com Date of release: 22 February 2017 Document identifier: