Advertisement

Quick Links

UG10068
PN7220 - Quick start guide
Rev. 1.0 — 11 July 2023
Document information
Information
Keywords
Abstract
Content
PN7220, Android, NFC Forum, EMVCo
This document describes the PN7220BP1 and how to use it.
User guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UG10068 and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors UG10068

  • Page 1 UG10068 PN7220 - Quick start guide Rev. 1.0 — 11 July 2023 User guide Document information Information Content Keywords PN7220, Android, NFC Forum, EMVCo Abstract This document describes the PN7220BP1 and how to use it.
  • Page 2 UG10068 NXP Semiconductors PN7220 - Quick start guide Revision history Revision history Date Description v.1.0 20230711 Initial version UG10068 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. User guide Rev. 1.0 — 11 July 2023...
  • Page 3: Introduction

    UG10068 NXP Semiconductors PN7220 - Quick start guide 1 Introduction This document describes, how to work with PN7220. It leads to find relevant information about HW, antenna and SW integration, as well as information related to PN7220 evaluation kit for reference implementation.
  • Page 4: General Description Of Pn7220

    UG10068 NXP Semiconductors PN7220 - Quick start guide 2 General description of PN7220 PN7220 is a complete NFC controller solution, with integrated FW and NCI interface, designed for contactless communication at 13.56 MHz. It is the ideal solution for quickly integrating NFC technology into any application, especially for applications using Android OS.
  • Page 5: Pn7220 Front

    UG10068 NXP Semiconductors PN7220 - Quick start guide 3 PN7220 Integration steps 3.1 HW description PN7220 (Figure 1) is close controller and needs DH to control it. At the moment the official DH supported by PN7220 is Qualcom's DragonBoard 845c (Figure 2), but integration is possible with any other DH.
  • Page 6: Dragonboard 845C Front

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 2. DragonBoard 845c Front The PN7220 is designed to be easily connected to the Dragonboard. Pin header J43 (red square in Figure 2) is one to one compatible with the Dragonboard LS1(red square in...
  • Page 7: Pn7220 Back

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 3. PN7220 Back Figure 4, we can see how the boards look, when they are stacked on top of each other. UG10068 All information provided in this document is subject to legal disclaimers.
  • Page 8: Dragonboard 845C

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 4. PN7220 on top of Dragonboard 845c Note: For a proper operation it is required to supply the PNEV7220BP1 via the USB-C connector by 5V/1.5A. The connected cable is required to provide a ferrite choke.
  • Page 9: Software Description

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 5. PN7220 default jumper settings To switch between 1.8 V and 3.3 V for VDDIO_SEL (green square in Figure 5), change the solder jumper to 1-3 (for 3.3 V) or 1-2 (for 1.8 V).
  • Page 10: Environment Setup

    UG10068 NXP Semiconductors PN7220 - Quick start guide 4 Environment setup This section, describes how to prepare the environment on Windows or Linux. This is necessary to flash Android OS to the Dragonboard and to start work with the PN7220.
  • Page 11 UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 8. Unzip platform-tools Figure 9. Add adb.exe and fastboot.exe Instructions for adding tools to path [3]. Now we need to install the win-usb driver. Follow the next steps. 1. Get driver from webpage Figure 10. win-usb driver webpage...
  • Page 12: Install Driver

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 11. Accept terms&conditions and download 3. Extract all and right-click to "android_winusb.inf" and press "Install" Figure 12. Install driver After all the steps are completed, we can connect the Dragonboard to the computer. In the Device Manager, check if the device appers in the list.
  • Page 13 UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 14. Browse my computer for driver 3. Click: "Let me pick from a list of available drivers on my computer" Figure 15. Let me pick from a list of available drivers on my computer 4.
  • Page 14: Click Yes

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 16. Android Device 5. Select "Android Composite ADB Interface" Figure 17. Android Composite ADB Interface 6. Click "Yes" UG10068 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved.
  • Page 15: Linux Environment Setup

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 18. Click Yes The next step is flashing the Dragonboard with Android images. 4.2 Linux environment setup Reference Linux version: Ubuntu 22.04.2 LTS. On Linux, preparing the environment is a bit easier. Follow the steps to add adb and fastboot support: 1.
  • Page 16: Installing Prebuild Images

    UG10068 NXP Semiconductors PN7220 - Quick start guide 5 Installing prebuild images NXP provides prebuild images so that users can work with PN7220 immediately. The steps we must follow, to install images on Dragonboard: 1. Download zip from 2. Unzip 3.
  • Page 17: Logcat Example

    UG10068 NXP Semiconductors PN7220 - Quick start guide 6 ADB commands explanation After the images are flashed to the Dragonboard, and the PN7220 is connected to it, we can use the adb logs to monitor the communication. To check the communication, we must open the terminal (command prompt on Windows).
  • Page 18: Test Applications

    UG10068 NXP Semiconductors PN7220 - Quick start guide 7 Test applications At this point, communication between PN7220 and Dragonboard should be established. Communication with the card should be working, and we can verify this with adb logcat. The last step is to use the test applications provided by NXP.
  • Page 19: Emvco Mode Switch Application: Default View

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 21. EMVCo mode switch application: default view Select different technologies and enable the "Use EMVCo" switch. If valid technologies are selected and EMVCo mode is selected, the EMVCo indicator will glow with green color, and NFC indicator will glow with red color.
  • Page 20: Emvco Mode Switch: Failure

    UG10068 NXP Semiconductors PN7220 - Quick start guide If in-valid technologies are selected and EMVCo mode is not activated, the EMVCo indicator will glow with red color, and NFC indicator will glow with green color. Try again with different technology combination. See Figure 23 for reference.
  • Page 21: Emvco Compliance Execution: Fail

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figure 25. EMVCo compliance execution: Fail 7.3 DTA Application DTA is also installed by default. With this application, we can run NFC Forum compliance. Figure 26. DTA Figure 27. DTA run button • "Cert.Rel" field must reflect Certification Release version targeted.
  • Page 22: Other Applications

    UG10068 NXP Semiconductors PN7220 - Quick start guide • "Con.Dev" field defines Connection Device Limit and must be set according to the test execution requirement. • Only "Manual" mode of "Execution Mode" is available for now, "Auto" mode being reserved for future use.
  • Page 23: Fw Update Logs

    UG10068 NXP Semiconductors PN7220 - Quick start guide 8 FW Update To update FW of the PN7220, we must push .so file to a specific location on the DH. After reset the NFC stack, MW checks if FW on PN7220 and FW in the .so file are different. If yes, the FW update procedure will be started automatically.
  • Page 24: Abbreviations

    UG10068 NXP Semiconductors PN7220 - Quick start guide 9 Abbreviations Table 2. Abbreviations Acronym Description HardWare SoftWare Operating System Mega Herz Near Field Communication Near Field Communication Controller Interface FirmWare MiddleWare Device Host Volt AOSP Android Open Source Project Android Debug Bridge...
  • Page 25: References

    UG10068 NXP Semiconductors PN7220 - Quick start guide 10 References ADB : https://developer.android.com/tools/adb Platform-Tools : https://developer.android.com/tools/releases/platform-tools Add Tool Locations to the PATH Environment Variable : https://learn.microsoft.com/en-us/previous- versions/office/developer/sharepoint-2010/ee537574(v=office.14) Win-usb driver : https://developer.android.com/studio/run/win-usb Vysor : https://www.vysor.io/ TagInfo and TagWriter applications: https://www.nxp.com/pages/nxp-applications:NXP-APPS CTS Verifier: https://source.android.com/docs/compatibility/cts/verifier...
  • Page 26: Radio Equipment Directive (Red)

    UG10068 NXP Semiconductors PN7220 - Quick start guide 11 Radio Equipment Directive (RED) The following information is provided per Article 10.8 of the Radio Equipment Directive 2014/53/EU: (a) Frequency bands in which the equipment operates. (b) The maximum RF power transmitted.
  • Page 27: Note About The Source Code In The Document

    UG10068 NXP Semiconductors PN7220 - Quick start guide 12 Note about the source code in the document Example code shown in this document has the following copyright and BSD-3-Clause license: Copyright YYYY NXP Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1.
  • Page 28: Legal Information

    NXP Semiconductors. In the event that customer uses the product for design-in and use in In no event shall NXP Semiconductors be liable for any indirect, incidental, automotive applications to automotive specifications and standards, punitive, special or consequential damages (including - without limitation - customer (a) shall use the product without NXP Semiconductors’...
  • Page 29 Purchase of NXP Semiconductors IC does not include a ultimate design decisions regarding its products and is solely responsible...
  • Page 30 UG10068 NXP Semiconductors PN7220 - Quick start guide Tables Tab. 1. PN7220 default jumper settings ......8 Tab. 3. Characteristics ..........26 Tab. 2. Abbreviations ...........24 UG10068 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved.
  • Page 31: Table Of Contents

    UG10068 NXP Semiconductors PN7220 - Quick start guide Figures Fig. 1. PN7220 Front ............5 Fig. 16. Android Device ..........14 Fig. 2. DragonBoard 845c Front ........6 Fig. 17. Android Composite ADB Interface ....14 Fig. 3. PN7220 Back ............ 7 Fig. 18.
  • Page 32 Please be aware that important notices concerning this document and the product(s) described herein, have been included in section 'Legal information'. © 2023 NXP B.V. All rights reserved. For more information, please visit: http://www.nxp.com Date of release: 11 July 2023 Document identifier: UG10068...

Table of Contents