PNEV5190B evaluation board quick start guide Revision history Revision history Date Description 20210423 • The format of this application note has been redesigned to comply with the new identity guidelines of NXP Semiconductors. • Section 6: updated 20201218 Update of the software section 20200929...
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Introduction This document describes the PNEV5190B (PN5190 evaluation board), which provides an easy evaluation of the features and functions of the PN5190. It provides the first steps to operate the board, using the NFC Cockpit (PN5190 GUI Version 5.5.0 or higher).
Page 4
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide performance of the PN5190 antenna tuning, to perform the DPC calibration and the related TX and RX optimization without touching any source code. All the relevant registers can be modified and fine-tuned using the NFC Cockpit. After successful register optimization, the found settings can be stored in the PN5190 EEPROM.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Hardware The PNEV5190B V1.0, as shown in Figure 1, provides some test functions which might not be used for the typical hardware and software evaluation. The PNEV5190M (module) can be used as a simple standard reader module without modification. In addition, it can...
Page 6
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 1. Version 1.0 Figure 1. PNEV5190B Customer evaluation board The PNEV5190B customer evaluation board consists of 2 PCBs: The PNEV5190B (base board) and the PNEV5190M (module board), as shown in Figure 2 Figure 3.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Figure 2. PNEV5190B base board top view (placement) Figure 3. PNEV5190M Module board top view (placement) 3.2 Schematics The complete schematics of the PNEV5190B base board are shown in the following figures. The more detailed reference data is available in [5].
Page 8
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide In addition, an OpenSDA interface is provided for debugging the K82 by using a Kinetis MK20DX128VFM5 (Figure Figure 4. K82 main schematics AN12550 All information provided in this document is subject to legal disclaimers.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Figure 6. OpenSDA for K82 (MK20DX128VFM5) 3.2.2 Power supply The default settings use the external power supply from the power jack connector. The external power supply must always be used, if the DC-DC is enabled (default). The DC power input can cover a DC voltage around 7.5 V with a current of at least 800 mA.
Page 11
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Figure 7. Figure title here As soon as the board is supplied with power, the red LED D5 must be on. The PNEV5190B has different supply pins for the PNEV5190M (module board) as shown Table 1.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide J4: open J5: open J6: open J13: open (this jumper can be used to bypass the DC-DC, but only if the EEPROM settings are done properly AND the required board modifications are made properly)
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide The relevant test signals can be derived from the test pins at the bottom of the board. 1. GND pads: 8,11,13,16,37 2. RFU pads: 7, 30, 31 Figure 9. PNEV5190M module board schematics 3.2.4 PNEV5190 antenna...
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 1. 45 mm x 45 mm antenna coil connected to J10 Figure 10. PNEV5190B antenna circuit The PN5190 antenna tuning (see Figure 11) improves the transfer function compared to the standard “asymmetrical” tuning and therefore allows using a higher system Q factor, which results in a higher field strength.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 3.3 K20 OpenSDA interface Software for K20 will come in future: To use the OpenSDA debug for the K82, JP24 needs to be closed (default open) Figure 12. PNEV5190 customer evaluation board jumper 3.4 LED status indication...
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide PN5190 secure firmware update The PN5190 supports secure firmware update and it provides an easy way to upload the firmware via the NFC Cockpit tool or by an application hosted on the microcontroller, which implements secure firmware update functionality.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Figure 13. PNEV5190 firmware block diagram 4.2.1 PC host The PC is hosting the NFC Cockpit tool, and it should provide a USB connection. The PC host is connected to the microcontroller host via a USB Serial VCOM interface.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide A reference example uses secure download library, which provides the implementation of the secure download APIs. It is recommended to use it in the customer application. 4.3.1 Preconditions It is required to set up the system comprising the PNEV5190B evaluation board and LPC-Link2 or Segger J-Link, as shown in the figure below.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 1. Click “Import projects …” in the Project Explorer window 2. Select “General/Existing Projects into Workspace” option and click “Next” button 3. Browse to the “Secure_Fw_Downloader” folder 4. Select projects as shown on the picture above and click the “Finish” button Figure 15. Import Secure Firmware Project to the MCUXpresso IDE...
Page 20
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 1. Right-click on the project 2. Select “Build Configurations/SetActive/DebugFRDMK82F” option Figure 16. Import secure firmware project to the MCUXpresso IDE After that step, the project structure shall look like in the picture below.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Figure 18. Flash and debug application After that, the application starts, and it printout options for the supported tasks. Figure 19. Application debug printouts 4.3.4 Secure download library “Secure download library” is part of the reference application and provides an implementation of the secure download mode.
Page 22
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Table 3. API provided by secure download library Device Description phDlhalHw_Pn5190_Download_Init Initialize the download library. phDlhalHw_Pn5190_Download_CheckIntegrity Returns the integrity information of the existing firmware. phDlhalHw_Pn5190_Download_ Check and return the current download CheckSessionState session state.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Software The PNEV5190B evaluation board is delivered with a graphical user interface application (GUI), the NXP NFC Cockpit. The NFC Cockpit can be used to explore the functionality of the PN5190 and perform RF and antenna design-related tests. It allows a direct register access as well as EEPROM read and writes access, and it allows testing and calibrating the DPC.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide The PN5190 NFC Cockpit is a development tool, and therefore allows many different kinds of operations, even “useless” ones at a first glance. The correct use of the NFC Cockpit is required to operate the PN5190 properly.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide This allows an easy and quick optimization of TX and RX parameters before changing the EERPOM. 1. <Load Protocol> (e.g. type A 106) 2. <Single REQA> (using again the EEPROM settings) 5.2.1 PN5190 register access...
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide • Read EEPROM Reads a single byte from EEPROM using byte address • Write EEPROM Writes a single byte into EEPROM using byte address • Dump EEPROM Stores the complete user area of the PN5190 EEPROM into an XML file. This can be used to generate a backup of all settings or to transfer optimized settings onto another board or into own software.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 5.2.5 EMVCo loopback application The NFC Cockpit offers the option to start applications on the K82 firmware. The default application, as provided with the standard K82 firmware, allows running an EMVCo Loopback function.
Page 28
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 1. Open MCUXpresso IDE The “MCUXpresso IDE Launcher” dialog box appears and prompts to select a workspace to use. It is recommended to use an empty folder as a new workspace.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 4. Select the projects root folder Browse to the unzipped folder with the NFC Reader Library a. Browse to the NFC Reader Library folder b. Select project as depicted on the screenshot above c.
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide 5.3.2 Install FRDM-K82F SDK It is mandatory to install K82F SDK to build, run or debug projects. The SDK is available and shall be downloaded from the NXP website. 1. Left-click at Installed SDKs view. Pop-up menu appears Figure 30. Adding SDK –...
Purchase of NXP ICs with NFC technology products using NXP Semiconductors products, and NXP Semiconductors Purchase of an NXP Semiconductors IC that complies with one of the accepts no liability for any assistance with applications or customer product Near Field Communication (NFC) standards ISO/IEC 18092 and ISO/ design.
Page 35
AN12550 NXP Semiconductors PNEV5190B evaluation board quick start guide Tables Tab. 1. PNEV5190M module supply pins ....11 Tab. 3. API provided by secure download library ..22 Tab. 2. Development Environment ......18 AN12550 All information provided in this document is subject to legal disclaimers.
Need help?
Do you have a question about the AN12550 and is the answer not in the manual?
Questions and answers