background image

NXP Semiconductors

AN12550

PNEV5190B evaluation board quick start guide

7 Legal information

7.1  Definitions

Draft

 — A draft status on a document indicates that 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 in a draft version of a document and shall have no

liability for the consequences of use of such information.

7.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.

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

non-infringement, 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.

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.

Security

 — Customer understands that all NXP products may be subject

to unidentified or documented vulnerabilities. Customer is responsible

for the design and operation of its applications and products throughout

their lifecycles to reduce the effect of these vulnerabilities on customer’s

applications and products. Customer’s responsibility also extends to other

open and/or proprietary technologies supported by NXP products for use

in customer’s applications. NXP accepts no liability for any vulnerability.

Customer should regularly check security updates from NXP and follow up

appropriately. Customer shall select products with security features that best

meet rules, regulations, and standards of the intended application and make

the ultimate design decisions regarding its products and is solely responsible

for compliance with all legal, regulatory, and security related requirements

concerning its products, regardless of any information or support that may

be provided by NXP. NXP has a Product Security Incident Response Team

(PSIRT) (reachable at [email protected]) that manages the investigation,

reporting, and solution release to security vulnerabilities of NXP products.

7.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.

7.4  Trademarks

Notice: All referenced brands, product names, service names and

trademarks are the property of their respective owners.

MIFARE

 — is a trademark of NXP B.V.

DESFire

 — is a trademark of NXP B.V.

AN12550

All information provided in this document is subject to legal disclaimers.

© NXP B.V. 2021. All rights reserved.

Application note

Rev. 1.5 — 23 April 2021

COMPANY PUBLIC

562315

33 / 37

Содержание AN12550

Страница 1: ...90B PNEV5190M PN5190 evaluation board PN5190 customer board PN5190 GUI GUI PN5190 support tool NFC Cockpit Abstract This document describes the PNEV5190B V1 0 PN5190 evaluation board and how to use it It describes the NFC Cockpit PN5190 GUI Version 5 5 0 or later which allows an easy basic access to the PN5190 registers and EEPROM in combination with basic reader functionality ...

Страница 2: ...conductors Section 6 updated 1 4 20201218 Update of the software section 1 3 20200929 Update versions numbers for PN5190 CQS1 1 2 20200109 Figure 6 layout corrected 1 1 20191217 AN number corrected typos removed 1 0 20191128 First version Revision history AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 A...

Страница 3: ...n efficient single command and allows distinguishing between transmit and receive configuration Update of the registers relevant for a selected protocol is done by copying the content of EEPROM addresses to registers Not all protocols require the initialization of all or the same registers the command LOAD_RF_ CONFIGURATION considers this by initializing the registers relevant for the currently se...

Страница 4: ...ations In addition the optimized register settings using the NFC Cockpit can be used during user code development as well As soon as the register settings for the targeted protocols and data rates are defined the NFC Reader Library including the HAL can be used to start the development of the user application Examples illustrate the usage of the library for typical use cases The source code exampl...

Страница 5: ...d provides a rectifier and LDO to supply the circuit with 6 V optional supply voltage 7 5 V 5 V 3 3 V and 1 8 V Warning The PN5190 in default configuration requires an external power supply i e the USB supply does not provide enough current The PN5190 is connected to a Kinetis K82 121BGA µC via SPI A specific firmware on the K82 allows using the PNEV5190B together with the NFC Cockpit The connecti...

Страница 6: ...in Figure 2 and Figure 3 The PNEV5190M is soldered onto the PNEV5190B and contains the PN5190 itself and the major components as required to operate the IC e g the DC DC inductor the EMC filter and some block capacitors The layout of the module board can be taken as reference AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Applicat...

Страница 7: ...ase board are shown in the following figures The more detailed reference data is available in 5 3 2 1 K82 The PNEV5190B uses a Kinetis K82 121BGA microcontroller Figure 4 An LPC Link can be connected to the K82 via the JTAG SWD interface see Figure 5 AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April ...

Страница 8: ... interface is provided for debugging the K82 by using a Kinetis MK20DX128VFM5 Figure 6 Figure 4 K82 main schematics AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 8 37 ...

Страница 9: ...luation board quick start guide Figure 5 PNEV5190M interface AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 9 37 ...

Страница 10: ...e 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 The polarity does not matter since there is a rectifier foreseen The inrush current of the DC DC can be up to 1 6 A when enabling the RF field AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application no...

Страница 11: ...or supplying the PNEV5190M with VBAT The default configuration provides VBAT 3 3 V Optionally this voltage can be set to 4 8 V 2 U5 for supplying the VDDIO and the µC supply VDDIO_BRD MCU_VDD MCU_VDDA with 3 3 V This LDO is not used in default configuration 3 U6 for supplying the VDDIO and the µC supply VDDIO_BRD MCU_VDD MCU_VDDA with 1 8 V This LDO is used in default configuration 4 U7 for supply...

Страница 12: ...ing the TX driver part Figure 8 PBEV5190B jumpers 3 2 3 PNEV5190M module board The PNEV5190M module board is shown in Figure 9 The module board contains the most relevant components directly connected to the PN5190 i e the EMC filter inductors the DC DC inductor the major block capacitors and the 27 12 MHz crystal The default clock is based on this 27 12 MHz crystal but the board supports the opti...

Страница 13: ...schematics 3 2 4 PNEV5190 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Ω The details of antenna tuning are described in 2 AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 A...

Страница 14: ...or which results in a higher field strength The disadvantage of the loading effect which causes an increased current ITVDD is compensated with the PN5190 Dynamic Power Control DPC for details refer to 3 For more details on the PN5190 antenna tuning refer to 2 PN5190 Antenna design guide Figure 11 PNEV5190B evaluation board antenna tuning AN12550 All information provided in this document is subject...

Страница 15: ... a communication via SPI 3 5 Jumper settings The default jumper settings allow a direct use with the USB connector and an external power supply This might show limited performance due to a current limitation on the USB host So for real performance measurements the external power supply should be used 3 5 1 USB only USB only no external power supply is not recommended at all Most USB Hosts cannot s...

Страница 16: ... PN5190 FW 4 1 1 System requirements NFC Cockpit tool requirements The chapters below are describing the installation process of it PC with USB port running on Microsoft Windows 10 operating system VCOM CDC drivers drivers are available in the installation package Firmware download library requirements Secure FW upload demo application is available in the provided release package The demo applicat...

Страница 17: ...urce and sends them to PN5190 IC via SPI interface 4 2 3 PN5190 The PN5190 is a highly integrated high performance full NFC Forum compliant frontend IC for contactless communication at 13 56 MHz PN5190 supports secure FW updates and guidelines are described in the next sections 4 3 Reference application NXP provides DownloadLibEx1 application as a reference example which demonstrates how to flash ...

Страница 18: ...bug adapter hardware MCUXpresso IDE 11 2 0 or higher Development IDE PC software Table 2 Development Environment The next figure shows how to connect the PNEV5190B Development board with Segger J Link and PC The development board in this setup is powered by USB which is not recommended if the RF Front End is used Figure 14 System setup Before continuing it is necessary to download the latest PN519...

Страница 19: ...s shown on the picture above and click the Finish button Figure 15 Import Secure Firmware Project to the MCUXpresso IDE 4 3 3 Build run and debug project After a successful project import check for the correct project configuration All three projects shall be configured for DebugFRDMK82F AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reser...

Страница 20: ...d all projects That can be achieved by clicking the Build all projects in the Quickstart Panel The next step is to flash and debug the application Highlight the DownloadLibEx1 project in the Project Explorer window and click Debug in the Quickstart Panel as shown in the next figure The MCUXpresso IDE builds the application flash the application binary and starts with the debugging process AN12550 ...

Страница 21: ...ritten in C programing language and it can be ported to any customer application running on the µC Secure download library contains an implementation of the platform SPI interface and HW configuration and this part of the library should be adopted in case it is used on any other platform It is highly recommended to use the secure download library in the customer application The table below lists a...

Страница 22: ...grity Returns the integrity information of the existing firmware phDlhalHw_Pn5190_Download_ CheckSessionState Check and return the current download session state Table 3 API provided by secure download library AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 22 37 ...

Страница 23: ...s including the NXP NFC Reader Library In this case the K82 FW must be reinstalled afterwards if the PNEV5190B is supposed to be used together with the NFC Cockpit again Reason for this is that any software development using the MCUXpresso will erase the default firmware Therefore the K82 FW installation is described in the following section In any case the correct PC driver must be installed befo...

Страница 24: ...ither the CRC is enabled or added manually in the data field 1 0x6a Get Application ID command of MIFARE DESFire EV1 Figure 21 PN5190 NFC Cockpit Activation of a MIFARE DESFire EV1 card Get Application ID Similar functionality does exist for ISO IEC 14443 A and B for NFC type F and for ISO IEC 15693 communication Be aware that a LOAD_RF_CONFIG command must be executed manually before the correspon...

Страница 25: ...moved over the names Note Some register content cannot be changed manually read only and some content might be overwritten by the PN5190 firmware 1 Register area is a RAM area i e might be overwritten or changed automatically Figure 22 PN5190 register access All registers which are used in the LOAD_RF_CONFIG command can be read from the EEPROM The user must select the register and the protocol All...

Страница 26: ...e content into the user area of the PN5190 EEPROM The format is fixed and must fit 1 EEPROM means User area of the EEPROM Figure 23 PN5190 direct EEPROM access 5 2 3 PN5190 analog and digital test signals The NFC cockpit allows using the PN5190 internal test bus to route the digital and analog test signals to the given test pins Details can be found in the CTS description The test pins can be foun...

Страница 27: ...C Cockpit with EMVCo loopback App 5 3 NFC Reader Library support of the PN5190 NXP provides a library to support users in developing an NFC application The library is available in the PN5190 SW release package NXP NFC Reader Library is written in C language and it is shared as source code Therefore it can be ported to almost any µC 5 3 1 Import library and demo application to the MCUXpresso IDE Th...

Страница 28: ...er as a new workspace Figure 25 MCUXpresso IDE launcher The IDE starts and displays the welcome page 2 Import NFC Reader Library and demo applications Select Import projects from the Project Explorer window Figure 26 MCUXpresso IDE launcher AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPA...

Страница 29: ...pears Select General Existing Projects into Workspace and click Next button Figure 27 MCUXpresso IDE Launcher AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 29 37 ...

Страница 30: ...e screenshot above c Leave all options unchecked d Click Finish button to import selected projects Figure 28 Import selected projects to the Workspace 5 All imported projects shall be listed in the Project Explorer window Figure 29 NFC Reader Library projects AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 ...

Страница 31: ...process starts automatically Figure 31 Adding SDK step 2 5 3 3 Build debug and run projects Provided NFC Reader Library project and demo application projects are pre configured to be used with the PNEV5190B v1 0 customer demo board As a next step all projects shall be built Select the Build all projects in the Quickstart Panel window Alternatively select Project Build to build only one project at ...

Страница 32: ...de https www nxp com docs en application note AN12549 pdf 3 ANxxx PN5190 dynamic power control not yet available 4 UMxxx PN5190 software quick start guide not yet available 5 PNEV5190 reference data package schematics and layout AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 56...

Страница 33: ...ustomer 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 Evaluation products This product is provided on an as is and with all faults basis for evaluation purposes only NXP Semiconductors its...

Страница 34: ...uide Kinetis is a trademark of NXP B V NXP wordmark and logo are trademarks of NXP B V AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 34 37 ...

Страница 35: ...5190M module supply pins 11 Tab 2 Development Environment 18 Tab 3 API provided by secure download library 22 AN12550 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved Application note Rev 1 5 23 April 2021 COMPANY PUBLIC 562315 35 37 ...

Страница 36: ...resso IDE 19 Fig 16 Import secure firmware project to the MCUXpresso IDE 20 Fig 17 Project Explorer Window 20 Fig 18 Flash and debug application 21 Fig 19 Application debug printouts 21 Fig 20 NFC Cockpit with PNEV5190B initial view 23 Fig 21 PN5190 NFC Cockpit Activation of a MIFARE DESFire EV1 card Get Application ID 24 Fig 22 PN5190 register access 25 Fig 23 PN5190 direct EEPROM access 26 Fig 2...

Страница 37: ... reference project 18 4 3 3 Build run and debug project 19 4 3 4 Secure download library 21 5 Software 23 5 1 K82 firmware and driver 23 5 2 PN5190 NFC Cockpit 23 5 2 1 PN5190 register access 25 5 2 2 PN5190 direct EEPROM access 25 5 2 3 PN5190 analog and digital test signals 26 5 2 4 PN5190 dynamic power control 26 5 2 5 EMVCo loopback application 27 5 3 NFC Reader Library support of the PN5190 2...

Отзывы: