NXP Austria CLEV6630B HW manual

AN11211
Quick Start Up Guide RC663 Blueboard
Application note
COMPANY PUBLIC
Document information
Info
Content
Keywords
CLRC663, Blueboard, LPCXpresso, MCU, Code Red, eclipse, LPC1769,
Abstract
This application note is related to the installation procedures of the
NFC Reader Library, CLEV663B
CLEV6630B Blueboard. It describes the actions to be done to become acquainted with the demo reader.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
2 of 39
Contact information
For more information, please visit:
Revision history
Rev
Date
Description
2.6
20170105
Updated Blueboard CLEV6630B and ex ample des cript ion s
2.5
20161123
Updated examples descriptions
2.4
20160901
Added LPCXpresso version 8.1.4 requirement
2.3
20160323
Added description about Ex10 – MIFARE DESFire
2.2
20160125
Added description about LPC11U68 support.
2.1
20151111
Updated all relevant parts in respect to the NFC Reader Library update
2.0
20150707
Changed chapter 2 based the Blueboard version 3.0. (version 2.1 removed)
1.9
20141201
Added a note about RAM limitation of LPC1227
1.8
20140721
Updates in the description regarding the TUSA board.
1.7
20140519
Removed the note about the version of the LPCXpresso IDE.
All projects are now based on the NFC Reader Library version 3.010. Therefore all projects
1.6
20131110
Added a note about the LPCXpresso IDE version in chapter 0
1.5
20130613
Added description about the P2P Snep Client
1.4
20130221
Added description of the P2P project.
1.3
20120913
Small corrections of the TUSA description
1.2
20120822
Insertion of the description for the 3rd party “Tusa” Board
1.1
20120704
Small text corrections
1.0
20120604
First release
Changed note about RTOS option
Removed LPC1227 support
Changed chapter 4 installation LPCXpresso IDE Added chapter 5.4 ICODE Demo Project Added chapter 7.2 ICODE Software Architecture Chapter 8 – added new links related with ICODE
Some small corrections. Changed the description and pictures of the projects Polling and, Classic Changed the description of the P2P description due to a software update. Removed the description about the projects Ultralight and DESFire.
have been refactored. Added support for the development board LPCXpresso LPC1769 which is based on an
ARM Cortex M3 microcontroller. The NXP Reader Library is now called NFC Reader Library
Added description of the I²C configuration for the Blueboard version 3.0 and abov e. Added information about the use of the projects in conjunction with the LPC1227 MCU. Added information about the documentation of the NFC Reader Library. Added information about the exemplary project of code size optimization of the NFC Reader Library.
http://www.nxp.com
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
3 of 39
Example
Description
NfcrdlilbEx1_BasicDiscovery
Explains how to poll for different technologies (Tag, P2P,
NfcrdlilbEx2_AdvancedDiscovery
Explains how to poll for different technologies (Tag, P2P, NfcrdlilbEx4_MIFARE Classic
Explains the usage of standard MIFARE commands.
NfcrdlilbEx5_ISO15693
Explains the usage of this technology and provides an NfcrdlilbEx7_EMVCo_Polling
Explains polling for EMVCo payment cards.
NfcrdlilbEx9_NTagI2C
Explains NTAG-I2C specific commands.
NfcrdlilbEx10_MIFAREDESFire
Explains the usage of MIFARE DESFire cards. (This NfcrdlibEx11_ISO10373_PCD
Example is used to perform ISO 10373-6 PCD compliance
Nfcrdlib_SimplifiedAPI _EMVCo
EMVCo loopback application with simplified API, which can
Nfcrdlib_SimplifiedAPI _ISO
Explains how to use simplified API with different types of
ICODE ILT/SLI
Extensively explains the communication with ICODE ILT and

1. Introduction

This application note gives a detailed overview of the hardware for working with the RC663 contactless reader – Blueboard CLEV6630B (Chapter 2) – the installation procedures of the Development Environment (Chapter 3.2) and the handling of the reader projects using the NFC Reader Library (Chapter 3.4).
The projects used and explained in this documentation are:
Table 1. Example projects
Example projects delivered with the NFC Reader Library
Loop
Loop
HCE), detect and report them. Default configuration parameters are used.
HCE), detect and report them. All configuration parameters are used and explained.
overview about the most common commands.
example is delivered with NXP Reader Library version available via NXP DocStore )
validation.
be used for EMVCo level 1 digital certification
cards.
ICODE SLI tags. This example is provided in a separate package.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
4 of 39
Fig 1. Picture of RC663 demo board

2. Hardware overview of the Demo Board

Customer Evaluation Board CLEV6630B demo board is the primary platform for the RC663 reader chip and the current version is Blueboard v2.0. (see Fig 1).

2.1 CLEV6630B demo board (Blueboard)

The CLRC663B V2.0 demo board embeds the contactless communication transceiver IC CLRC66303 with all its elements needed for transmission: EMC filter, matching network and the antenna and LPC1 769 MC U with SWD/JTAG interface. The RC66303 supports different kind of contactless communication methods and protocols at 13.56 MHz:
Reader/Writer mode supporting ISO/IEC14443A/MIFARE,
Reader/Writer mode supporting ISO/IEC14443B,
Reader/Writer mode supporting FeliCa scheme,
Passive initiator mode according to NFCIP-1
Reader/writer supporting ISO/IEC 15693,
Reader/writer supporting ISO/IEC 18000-3 Mode 3,
Refer to the data sheet of this IC [2]
for more details
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
5 of 39
Fig 2. Picture of jumper settings
The voltage of the power supply VDD, the pad supply PDD and the transmitter supply can also be configured independently to 3.3 V or 5 V using the jumpers.

2.2 CE certification of the Blueboard

The current version of the Blueboard (CLEV6630B V2.0) is CE (European Conformity) compliant.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
6 of 39
Item
Version
Description
CLEV663B
2.0
Customer Evaluation board (hardware)
LPC-Link 2
1.0
Standalone debug adaptor (hardware)
LPCXpresso IDE
8.1.4 or higher
Development IDE (PC software)
Fig 3. LPCXpresso installation NXP Debug drivers

3. Managing the Demo Reader proj e ct wit h LP CX presso IDE

The example reader projects are delivered in a zip package. It can be extracted, edited, compiled and linked with LPCXpresso IDE.
LPCXpresso is a new, low-cost development platform available from NXP. It supports NXP's ARM-based LPC microcontrollers. The platform is comprised of a simplified Eclipse-based IDE and low-cost target boards whic h in clude an attac hed JTAG debugger.
This tool can freely be downloaded from the LPCXpresso website [1]

3.1 Development environment

To use CLEV6630B prepared software package all components listed in the Table 2 are required.
Table 2. Development Environment
.

3.2 Installation of LPCXpresso IDE

The IDE is installed into a single directory of one’s choice. Multiple versions can be installed simultaneously without side effects. Be sure to download LPCXpresso IDE version 8.1.4 or higher. The installation starts after double-clicking the installer file.
Make sure, the checkboxes for installing the NXP Debug drivers are activated.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
7 of 39
Fig 4. Windows Security dialog
Fig 5. LPCXpres so IDE
During the installation, the user will be asked if he wants to install some required drivers. The installation of these drivers should be accepted.
After the setup wizard has finished one can launch the newly installed IDE.
Directly after the first start of the Eclipse IDE one will see an info dialogue that this is only an unregistered copy of LPCXpresso IDE. Just confirm the dialog and follow the instructions on the Welcome Screen to get a registered version without the debug limit of 8k. The registration is free and can be done at the LPCware website. The Link is shown in the menu, Help Activate Create Serial number and register...
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
8 of 39
Fig 6. Product activation (1)
Fig 7. Product activation (2)
If one doesn’t already have an account at LPCware, please sign up to get an activation code. The code will be sent to the provided e-mail address.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
9 of 39
Fig 8. Product activation (3)
Once the activation code arrives please open the activation window by pointing to Help Activate Activate (Free Edition), and enter the code. The success of the product activation will be confirmed by an info dialogue.

3.3 Extraction of the demo reader project

All demo reader projects are divided into several sub projects. One project that contains the NFC Reader Library, one project that contains the
FreeRTOS operating system, two projects that contains all hardware dependent parts and example application projects.
All projects are distributed in one zip package that can be imported into the LPCXpresso IDE in one single action. The following example is based on this package.
The sequence of installing the reference reader projects is indicated:
Start the LPCXpresso IDE.
Select the option “Import project(s)” (see picture below).
Browse the zip archive.
LPCXpresso IDE unzips the software package.
The software package is ready for use.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
10 of 39
Fig 9. Importing project (1)
Fig 10. Importing project (2)
In the Quick Panel on the left hand side, choose “Import projects(s)”.
Browse the desired package and click “Next”.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
11 of 39
Fig 11. Importing project (3)
For a working single example project you need to import at least five sub projects. One example project, the NFC Reader Library, FreeRTOS and MCU projects.
When the import process has finished one can start browsing the code.

3.4 Running and debugging a project

This description shows how to run the “NfcrdlibEx1_BasicDiscoveryLoop” example application for the CLEV6630B evaluation development board. The same basic principles will apply for all other examples. In cases where example will need additional configuration this will be detailed described in the example description.
First of all you need to ensure that your evaluation board is connected to the computer via LPC-LINK2, as shown in Fig 12.
NXP Semiconductors
AN11211
Blueboard Quick Startup Guide
AN11211
All information provided in this docum ent is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
Application note COMPANY PUBLIC
Rev. 2.6 — 5 January 2017
226226
12 of 39
Fig 12. CLEV6630B with LPC-Link2
Fig 13. Launch debug session
When debug is started, the program is automatically downloaded to the target and it´s programmed to the LPC1769 flash memory; a default breakpoint is set on the first instruction in main (), the application is started (by simulating a processor reset), and code is executed until the default breakpoint is hit.
To start debugging your application, simply highlight the project in the Project Explorer and then in the Quick start Panel click Debug, as shown in F ig 13. The LPCXpresso IDE will first build application, flash application binary and then will start with debugging.
Before running the project, please ensure that the correct microcontroller and the correct build configurations are chosen. Information about how to do this can be found in chapter
6.4
.
Loading...
+ 27 hidden pages