DISCLAIMER APPLICABLE TO THIS DOCUMENT CONTENTS:
PN5190-NTAG 5 boost High Speed Communication Demo
This article describes the unique feature of these two chips when interacting with each other at contactless interface: Passthrough demonstrator at high bit rates for ISO 15693 between PN5190 and NTAG5 Boost.
Scope of demonstrator:
▪ Demonstrating a unique feature of NXP Semiconductors. High bit rates for ISO15693 communication (212 kbps) between a
PN5190 reader IC and an NTAG5 boost plus LPC55S69 host MCU, when implementing passthrough mode using the
SRAM of the NTAG5 boost.
▪ Through MCUXpresso console, the user can configure the contactless bit rate (26.4kbps or 212kbps options) as well as the amount of data to exchange using passthrough mode.
▪ Passthrough mode is implemented from NFC reader to LPC side only.
▪ The PN5190 prints on the MCUXpresso console the outcome of the transaction and baud rate achieved.
▪ In order to handle passthrough communication, we are using GPIO interrupt handlers on the NTAG 5 boost + LPC55S69 side and hard coded timeout on the PN5190 + MCU side.
Required hardware and software material:
Hardware
▪ PNEV5190BP development board
▪ LPCXpresso55S69 Development Board
▪ OM2NTA5332 - NTAG5 boost development kit
▪ 3 x USB micro cables
Software
▪ Firmware Source Code for PN5190is attached to this article, containing keywork pn5190: mobileknowledge-nxp-connected-tags-pn5190-2cfb4c59b56e_v1.0.zip
▪ SDK_2.x_FRDM-K82F is already included in bundle mentioned above.
▪ Firmware Source Code for LPCXpresso55S69 is attached to this article, containing keyword lpc55s69: mobileknowledge-nxp-connected-tags-lpc55s69-5f2f9667cc60_v1.1.zip
▪ MCUXpresso IDE recent version (v11.6.0 or newer)
Demonstrator bring up:
Hardware assembly for LPCXpresso55S69:
• Connect NTAG5 Boost board to LPCXpresso55S69
• Make sure SW6 is on position 2-3 to enable 5V power on tag side.
• Connect LPCXpresso55S69 board to your computer (Debug Link Input).
• No additional power source is needed.
Hardware assembly for PNEV5190B:
• Connect two USB micro cables to PNEV5190B board for power, flashing firmware and UART connection
• Red LED indicates power is enabled
• Green LED debugging/UART status
Software loading on LPC55S69:
Import “lpcxpresso55s69_ntag5_passthrough_nolib” project to MCUXpresso IDE
• Install SDK_2_12_0_LPCXpresso55S69. SDK can be downloaded from
• https://www.nxp.com/security/login?service=https%3A%2F%2Fmcuxpresso.nxp.com%2Flogin%2F
• Build project and flash a binary file using GUI Flash Tool. After flashing, reboot your board. Blue LED must be enabled which means tag is waiting for field to be detected.
Under MCUXpresso:
1. Import project from file system
2. Select lpcxpresso55s69 project
3. Uncheck copy projects into workspace
Software loading on PNEV5190B:
• Unzip the “PN5190_NTAG5boost_Passthrough.zip” folder.
• Import all projects inside “PN5190_NTAG5boost_Passthrough” to MCUXpresso IDE
• Install SDK_2.x_FRDM-K82F. Such SDK is included in project file tree:
• nxp-connected-tags-pn5190\Platform\SDK_2.x_FRDM-K82F
• Build project and flash a binary file using GUI Flash Tool. After flashing, reboot your board. Blue LED must be enabled which means reader is waiting for NTAG5 to be detected.
• Start Debug session to see available bitrate options on the console.
Under MCUXpresso:
1. Import project from file system
2. Select all the projects
3. Uncheck copy projects into workspace
LED User Interface Specifications (same for LPCXpresso55S69 an PNEV5190B)
• Steady blue - waiting for Tag - discovery loop,
• Blinking green - passthrough transfer ongoing
• Steady green - all data transferred successfully.
• Steady red - error - tag lost during transfer.
Menu options when two boards have NFC antennas facing each other:
Two options of bitrate are available for transfer amount of data from host to NTAG5 Boost:
▪ standard 26.4 kbps or
▪ highest bit rate 212 kbps
It is possible to configure amount of data to be exchanged between PN5190 and NTAG 5 boost:
▪1KByte
▪2KBytes
▪10KBytes
Demonstration flow:
Once one of these option is selected, reader is ready to detect a tag.
▪ When tag is detected, reader configures selected bitrate and starts data exchange.
▪ Blinking green LED indicates transfer ongoing and the console shows a progress.
Here are some results of transaction at the different bit rates and data sizes offered by this demonstrator:
Data Size (Bytes) | Selected bitrate (kbps) | Result Bitrate (kbps) | Transfer time (ms) |
1024 | 26.4 | 2.8 | 357 |
1024 | 212 | 12.35 | 81 |
2048 | 26.4 | 2.8 | 714 |
2048 | 212 | 12.42 | 161 |
10240 | 26.4 | 2.7 | 3569 |
10240 | 212 | 12.41 | 806 |
High speed demo user manual can be also find attached to this article: 22-10-11 NXP - Connected Tags demonstrator User Manual.pdf
Conclusions: This demonstrator HW & SW can show that high speed interaction can be achieved between PN5190 (NFC Front end) and NTAG 5 boost, making use of available commands described in product support package.
Disclaimer: All SW available here is aimed only for evaluation purposes and NXP disclaims any direct or indirect liability damages, since referred SW bundles are not official part of PN5190/NTAG 5 boost standard product support packages available in nxp.com.