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.
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).
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”...
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ...
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.
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.
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.
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.
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.
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.
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.
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.
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].
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...
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].
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.
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.
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.
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.
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\.
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.
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.
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.
Need help?
Do you have a question about the AN11211 and is the answer not in the manual?
Questions and answers