Advertisement

Quick Links

AN13134
PN76 family evaluation board quick start guide
Rev. 2.5 — 2 May 2023
Document Information
Information
Keywords
Abstract
Content
PN76, NFC, open controller, PN7640, PN7642, LPC55S16, PN76xx
This document describes the setup of the development environment and usage of the PN76
family evaluation board.
Application note

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for NXP Semiconductors PN76 Series

  • Page 1 AN13134 PN76 family evaluation board quick start guide Rev. 2.5 — 2 May 2023 Application note Document Information Information Content Keywords PN76, NFC, open controller, PN7640, PN7642, LPC55S16, PN76xx Abstract This document describes the setup of the development environment and usage of the PN76 family evaluation board.
  • Page 2 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Revision history Revision history Date Description v.2.5 20230502 • Deleted old boards and environments not relevant for the official released version. • Added Section 6 "Checklist" • Added Section 7 "Troubleshooting".
  • Page 3: Introduction

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 1 Introduction This document describes the usage of the PN76 family evaluation board, which provides an easy evaluation of the features and functions of the PN76 family. It provides the first steps to operate the board and the setup of the development environment.
  • Page 4: System Overview

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 1.2 System overview There are multiple setups to get started with the development board. You can choose any of them. Whatever fits your purpose, way of working and hardware at hand the best.
  • Page 5: Pn76, Lpc55, And External Debugger

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 2. System overview - PN76 and external debugger PNEV7642A connections: • J5 "Top USB-C" connected with a USB-C cable to the developers PC for communication (for example, VCOM for NFC Cockpit).
  • Page 6 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 3. System overview PNEV7642A connections: • J5 "Top USB-C" connected with a USB-C cable to the developers PC for communication (for example, VCOM for NFC Cockpit). • J9 "Power Jack" connected to a proper power supply to supply the PNEV7642A board.
  • Page 7: Hardware

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2 Hardware The PN76 PSP builds upon the PNEV7642A board and LPC55S16-EVK board. For the PN76 family, a couple of different board revisions are available. Listed within this document are only the active revisions.
  • Page 8: Power Supply

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.1 Power supply The development board can be either powered by the USB connector "J5" or from a power jack at connector "J9". The default settings use the power jack which must be also used if the DC-DC is enabled (default).
  • Page 9: Power Supply Selection

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.1.1 Power supply selection The board can be either supplied by USB (not recommended) or a power jack (recommended), which requires an external power supply with 5 V to 7.5 V. It is not recommended to use the USB as power supply as the in- rush current is higher as the USB specification allows.
  • Page 10: Power Jack

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.1.2 Power jack The recommended supply method is via the power jack. Jumper "J8" determines if the power is fed into the 5 V LDO or directly supplied to the board net.
  • Page 11: Debug Interfaces

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 8. PNEV76FAMA power jack schematic 2.1.2 Debug interfaces The board offers two ways of debugging. They are mutual exclusive. Hardware changes have to be made to switch from one to the other.
  • Page 12 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 9. Debug interface PNEV76FAMA Figure 10. Debug interface schematic AN13134 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Application note Rev. 2.5 — 2 May 2023...
  • Page 13: Opensda Interface

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.2.2 OpenSDA interface The PNEV7642A hosts a OpenSDA interface on the bottom left corner. OpenSDA is an open-standard serial and debug adapter. It bridges serial- and debug communications between a USB host and an embedded target processor.
  • Page 14: Antenna

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.3 Antenna The antenna connection uses the standard tuning circuit. The EMC filter is designed with a cut-off frequency of fEMC = 14.25 MHz, and the antenna impedance is tuned to Z = 15…16Ω.
  • Page 15: Ioref

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 13. PNEV7642A HIF selection switches schematic Following table defines the chosen host-interface. Where the value "0" represents a Low signal (GND) and "1" a high signal ("IOREF"). Table 8. PNEV7642A HIF selection...
  • Page 16: Led Control J63 And J64

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.1.4.3 LED control J63 and J64 J63 and J64 control the lines to the LEDs. If connected, the LEDs are controlled by the Arduino controller interface. If the PNEV76FAMA is used in standalone mode, disconnect those two jumpers to use the onboard LEDs.
  • Page 17: Lpc55S16 Host Mcu

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.2 LPC55S16 host MCU The default host controller for the PN76 SDK is the NXP LPC55S16. It is an Arm Cortex-M33 architecture MCU with built-in advanced security features. The examples (Host Software) are preconfigured to be run on the LPC55S16-EVK which plugs in on the bottom side (Arduino controller) of the PNEV76FAMA board.
  • Page 18: Usb Connections

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.2.1 USB connections The LPC55S16-EVK is used within the PSP as host microcontroller to showcase host interface functionality of the PN7600 as well as updating the PN7600 firmware. The LPC55S16-EVK board does not need an external debugger as it has an LPC-Link2 onboard.
  • Page 19: Connecting The Lpc With The Pn76

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.3 Connecting the LPC with the PN76 Some of the PN7600 PSP examples require the LPC55S16-EVK as host MCU. One of them is the firmware download example which is used to update the PN7600 firmware. For this, we have to stack the PNEV76FAMA board on top of the LPC55S16-EVK board.
  • Page 20 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 17. LPC55 arduino alignment Following pictures shall help to understand how to align the PNEV76FAMA board on top of the LPC55S16-EVK. AN13134 All information provided in this document is subject to legal disclaimers.
  • Page 21 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 18. Alignment J9 AN13134 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Application note Rev. 2.5 — 2 May 2023...
  • Page 22 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 19. Alignment J10 AN13134 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Application note Rev. 2.5 — 2 May 2023...
  • Page 23 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 20. Stacked PNEV75FAMA on LPC55S16-EVK AN13134 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Application note Rev. 2.5 — 2 May 2023...
  • Page 24: Tdaev8035

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 2.4 TDAEV8035 The TDA8035 is a contacted card reader. It supports class A (5 V), class B (3 V), and class C (1.8 V) and a single contacted card. For the PN76 family development boards, a TDAEV8035 board is available which plugs- in on top of it, as Arduino follower.
  • Page 25: Jumper Settings

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Table 9. TDAEV8035 to PNEV7642A alignment ...continued TDAEV8035 PNEV7642A not connected not connected Figure 22. TDAEV8035 on PNEV7642A 2.4.2 Jumper settings To make the TDAEV8035 board functional, some jumpers on the PNEV7642A board must be set.
  • Page 26: Software

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 3 Software All PN76 family relevant software can be found on Secure Files on NXP.com. This list is an overview of existing software packages, their purpose, and required environment. How to obtain and work with the different packages is explained in later chapters of this document.
  • Page 27: Host Software (Lpc55S16)

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 23. SDK examples How to import and build examples is described in: Section 4.1.2 "Import SDK example" 3.2 Host software (LPC55S16) The host software package holds examples to be used with the LPC55S16 and MCUXpresso, to interact with the PN7642.
  • Page 28: Secure Firmware Download

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 25. Choose LPC55S16 board Having the projects imported and the SDK installed, the workspace is ready to run the host utils examples. Figure 26. Project explorer 3.2.2 Secure firmware download The secure firmware download example "DownloadEx1" is updating the PN7642 NXP firmware space. In this chapter, it is explained how to change and run the example in your environment.
  • Page 29: Run Firmware Update

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 27. Firmware file path editing For updating the PN7640 firmware, you do not have to change "NS_FIRMWEARE_FILE_PATH". The NXP firmware file will be updated in a secure manner and that is why the macro "FIRMWARE_FILE_PATH" has to match the location of your firmware file.
  • Page 30 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 30. Update firmware version The update may take a while. At the end, a successful update is indicated by the prompt of "Successful firmware upload". To verify a read firmware version can be executed once more.
  • Page 31: Development Environment

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 4 Development environment MCUXpresso version 11.6.0 (or later) is supporting the PN7642. Table 13. List of SW tools for Windows environment using MCUXpresso IDE Tool Recommended minimum Version MCUXpresso IDE Version 11.6.0 or later.
  • Page 32 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 31. Installed SDKs tab You most probably get asked if you allow installation by drag and drop. Press OK to proceed with the installation. After a successful installation, the SDK will be listed in your 'Installed SDKs' tab. Where you can see the name, SDK Version and other information.
  • Page 33: Import Sdk Example

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 32. Installed PN76 SDK 4.1.2 Import SDK example After the successful SDK installation, you can import examples from it. This is done by clicking "Import SDK example(s)..." in the Quickstart Panel or by clicking "Import examples from SDK." in the Project Explorer.
  • Page 34 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 33. Import SDK Examples In the following window, your installed SDKs are listed. Choose PN76 → PN7640, or PN7642, and click on the board image. The button "Next >" is now available. Press "Next >" to see a list of available Examples.
  • Page 35 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 34. Choose PN76 SDK At the list of examples chose whatever fits your needs. For the purpose of showing how it is done, we choose the 'led_blinky' example. AN13134 All information provided in this document is subject to legal disclaimers.
  • Page 36: Build Example

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 35. Import example NOTE: Per default, "UART" is selected at the Project Options, which is the SEGGER RTT UART. If you want to have the serial output in the MCUXpresso console check "Semihost" instead of "UART".
  • Page 37 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 36. Build example You can also choose the active build configuration by right-click on the project → Build Configurations → Set Active → Debug/Release. After the build finished, you will see 'Build Finished …' in the console.
  • Page 38: Flash Example

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 4.1.3.1 Flash example If you build your example in "Release" configuration, you can now flash it with the GUI Flash Tool. For this click the GUI Flash Tool button at the top toolbar: Figure 38. GUI Flash Tool button...
  • Page 39 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 39. Choose available probes The GUI Flash Tool now lists several Options how, with and where to program the flash space of the PN76. It should be pre-configured and you do not have to change anything. Click "Run..." at the bottom to start flashing the PN76.
  • Page 40 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 40. Flash application In case you want to flash another application you build you can do so by browsing to the .hex or .bin file at (see "1"). The base address (see "2") is the start address of the user application space and shall not be changed.
  • Page 41: Debug Example

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 41. Flash successful 4.1.3.2 Debug example If you build your example in "Debug" configuration, start debugging by clicking "Start debugging..." in the top toolbar. Figure 42. Start debugging After the application has been flashed, the debugger halts automatically at the first line in the main() function.
  • Page 42: Bin File Generation

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 43. Debug toolbar 4.1.4 Bin file generation To run an application standalone on the chip, it must be compiled in release. To flash applications in mass- storage mode, you need a binary file. In case the binary (.bin) file is not generated automatically, you can do it manually by doing following: 1.
  • Page 43 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 44. MCUXpresso bin generation AN13134 All information provided in this document is subject to legal disclaimers. © 2023 NXP B.V. All rights reserved. Application note Rev. 2.5 — 2 May 2023...
  • Page 44: Nfc Cockpit

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 5 NFC Cockpit NFC Cockpit is an intuitive graphical user interface that lets you configure and adapt IC settings without writing a single line of software code. From version v07.01.00 onwards, the PN7642 is supported as well. You can download NFC Cockpit at the official NXP website.
  • Page 45: Install Vcom Driver

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 45. NFC cockpit folders Table 15. NFC Cockpit folder content Folder Content firmware → PN7642 'NxpNfcCockpit_04_02_00_Flash.bin' which is the PN7642 firmware for the NFC Cockpit Application. VCOM 'install_PN76xx_vcom.bat' which installs the proprietary PN7642 VCOM driver.
  • Page 46: Bring To Mass Storage Mode

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 5.3.1 Bring to mass storage mode To bring the PN76 development board into mass storage mode, we have to bring the DWL_REQ pin HIGH while resetting the board. This is done by: 1.
  • Page 47: Nfc Cockpit Usage

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 49. NFC Cockpit firmware 3. The PN76xx_DL will automatically restart and a PN7640/PN7642 VCOM device should appear in your device manager. If no VCOM appears and instead the mass storage device PN76xx_DL appears again, make sure that J20 3-4 is disconnected and reset the device again by pressing NFC_VEN.
  • Page 48 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figure 51. NFC Cockpit overview Highlighted in above image are our main areas of interest. 1. The VCOM port which we are currently connected to. 2. NFC Cockpit version and firmware version of the connected device. In this case FW v1.0 of the PN7640 3.
  • Page 49: Checklist

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 6 Checklist A checklist to see if you fulfill all prerequisite to start evaluation, developing and working with the PNEV7642. 1. PNEV7642 correctly powered up. Either per external power supply or USB.
  • Page 50: Troubleshooting

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 7 Troubleshooting A short list of most common issues and its solutions. Table 16. Troubleshooting Cause Comment IOREF Depending on the usage of the board (standalone, follower or leader) the jumper IOREF has to be set correct.
  • Page 51: Radio Equipment Directive (Red)

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 8 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 52: References

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide 9 References AN13898 OpenSDA on PN76 development boards Base Board Schematics SCH-54813-b Rev.1.2 Module Board Schematics SCH-54814-ma Rev.1.0 LPC55S16 Development Board https://www.nxp.com/design/software/development-software/mcuxpresso- software-and-tools-/lpcxpresso-boards/lpcxpresso55s16-development-board:LPC55S16-EVK MCUXpresso IDE https://www.nxp.com/design/software/development-software/mcuxpresso-integrated- development-environment-ide:MCUXpresso-IDE LPC55S16 Host Software https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/single-chip-solution-...
  • Page 53: Pn76 Family Registers And Eeprom 10 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 54 NXP accepts no liability for any vulnerability. Customer should those standards. Purchase of NXP Semiconductors IC does not include a regularly check security updates from NXP and follow up appropriately.
  • Page 55 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Tables Tab. 1. Boards and utility overview ....... 4 Tab. 10................25 Tab. 2. Boards and utility overview ....... 5 Tab. 11. PN7642 software overview ......26 Tab. 3.
  • Page 56 AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Figures Fig. 1. PN76 and OpenSDA .........4 Fig. 26. Project explorer ..........28 Fig. 2. System overview - PN76 and external Fig. 27. Firmware file path editing ........29 debugger ............5 Fig.
  • Page 57: Table Of Contents

    AN13134 NXP Semiconductors PN76 family evaluation board quick start guide Contents Introduction ............3 References ............52 PN76 family registers and EEPROM Legal information ..........53 concept .............. 3 System overview ..........4 1.2.1 PN76 and OpenSDA ......... 4 1.2.2 PN76 and external debugger ......4...

Table of Contents