Table of Contents

Advertisement

Quick Links

AN11211
Quick Start Up Guide RC663 Blueboard
Rev. 1.6 — 10 November 2013
226216
Document information
Info
Content
Keywords
RC663, Blueboard, LPCXpresso, MCU, Code Red, eclipse, LPC1114,
LPC1115, LPC1227, reader library
Abstract
This application note is related to the installation procedures of the
RC663 Blueboard. It describes the actions to be done to become
acquainted with the demo reader.
Application note
COMPANY PUBLIC

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for NXP Semiconductors AN11211

  • Page 1 AN11211 Quick Start Up Guide RC663 Blueboard Rev. 1.6 — 10 November 2013 Application note 226216 COMPANY PUBLIC Document information Info Content Keywords RC663, Blueboard, LPCXpresso, MCU, Code Red, eclipse, LPC1114, LPC1115, LPC1227, reader library Abstract This application note is related to the installation procedures of the RC663 Blueboard.
  • Page 2 AN11211 NXP Semiconductors Blueboard Quick Startup Guide Revision history Date Description 20131110 Added a note about the LPCXpresso IDE version in chapter 4 20130613 Added description about the P2P Snep Client 20130221 Added description of the P2P project. Added description of the I²C configuration for the Blueboard version 3.0 and above.
  • Page 3: Fig 1. Picture Of Rc663 Demo Board

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 1. Introduction This application note gives a detailed overview of the hardware for working with the RC663 contactless reader - we use the LPCXpresso LPC 1114/301 and the Blueboard (Chapter 2)- the installation procedures of the Development Environment (Chapter 4.1) and the handling of the reader projects using the NXP Reader Library (Chapter 4.2).
  • Page 4: Fig 2. Picture Of Solder Bridges

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide antenna. The RC663 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...
  • Page 5: Ce Certification Of The Blueboard

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide • SLRC610 Blueboard This Blueboard with the RC610 works with ISO/IEC 15693 tags only. To use this Blueboard, one will have to manually change one parameter in the NXP Reader Library. In the folder ../src/NxpRdLib_PublicRelease/intfs/ open the file “phhalHw_Rc663_Reg.h”...
  • Page 6: Fig 3. Picture Of Lpcxpresso Lpc1114 Development Board

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 3. Picture of LPCXpresso LPC1114 development board 2.4 Alternative to the LPCXpresso LPC1114 With the provided code one can use the LPCXpresso LPC1115 (12NC: 935297664598, Type: OM13035+598) instead of the LPCXpresso LPC1114 without the need of any adaptation in the code.
  • Page 7: Fig 5. Lpcxpresso With The Multipoint Connectors

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide After soldering the connectors connect the boards as shown on the following figures. Fig 5. LPCXpresso with the Multipoint Connectors Now the hardware is ready for use. Please connect the LPCXpresso board to the Blueboard.
  • Page 8: Fig 9. Connect The Two Boards The Alternative Way

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 9. Connect the two boards the alternative way 2.6 Interesting points of measurement Although the Blueboard is not designed to do extended measurements, there are some points of measurement one might be interested in.
  • Page 9: Fig 11. Pin Rxn

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 11. Pin RXN 2.6.3 TVDD - transmitter voltage supply RC663 – Pin 18 Fig 12. Pin TVDD 2.7 Preparing the Blueboard for the use with SPI or I The Blueboard is generally delivered in I C configuration, for this reason one only needs to change the configuration if the use of the board in SPI configuration is desired.
  • Page 10: Fig 13. Blueboard In Spi Configuration

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 6. Close the bridge at R12 See the picture of the Blueboard in SPI configuration below. Fig 13. Blueboard in SPI configuration To use the Blueboard in SPI configuration with the provided software projects, one has to execute two small adaptations in the code, which are described in section 7.5.
  • Page 11: Fig 15. Enumeration Of The Lpcxpresso Board In Device Manager Window

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 3. Installation of the LPCXpresso Board The guidelines to install the reader are as follows: • Connect the LPCXpresso Board to a real USB2.0 port of the PC (for speed reasons) using the mini-USB connector. The PC detects and installs the Board automatically.
  • Page 12: Fig 16. Lpcxpresso Installation Setup Wizard 1

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide This tool can freely be downloaded from the LPCXpresso website [2]. Before one can download the software, it is necessary to create an account. Creating an account is absolutely free. 4.1 Installation of LPCXpresso IDE The IDE is installed into a single directory of one’s choice.
  • Page 13: Fig 17. Lpcxpresso Installation Setup Wizard 2

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 17. LPCXpresso installation setup wizard 2 There are numbers of other screens on the setup wizard but generally the default options can be accepted. After installation, an information file will be displayed. Click “Next” to accomplish the installation.
  • Page 14: Fig 19. Windows Security Dialog

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 19. Windows Security dialog After the setup wizard has finished one can launch the newly installed IDE. Fig 20. LPCXpresso installation setup wizard 4 AN11211 All information provided in this document is subject to legal disclaimers.
  • Page 15: Fig 21. Lpcxpresso Ide

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 21. LPCXpresso 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.
  • Page 16: Fig 23. Product Activation

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 23. Product activation If one doesn’t already have an account at Code Red, please sign up to get an activation code. The code will be sent to the provided e-mail address. Fig 24. Product activation Once the activation code arrives please open the activation window by pointing to Help ...
  • Page 17: Fig 25. Importing A Project Into The Lpcxpresso Ide

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide • The software package is ready for use. Fig 25. Importing a project into the LPCXpresso IDE In the Quick Panel on the left hand side, choose “Import projects(s)”. AN11211 All information provided in this document is subject to legal disclaimers.
  • Page 18: Fig 26. Importing A Project Into The Lpcxpresso Ide

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 26. Importing a project into the LPCXpresso IDE Browse the desired project and click “Next”. Fig 27. Importing a project into the LPCXpresso IDE When the import process has finished one can start browsing the code. Most interesting might be the main.c which is located in ../src/main.c in the project.
  • Page 19: Fig 28. Run The Project

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 4.3 Start the project One can quickly start the reader project by editing the main function in the module main.c. This function first performs the hardware initializations of the LPC1114/301 and the RF transceiver RC663.
  • Page 20: Fig 29. Run The Project

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 29. Run the project After the build process one can see the size of the image in the console window. Fig 30. Run the project The initialization of the LPC-Link can take a few seconds.
  • Page 21: Fig 31. Run The Project

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 31. Run the project After the software upload, the execution of the project starts immediately. Fig 32. Run the project In the console window at the bottom one will see the debug output of the execution.
  • Page 22: Fig 33. Stop The Project

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 33. Stop the project After the execution has reached the end of the main function please click the Terminate button to stop the execution. Otherwise one won’t be able to rerun the project.
  • Page 23: Associated Projects

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 5. Associated Projects 5.1 Communication with MIFARE Ultralight Based on examples the MIFARE Ultralight project shows how read-write access can be achieved on this type of card. If one uses a card which is not write protected or secured the example program writes a valid NDEF message onto the card.
  • Page 24: Fig 35. Importing The Project

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 35. Importing the project After the import there are two new projects in the workspace - one for the use with the RC663 Blueboard and one for the use with the PN512 Board. Basically these two projects provide the same functionality.
  • Page 25: Choosing The Ndef Message

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 2. Detecting the RF field for an NFC peer of the tag type F. The software checks the RF field whether there is tag type F capable of performing the P2P communication 3. Once such device is found, the LLC link is activated in compliance with the procedure defined by the NFC forum [11].
  • Page 26: Fig 36. Tusa Board

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Table 1. Table of files prepared for NDEF message transmission Identifiers from the last two columns are necessary for choosing the right line from n_mess[]. NDEF message File type Content Header Name identifier...
  • Page 27: Fig 37. Modification On The Lpcxpresso Board

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 37. Modification on the LPCXpresso Board To get a more detailed description of the Tusa Board and the modifications in the LPCXpresso controller board, please visit the product website at Silica [7].
  • Page 28: Fig 39. Architecture Of The Nxp Reader Library

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 39. Architecture of the NXP reader library For a detailed description of the NXP Reader Library please refer to the user manual UM10663 - NXP Reader Library User Manual based on CLRC663 and PN512 Blueboard Reader projects.
  • Page 29: Application Layer

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide • ISO/IEC 14443-4A/B, • MIFARE, • ISO/IEC15693, • FeliCa, • NFC Initiator 7.1.4 Application layer Lying on the previous software layers, the application layer is on top of the reader software package. It combines elements from the previous three parts into high level functionalities.
  • Page 30: Fig 40. Select The Build Configuration

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 40. Select the build configuration 7.3 Level of compiler optimization When the code size at the current compiler level overloads the FLASH size of the target board (32K for the ARM-based microcontroller LPC 1114), a higher compiler optimization level can be selected to reduce the code size of the project.
  • Page 31: Fig 41. Select The Level Of Optimization

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 41. Select the level of optimization 7.3.1 Optimization issues When optimization is enabled, it will reorder code. What this means is that the code from multiple C lines will be intermingled. In addition, assignments and initializations might be pulled out of loops so they are only executed once.
  • Page 32: Preparing The Projects For The Use Of The Blueboard In Spi Configuration

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 7.5 Preparing the projects for the use of the Blueboard in SPI configuration To use the projects in SPI configuration one has to do some small adaptations in the file hw_config.h located in ..\src\.
  • Page 33: Fig 42. Open Current Launch Configuration

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 42. Open Current Launch Configuration 2. Choose the Debug configuration 3. Choose the tab Debugger 4. Uncheck the box near “Stop on startup at:” 5. Click onto Apply and then Close. AN11211 All information provided in this document is subject to legal disclaimers.
  • Page 34: Fig 43. Disable The Initial Breakpoint

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide Fig 43. Disable the initial breakpoint 7.7 Replacing the LPCXpresso LPC1114 with the LPCXpresso LPC1115 Solder the multipoint connector onto the LPCXpresso LPC1115 in the same way as shown in Chapter 2.5. At this point there is no difference between the LPC1114 and the LPC1115.
  • Page 35: Replacing The Lpcxpresso Lpc1114/Lpc1115 With The Lpcxpresso Lpc1227

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 7.8 Replacing the LPCXpresso LPC1114/LPC1115 with the LPCXpresso LPC1227 Solder the multipoint connector onto the LPCXpresso LPC1227 in the same way as shown in Chapter 2.5. At this point there is no difference between the LPC1114/LPC1115 and the LPC1227.
  • Page 36: References

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 8. References RC663 and NXP Reader Library http://www.nxp.com/documents/application_note/AN11021.pdf LPCXpresso website www.nxp.com/redirect/lpcware.com/lpcxpresso/downloads/older RC663 data sheet http://www.nxp.com/documents/data_sheet/CLRC663.pdf LPC11XX family User Manual http://www.nxp.com/documents/data_sheet/LPC111X.pdf Multipoint Connectors we used: Grid Dimension: 2.54mm, at least 27 pins www.nxp.com/redirect/conrad.at/ce/de/product/741119/STIFTLEISTE-1-X-36- POLIG-VERGOL-RM-254 www.nxp.com/redirect/conrad.at/ce/de/product/736427/BUCHSENLEISTE-...
  • Page 37: Legal Information

    In no event shall NXP Semiconductors, its affiliates or their suppliers be consequences of use of such information.
  • Page 38: Table Of Contents

    AN11211 NXP Semiconductors Blueboard Quick Startup Guide 10. List of figures Fig 1. Picture of RC663 demo board ......3 Fig 22. Product activation ..........15 Fig 2. Picture of solder bridges ........4 Fig 23. Product activation ..........16 Fig 3.
  • Page 39: Contents

    'Legal information'. © NXP B.V. 2013. All rights reserved. For more information, visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 10 November 2013 226216 Document identifier: AN11211...

Table of Contents