The LPCXpresso55S69 development board provides the ideal platform for evaluation of and development with the LPC55S6x MCU based on the Arm® Cortex®-M33 architecture. The board includes a high performance onboard debug probe, audio subsystem and accelerometer, with several options for adding off-the-shelf add-on boards for networking, sensors, displays and other interfaces.
The LPCXpresso55S69 is fully supported by the MCUXpresso suite of tools, which provides device drivers, middleware and examples to allow rapid development, plus configuration tools and an optional free IDE. MCUXpresso software is compatible with tools from popular tool vendors such as Arm and IAR, and the LPCXpresso55S69 may also be used with the popular debug probes available from SEGGER and P&E Micro.
Following hardware is required to run the project:
LPC55S69-EVK development board.
CLEV6630B board or BLE-NFC-V2 board.
It is easier to use the BLE-NFC-V2 board since it can be just plugged on top of the arduino interface available on the LPCXpresso55S69 board.
The following figure shows the pin mapping between the two boards.
The CLEV6630B board consists of CLRC663 plus (NFC frontend) connected by default to an LPC1769 µC via SPI. However, the board is made in such a way that the LPC1769 MCU can be bypassed to connect to an external MCU (in our case the LPC55S69) easily. For doing so:
Six resistors from the board need to be removed. These are highlighted in red in the Figure 1:
Use the SPI pin connectors available on the left-hand side, on the board edge to connect to external MCU (LPC55S69 in this case)
Solder jumper wires onto the following pins of CLEV6630B Board:
The CLEV6630B is shown in Figure 2 after the required changes have been made to it (Removal of resistors and soldering of wires).
Now connect the two boards as follows:
Running Basic Discovery Loop on LPC55S69:
If this is the first time you’re using LPC55S69-EVK board, follow the getting started guide first à LPC55S69-EVK | NXP . Make sure to install the SDK package for LPC55S69-EVKboard which is required for the project below to run.
Download either‘lpcxpresso55s69_BasicDiscoveryLoop_CLEV6630b' or 'lpcxpresso55s69_BasicDiscoveryLoop_BLE-NFC' package which you will find attached to this post.
Now that the package has been imported to the MCUXpresso IDE (via drag and drop), click on Debug icon from the Quickstart panel to begin a debug session. Once the debug session has started, click on the run icon to run the code:
The project should be running now. The project contains basic discovery loop functionality. Here is how the output looks like in the terminal.
Bring any NFC card near the frontend’s antenna and the output console will show the detection and type of the card. For example, in the picture below, we can see that type 4A card was detected:
Running other NFC Reader Library examples on LPC55S69:
Once the “lpcxpresso55s69_BasicDiscoveryLoop” project is running on the LPC55S69. Running other examples from is simple. First step is to install the NFC Reader Library :
Go to the Downloads tab and click on the download button
Click download on the NFC Reader Library for Kinetis K82F package.
Import the library package in the workspace. The easiest way is to use the Quick Start Panel on the left-hand side:
Click on Import project from file system
Then, browse the library package in your file system.
Click Finish to import it all to your workspace.
After completing the import wizard, all projects are listed in the “Project Explorer” window. As can be seen in the screenshot, it contains different folders:
API documentation folder
Driver Abstraction Layer
The platform support (in the screenshot, corresponding to the LPC support)
The software examples
The Reader Library implementation
And the OS abstraction layer
Running "NfcrdlibEx9_NTagI2C" on LPC55S69:
Here we use the “NfcrdlibEx9_NTagI2C” example from the reader library to describe the method. The same method can be used to run other examples from the NFC Reader Library.
To run "NfcrdlibEx9_NTagI2C" on LPC55S69, we look at "lpcxpresso55s69_BasicDiscoveryLoop" project (available as a download below) and "NfcrdlibEx9_NTagI2C" project (from the Reader Library). We make changes to the following folders:
In “intfs” folder remove everything except the “phaApp_Init.h” file. Then go to the “intfs” folder of the NFC Reader Library example you want to run (“NfcrdlibEx9_NTagI2C” in this case), and copy all the files except “phaApp_Init.h” and paste them in the original “intfs” folder.
In line 57 of the “ph_NxpBuild_App.h” file in “intfs” folder, replace
Go to “source” folder and remove every file except “phApp_Init.c“ and “semihost_hardfault.c” files. Then go to “src” folder of the example you want to run (“NfcrdlibEx9_NTagI2C” in this case) and copy all the files except “phaApp_Init.c” and paste them into the “source” folder.
Finally, copy the main file of the example you want to run (NfcrdlibEx9_NTagI2C in this case) and paste it into the “source” folder as well. The project is ready to build and run on LPC55S69.