NXP Semiconductors QN9020 User Manual
NXP Semiconductors QN9020 User Manual

NXP Semiconductors QN9020 User Manual

Nfc-bluetooth low energy
Hide thumbs Also See for QN9020:

Advertisement

Quick Links

UM11118
NFC-Bluetooth Low Energy Quickstart Guide
Rev. 1.2 — 9 September 2019
475312
Document information
Information
Content
Keywords
NFC, Bluetooth Low Energy, QN9020, CLRC663
Abstract
This document describes QN9020 Mini Development board in combination
with the NFC CLRC663 plus Add-on board. Bluetooth Low Energy solution.
User manual
COMPANY PUBLIC

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for NXP Semiconductors QN9020

  • Page 1 Rev. 1.2 — 9 September 2019 User manual 475312 COMPANY PUBLIC Document information Information Content Keywords NFC, Bluetooth Low Energy, QN9020, CLRC663 Abstract This document describes QN9020 Mini Development board in combination with the NFC CLRC663 plus Add-on board. Bluetooth Low Energy solution.
  • Page 2 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Revision history Date Description • Change of the installation process 20190909 • New binary versions for the QN902x/EY revision 20181212 • Section "Smartphone Applications" updated • Editorial updates 20180410 Initial version UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 3: Introduction

    It provides an easy way to evaluate NFC features in the combination with Bluetooth Low Energy. The NFC-Bluetooth Low Energy package consists of two HW Boards boards, QN9020 Mini Development board and NFC RC663 Plus Add-on board. Both boards and software applications, used for demonstration, are described in next chapters.
  • Page 4: Hardware Description

    NXP QN9020 Bluetooth Low Energy SOC. The QN9020 Mini development board provides easy access to peripherals such as buttons, piezo buzzer and LED. The board also provides useful interfaces such as a USB port for UART communication and J-Link debug, and a GPIO/optional sensor board connector.
  • Page 5: Clrc663 Plus Add-On Board

    2.3 CLRC663 plus Add-on board CLRC663 plus Add-on board provides full NFC functionality and it is designed to be used with QN9020 development board. NFC frontend is represented with the CLRC663 multi-protocol NFC frontend IC. Figure below shows the board and main components.
  • Page 6: Schematics

    The complete schematics of the CLRC663 plus Add-on board are shown in following figures: Figure 3. CLRC663 plus Add-on board schematics Figure 4. QN9020 Board Connector UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved.
  • Page 7 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Figure 5. CLRC663 plus Add-on board - PSS View Figure 6. CLRC663 plus Add-on board - Top View UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved.
  • Page 8: Additional Resources

    Detailed description of the CLRC663 plus can be found on: • CLRC663 plus product webpage: https://www.nxp.com/products/:CLRC66303HN 2.4 NFC-Bluetooth Low Energy Development kit NFC-Bluetooth Low Energy Development kit consists of QN9020 Mini development board and CLRC663 plus Add-on board. Figure below shows how to assemble it in right way. UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 9 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Figure 8. NFC-Bluetooth Low Energy Development board Note: USB mini cable is used to power up the board and to flash new FW. UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 10: Software Description

    3.2 Block Diagram Figure 9. NFC-Bluetooth Low Energy Block Diagram 3.3 QN9020 Software Project This section describes how to manage software stack on the QN9020 board. UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved.
  • Page 11: Flash Fw To Enable Ota

    First step to set up the board is to flash FW which enables Over‐The‐ Air programming (OTA). OTA is used to upgrade the firmware of QN9020 over the air. More details about the OTA can be found in the "UM10994 - OTA Programming Guide".
  • Page 12: Prepared Fw Binaries

    3.3.2 Prepared FW Binaries NFC-Bluetooth Low Energy development kit is delivered with a prepared SW binary for QN9020. It can be flashed with "QBlue ISP Studio" tool as described in the previous chapter. Binaries are available in "FW_OTA_Bin_20170816.zip" file. Application descriptions: •...
  • Page 13: Source Code Of The Qn9020 Project

    NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 3.3.3 Source Code of the QN9020 project The source code of the NFC-Bluetooth Low Energy application is provided as a zip file and implements the complete functionality of the NFC-Bluetooth Low Energy application.
  • Page 14: Smartphone Applications

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Smartphone Applications 4.1 Introduction This chapter describes the installation process and functionality of the iOS and Android applications running on the smartphone. ® The main purpose of the application is to flash the NFC-Bluetooth...
  • Page 15: Ios Application

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2 iOS Application 4.2.1 Installation The application is only shared on demand. Note: iOS requirement: iOS 10.0 or later, Bluetooth. 4.2.2 Application Tabs The application has 3 main tabs: "Reader & Tag", "Detection" and "R/W" (Read/Write).
  • Page 16: Reader And Tag

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.3 Reader and Tag This page displays information about the connected reader. At the top left there is an info button, to navigate to the Info page of the application. At the top right is a refresh button, to recheck the connection status and with the “+”...
  • Page 17: Add Readers

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.4 Add Readers This page displays Bluetooth devices that are nearby, select one to connect to it. You get a message and will return to the Reader & Tag tab. Tapping the refresh button in the top right will rescan devices.
  • Page 18: Info Tab

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.5 Info Tab Here you can access: • About Information about the app. • Legal Notice License agreement and notices for libraries and other resources used. • Version The version number of the application.
  • Page 19: Change Firmware

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.6 Change Firmware NTAG – Supporting 21x product family ICODE – Supporting ICODE SLIX and SLIX 2 products ICODE ILT – Supporting ICODE ILT Figure 17. Change Firmware UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 20 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When pressing the NTAG, ICODE or ICODE ILT buttons, the App checks if the correct FW is loaded in the Bluetooth Low Energy IC. If correct FW is loaded, “Correct FW.” message pops-up.
  • Page 21 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If the FW needs an updated, then the message “need OTA” window pops-up. Figure 19. Need OTA UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved.
  • Page 22 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide By pressing YES, you have the option to select the file for the FW upgrade: ota_slx2.bin or ota_slx2_B4_new_version.bin for ICODE ota_Icode_ILT.bin or ota_Icode_ILT_B4_new_version.bin for ICODE ILT ota_ntag2.bin or ota_ntag2_B4_new_version.bin for NTAG Note: Use the binary files ending with "B4_new_version", with the QN902x/EY version and the...
  • Page 23 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide FW upgrade starts by selecting the file. When the update is finished a message with the execution time of the update appears. After pressing “yes”, you will get back to the “Reader & Tag” tab.
  • Page 24: Detection

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.7 Detection After connecting to a reader with correct FW, detection tab can be used. In the upper right, there is the refresh button, to check the connection to the reader. Figure 23. Detection Figure 24. Detection...
  • Page 25: Poll - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.7.1 Poll - NTAG & ICODE Scans for tags present on the reader at that time. Adds the Tag to the table or displays the message “Tag not found”. Figure 25. Poll Figure 26. Poll UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 26: Lpcd - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.7.2 LPCD - NTAG & ICODE Enables Low-Power Card Detection mode and detects the Tag when it approached the reader antenna. After the tag has been read, it disables and reenables the LPCD mode after a short delay.
  • Page 27: Continuous Polling - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.7.3 Continuous Polling - NTAG & ICODE Continuously checks for presence of a tag on the reader, if a tag is found the tag is added to the table, else the “00 00 00 00 00 00 00 00” row is added.
  • Page 28: Icode Ilt

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.7.4 ICODE ILT The detection tab for ICODE ILT is represented with a bigger table and a poll button. Upon pressing the poll button, all the ICODE ILT tags present on the reader are detected and added to the table.
  • Page 29: R/W

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.2.8 R/W This tab is used to read and write the Tag content. Data is read into the table. First column represents the number of the page, the second the data in HEX format and the third data as ASCII characters.
  • Page 30 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When finished with the editing of a field you can continue with further editing of another field. Before writing the edited data to the tag press return on the keyboard to save the edited input.
  • Page 31 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If input is shorter than 4/2 bytes (NTAG & ICODE / ICODE ILT), an error message will be displayed showing the right input format. Figure 35. R/W UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 32 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When switching to the ASCII mode, you can edit the 3 column. If the data was changed the color of the field changes to cyan. If you enter something else than 4/2 (NTAG & ICODE / ICODE ILT) characters, an error message will be displayed showing the right input format.
  • Page 33 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide After pressing write, you will either get an “Data has not been changed” message or a dialog indicating a successful write. Figure 38. R/W Figure 39. R/W UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 34 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If the tag was removed, or another unexpected error occurred, while reading/writing the dialog, “read/write fail” appears. Figure 40. R/W Figure 41. R/W UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 35: Android Application

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3 Android Application 4.3.1 Installation Follow the guidelines described below: • Download the NXP AppCatalog .apk file from the link below http://repo.relution.io/apps/ android/latest/Relution-nxp-release.apk • Install the NXP AppCatalog application and open it.
  • Page 36: Application Tabs

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.2 Application Tabs The app has 3 main destinations: Reader & Tag, Detection and Read & Write; and 2 additional destinations: About and Legal Notice. Detection and Read & Write are enabled only if the phone is connected to a suitable reader (indicated by “Ready”...
  • Page 37: Reader And Tag

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.3 Reader and Tag This page displays information about the connected reader. At the top left there is a menu button, to open the navigation drawer of the application. At the top right, there is a refresh button, to recheck the connection status.
  • Page 38: Connect Reader

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.4 Connect Reader This page displays nearby Bluetooth Low Energy devices with the suiting UUID. To connect to a device, select the device from the list, you will get a message and will return to the Reader &...
  • Page 39: Change Firmware

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.5 Change Firmware NTAG – Supporting 21x product family ICODE – Supporting ICODE SLIX and SLIX 2 products ICODE ILT – Supporting ICODE ILT Figure 47. Change Firmware UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 40 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When pressing the NTAG, ICODE or ICODE ILT buttons, the App checks if the correct FW is loaded in the Bluetooth Low Energy IC. If correct firmware is loaded, “Right Firmware” message pops-up.
  • Page 41 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If a button with a different firmware than the current is clicked, you are navigated to the firmware selection page. You can select the file for the firmware upgrade from the following list: •...
  • Page 42 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Figure 49. Firmware upgrade UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved. User manual Rev. 1.2 — 9 September 2019 COMPANY PUBLIC...
  • Page 43 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Firmware upgrade starts by selecting the file, a progress bar is shown. When the update is finished, “Update Success” message appears with the execution time of the update and speed underneath. Press “OK” and you return to the “Reader & Tag” tab. Reconnect the reader after the update.
  • Page 44: Detection

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.6 Detection After connecting to a reader with correct firmware, the detection tab can be used. In the upper right, there is the refresh button, to check the connection to the reader and the tag type.
  • Page 45: Poll - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.6.1 Poll - NTAG & ICODE Scans for tags currently present on the reader. Returns the Tag in the table or “Tag not found” message. Figure 54. Poll Figure 55. Poll UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 46: Lpcd - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.6.2 LPCD - NTAG & ICODE Enables Low-Power Card Detection mode and detects the Tag when it approached the reader antenna. After the tag has been read, it disables and reenables the LPCD mode after a short delay.
  • Page 47: Continuous Polling - Ntag & Icode

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.6.3 Continuous Polling - NTAG & ICODE Continuously checks for presence of a tag on the reader. If a tag is found the tag is added to the table, else a row with all zeros is added.
  • Page 48: Icode Ilt

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.6.4 ICODE ILT The detection tab for ICODE ILT is represented with a bigger table and a poll button. Upon pressing the poll button, all the ICODE ILT tags present on the reader are detected and added to the table.
  • Page 49 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Upon successful detection, any tag entry in the table can be tapped to be activated for reading/writing. If the activation was successful, the message “Tag activation success” appears and you are automatically navigated to the Read & Write tab where the tag is read.
  • Page 50: R/W

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 4.3.7 R/W This tab is used to read and write the Tag content. Data is read into the table. First column represents the number of the page, the second the data in HEX format and the third data as ASCII characters.
  • Page 51 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When finished with the editing of a field you can continue with further editing of another field. If the data in a field was changed the color changes to green. When editing data in HEX mode, you can only input HEX characters other input is disabled.
  • Page 52 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If input is shorter than 4/2 bytes (NTAG & ICODE / ICODE ILT), an error message will be displayed showing the right input format. Figure 66. R/W expected input format UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 53 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide When switching to the ASCII mode, you can edit the 3 column. If the data was changed the color of the field changes to green. If you enter something else than 4/2 (NTAG & ICODE / ICODE ILT) characters, an error message will be displayed showing the right input format.
  • Page 54 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide After pressing write, you will either get an “Data did not change” message or a message indicating a successful write. Figure 69. R/W data did not change Figure 70. R/W write success UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 55 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide If the tag was removed, or another unexpected error occurred, while reading/writing the dialog, “read/write fail” appears. Figure 71. R/W Figure 72. R/W UM11118 All information provided in this document is subject to legal disclaimers.
  • Page 56: Radio Equipment Directive (Red)

    UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide 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 57: Legal Information

    Customer is responsible for doing all necessary testing for the customer’s applications and products using NXP Semiconductors products in order to avoid a Draft — The document is a draft version only. The content is still under...
  • Page 58 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Tables Tab. 1. Characteristics ..........56 UM11118 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2019. All rights reserved. User manual Rev. 1.2 — 9 September 2019...
  • Page 59 UM11118 NXP Semiconductors NFC-Bluetooth Low Energy Quickstart Guide Figures Fig. 1. QN9020 Mini Development kit ......4 Fig. 37. R/W ..............32 Fig. 2. CLRC663 plus Add-on board ......5 Fig. 38. R/W ..............33 Fig. 3. CLRC663 plus Add-on board schematics ..6 Fig.
  • Page 60: Table Of Contents

    Block Diagram ..........10 QN9020 Software Project ........10 3.3.1 Flash FW to enable OTA .........11 3.3.2 Prepared FW Binaries ........12 3.3.3 Source Code of the QN9020 project ....13 Smartphone Applications .........14 Introduction ............14 iOS Application ..........15 4.2.1 Installation ............15 4.2.2 Application Tabs ..........

This manual is also suitable for:

Clrc663Nfc-bluetooth low energyQn9020dkClrc663 plus

Table of Contents