Let's take your LPCXpresso55S69 board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.
There are four micro-USB connectors on the board. One each for Full and High Speed USB, one for supplying power only and one for debug. Plug the USB cable into the one labeled +5 V Power Only as shown in the photo.
Your LPCXpresso55S69 board comes loaded with a program to verify that target MCU is running.
The application is active if the green LED in the RGB-LED flashed with a 1 Hz rate.
For this test you need:
Instructions:
OOB_test demo source code is available in SDK.
The software and tools installation is detailed in two short videos or you can choose to follow the steps below.
The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.
Click below to download a SDK release for the LPCXpresso55S69.
You can also use the online SDK Builder to create a custom SDK package for the LPC55S69-EVK using the SDK builder - The board name for the SDK is LPCXpresso55S69 SDK Builder.
NXP offers a complimentary toolchain called MCUXpresso IDE.
Want to use a different toolchain?
No problem! The MCUXpresso SDK includes support for other tools such as IAR, Keil and command-line GCC.
The MCUXpresso Config Tool is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects, and provides pin and clock tools to generate initialization C code for custom board support. It is fully integrated into MCUXpresso or you can download a seperate tool. Click the Get MCUXpresso Config Tools below to get the Config Tools installer.
To learn more about the basic interactions between the tools wh working with either an imported MCUXpresso SDK example project or creating a new project within the IDE, watch this three-part video series.
Basic Application Development Using MCUXpresso IDE and MCUXpresso Config Tools
To set up your LPCXpresso55S69 for use with 3rd party tools, first install LPCScrypt in order to install the board’s device drivers. The video below shows how to use LPCScrypt to program your board’s debug probe using this utility.
Most of the MCUXpresso SDK examples set up for IAR and Keil tools use the MCU UART for printf output, and this is also an option for the MCUXpresso IDE. If you are not sure how to use a terminal application try one of these tutorials:
Not sure how to use a terminal application? Try one of these tutorials:
MCUXpresso Terminal Tera Term Tutorial PuTTY Tutorial
The most recent versions of MCUXpresso IDE count with a terminal emulation application. This tool can be used to display information sent from your NXP development platform's virtual serial port.
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
A short video is provided to walk you through this process or you can follow along the steps below.
The MCUXpresso SDK comes with a long list of example applications code. To see what's available, browse
to the SDK boards folder of your SDK installation and select LPCXpresso55S69
(<SDK_Install_Directory>/boards/LPCXpresso55S69
).
To learn more about specific example code, open the readme.txt file in an example’s directory.
If one or more of the demo applications or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with MCUXpresso SDK guide provides easy, step-by-step instructions on how to configure, build, and debug demos for all toolchains supported by the SDK.
Use the guide below to learn how to open, build and debug an example application using the MCUXpresso IDE.
Using a different toolchain?
This demo is also available for IAR and KEIL.
Now its time to plug in the board to debug your project:
More details can be found in the SDK getting started documents found in the SDK folder.
(<SDK_Install_Directory>/docs/Getting Started with MCUXpresso SDK for LPC55xx.pdf
)
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples are listed below:
The following steps will guide you through opening the hello_world example
Click on the LPCXpresso55S69 board to select that you want to import an example that can run on that board, and then click on Next.
Use the arrow button to expand the demo_apps category, and then click the checkbox next to hello_world to select that project. To use the UART for printing (instead of the default semihosting), Select UART as the SDK Debug Console checkbox under the project options. Then, click on Finish.
Now build the project by clicking on the project name and then in the Quickstart Panel click on Build or press “Ctrl + b”. Or you can click on the hammer icon in the tool bar.
You can see the status of the build in the console tab.
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
*Note: In case of building errors, make sure that the correct Board is selected, right click in the project >> Options >> General Options >> Target >> Device, Select the LPC55S69, this board is support in the on IAR Embedded Workbench for Arm version 8.22.2 or Higher.
The LPCXpresso55S69 board comes loaded with the CMSIS-DAP debug interface from the factory. If you have changed the debug LPC-LINK2 application on your board, visit step 2.4 LPCScrypt tutorial in this getting started.
After the MDK tools are installed, Cortex® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the appropriate CMSIS pack.
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
This section contains the steps to install the necessary components required to build and run a KSDK demo application with the Arm GCC toolchain, as supported by the Kinetis SDK. There are many ways to use Arm GCC tools, but this example focuses on a Windows environment. Though not discussed here, GCC tools can also be used with both Linux OS and Mac OSX.
Download and run the installer from launchpad.net/gcc-arm-embedded. This is the actual toolchain (i.e., compiler, linker, etc.). The GCC toolchain should correspond to the latest supported version, as described in the Kinetis SDK Release Notes.
The Minimalist GNU for Windows (MinGW) development tools provide a set of tools that are not dependent on third party C-Runtime DLLs (such as Cygwin). The build environment used by the KSDK does not utilize the MinGW build tools, but does leverage the base install of both MinGW and MSYS. MSYS provides a basic shell with a Unix-like interface and tools.
Download the latest MinGW mingw-get-setup installer from sourceforge.net/projects/mingw/files/Installer/.
Run the installer. The recommended installation path is C:\MinGW, however, you may install to any location.
NOTE
The installation path cannot contain any spaces.
Ensure that the "mingw32-base" and "msys-base" are selected under Basic Setup.
Click "Apply Changes" in the "Installation" menu and follow the remaining instructions to complete the installation.
Add the appropriate item to the Windows operating system Path environment variable. It can be found under Control Panel -> System and Security -> System -> Advanced System Settings in the "Environment Variables..." section. The path is:
Assuming the default installation path, C:\MinGW, an example is shown below. If the path is not set correctly, the toolchain does not work.
NOTE
If you have "C:\MinGW\msys\x.x\bin" in your PATH variable (as required by KSDK 1.0.0), remove it to ensure that the new GCC build system works correctly.
Create a new system environment variable and name it ARMGCC_DIR. The value of this variable should point to the Arm GCC Embedded tool chain installation path, which, for this example, is:
C:\Program Files (x86)\GNU Tools Arm Embedded\4.9 2015q3
Reference the installation folder of the GNU Arm GCC Embedded tools for the exact path name of your installation.
Download CMake 3.0.x from www.cmake.org/cmake/resources/software.html.
Install CMake, ensuring that the option "Add CMake to system PATH" is selected when installing. It's up to the user to select whether it's installed into the PATH for all users or just the current user. In this example, the assumption is that it's installed for all users.
Follow the remaining instructions of the installer.
You may need to reboot your system for the PATH changes to take effect.
To build an example application, follow these steps.
1. If not already running, open a GCC Arm Embedded tool chain
command window. To launch the window, from the Windows operating
system Start menu, go to “Programs
-> GNU Tools Arm Embedded
Change the directory to the example application project directory, which has a path like this:
For this guide, the exact path is:
Type “build_debug.bat” on the command line or double click on the "build_debug.bat" file in Windows operating system Explorer to perform the build. The output is shown in this figure:
The GCC tools require a J-Link debug interface. To update the OpenSDA firmware on your board to the latest J-Link app, visit www.nxp.com/opensda. After installing the J-Link OpenSDA application, download the J-Link driver and software package from www.segger.com/downloads.html.
Connect the development platform to your PC via USB cable between the "SDAUSB" USB port on the board and the PC USB connector.
Open the terminal application on the PC (such as PuTTY or TeraTerm) and connect to the debug COM port you determined earlier. Configure the terminal with these settings:
Open the J-Link GDB Server application. Assuming the J-Link
software is installed, the application can be launched by going
to the Windows operating system Start menu and
selecting "Programs -> SEGGER -> J-Link
Modify the settings as shown below. The target device selection chosen for this example is the “MK64FN1M0xxx12” and use the SWD interface.
After it is connected, the screen should resemble this figure:
If not already running, open a GCC Arm Embedded tool chain
command window. To launch the window, from the Windows operating
system Start menu, go to "Programs -> GNU
Tools Arm Embedded
Change to the directory that contains the demo application output. The output can be found in using one of these paths, depending on the build target selected:
For this guide, the path is:
Run the command "arm-none-eabi-gdb.exe
Run these commands:
The application is now downloaded and halted at the reset vector. Execute the "monitor go" command to start the example application.
The hello_world application is now running and a banner is displayed in the terminal window.
The LPC55S69 is secure-by-design and supported by secure software driving the secure System on a Chip (SoC).
Document | Description |
---|---|
AN12278 LPC55S00 Security Solutions for IoT | This document lays out the differences and advances in the security systems for each LPC55Sxx MCU. |
AN12324 LPC55Sxx usage of the PUF and Hash Crypt to AES coding | How to securely generate, store and retrieve user keys using the root key. |
AN13094 Using FreeRTOS on LPC55Sxx Series Microcontrollers with TrustZone | How to use FreeRTOS in an ARMv8-M processor that supports TrustZone. |
TrustZone with ARMv8-M and the NXP LPC55S69-EVK | An introduction to the ARM TrustZone security feature using MCUXpresso SDK examples and the LPC55S69 EVK. |
How to Debug TrustZone Project on MCUXpresso IDE | Introduces debugging TrustZone on the LPCXresso55S69 board using “hello_world” as an example. |
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to security are listed below.
Several simple demonstrations are available in the TrustZone examples including a hello world, secure faults and secure gpio.
Path: <SDK_PATH>/boards/lpcxpresso55s69/trustzone_examples
How to use the PUF controller which provides secure key storage and then sends a secret key via dedicated HW bus directly to Hashcrypt, which uses this key to encrypt data.
Path:
MCUXpresso Secure Provisioning Tool
A GUI-based application provided to simple generation and provisioning of bootable executables on NXP MCU devices.
Document | Description |
---|---|
Using ConfigTool to Create USB Project From Start | Creating a USB project with MCUXpresso Config Tool and the LPCXpresso55S69-EVK. |
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to wired communications are listed below.
Demonstrates how to implement a command line shell application.
Path: <SDK_PATH>/boards/lpcxpresso55s16/demo_apps/shell
A number of driver examples exist within the SDK including GPIO, I2C, I2S, SPI and UART.
Path: <SDK_PATH>/boards/lpcxpresso55s69/driver examples
A number of USB examples for host and device operation exist within the SDK.
Path: <SDK_PATH>/boards/lpcxpresso55s69/usb_examples
Document | Description | Aplication Note Software |
---|---|---|
AN12805 Establish Secure Connection with Private Cloud | How to create a secure embedded software project with the LPCXpresso55S69 board. | Download |
Connecting the LPC55S69 to Amazon Web Services | Demo focused on the WIFI enablement and cloud connectivity through AWS using MCUXpresso and an Amazon Alexa. | - |
How to Add Peripherals to AWS IOT and Alexa Skills | Step-by-step approach to adding peripherals to your AWS IOT and Alexa Skills project. | - |
Several examples, demos and drivers are available within the SDK to help you get started. A common example related to wireless connectivity is listed below.
Shows use of NT3H2111_2211 NTAG I2C plus Connected NFC Tag with I2C Interface Chip and demonstrates basic communication with the device.
Path>
<SDK_PATH>/boards/lpcxpresso55s69/ntag_i2c_plus_examples/ntag_i2C_explorer_blink
The LPC55S69 platform includes two Arm Cortex-M33 cores running up to 100 MHz. Core 0 includes TrustZone, FPU and two 64-bit Accelerators. The DSP Accelerator is called the PowerQuad DSP co-processor.
Document | Description |
---|---|
AN12282 Digital Signal Processing for NXP LPC5500 Using PowerQuad | The PowerQuad co-processor is a DSP accelerator that aids the CPU cores in performing mathematical operations such as matrix calculations, filtering, and transform functions, including FFT. |
AN12335 LPC55xx/LPC55Sxx Dual Core Communication | The LPC55xx/LPC55Sxx provides a simple hardware means called Inter-CPU Mailbox mechanism for communication. |
AN12358 LPC55xx/LPC55Sxx Dual-Core Debug in MCUXpresso | How to debug the asymmetric dual cores of the LPC55S6x. |
LPC55xx Multicore Applications with MCUXpresso IDE | How to create, build and debug LPC55xx multicore applications using the LPC55S69-EVK and the MCUXpresso SDK. |
Several examples, demos and drivers are available within the SDK to help you get started. A common example related to multicore and hardware acceleration is listed below.
Includes how to set up projects for individual cores on a multicore system.
Path: <SDK_PATH>/boards/lpcxpresso55s69/multicore_examples
Document | Description |
---|---|
AN12939 Implementation of 5.1-channel Audio Solution on LPC55xx | The on-board DSP accelerator makes the LPC55S69 very suitable for USB audio applications. |
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to audio are listed below.
USB Host: Audio Speaker
Path:
<SDK_PATH>/boards/lpcxpresso55s69/usb_examples
The SDK for the LPC55S69 includes graphic examples using the Adafruit TFT LCD shield.
Software | Description |
---|---|
Graphical User Interfaces for NXP Microcontrollers | Learn more about your GUI options for NXP Microcontrollers. |
Open Source LittlevGL GUI Library on Adafruit Touch LCDs with NXP LPC55S69-EVK | Driving Adafruit LDC Display with Capacitive Touch and MCULib. |
LVGL Open-Source Graphics Library | LVGL is a free and open-source embedded graphic library with features that enable you to create embedded GUIs with intuitive graphical elements, beautiful visual effects and a low memory footprint. |
GUI Guider | A user-friendly graphical user interface development tool from NXP that enables the rapid development of high quality displays with the open-source LVGL graphics library. |
NXP emWin Libraries | NXP has partnered with SEGGER Microcontroller to offer the high performance emWin embedded graphics libraries in binary form for free commercial use with any Arm Cortex-M microcontrollers from NXP. |
GUI Development With emWin and AppWizard | How to use the different features in AppWizard to create complete, ready-to-run projects based on emWin. |
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to display and graphics are listed below.
A demo application to show littlevgl widgets.
Path: <SDK_PATH>/boards/lpcxpresso55s69/littlevgl_examples
Demonstrates the graphical widgets of the emWin library.
Path: <SDK_PATH>/boards/lpcxpresso55s69/emwin_gui_demo
Document | Description | Application Note Software |
---|---|---|
AN12868 Camera Interface in LPC55(S)xx | Introduces the camera interface, features and API routines and demo. | Download |
Document | Description |
---|---|
FreeMASTER How To | A starting guide for engineers using FreeMASTER tool. |
FreeMASTER 3.0 - Installation Guide | This article will walk you through the installation process of FreeMASTER 3.0. |
FreeMASTER Four-Part Webinar Series | On-demand training provides an overview of the FreeMASTER software, its features, capabilities, available examples, application use cases and how to easily get started. |
Several examples, demos and drivers are available within the SDK to help you get started. Some common examples related to Motor Control are listed below.
Middleware
Path: <SDK_PATH>/middleware/motor_control
FreeMASTER Examples
Watch variables and graphs over various interface options.
Path: <SDK_PATH>/boards/lpcxpresso55s69/freemaster_examples
Describes the embedded-side software driver which implements a serial interface between the application and the host PC and covers the native Serial UART communication and CAN communication for the applicable devices.
Path: <SDK_PATH>/middleware/freemaster/doc/user_guide
Training | Description |
---|---|
Basic Application Development Using MCUXpresso IDE and MCUXpresso Config Tools | This three-part video series covers the basic interactions between the MCUXpresso IDE and Config Tools when working with either an imported SDK example project or creating a new one. |
LPC55s6X Training | Full list of on-demand training, how-to videos and webinars from NXP about this product. |
Connect with other engineers and get expert advice on designing with the LPC55 family on one of our community sites.
No problem! Your board simply came in the old packaging and has a different out-of-box demo loaded into the flash memory.
You should be seeing the RGB LED toggling between each of the three colors; red, blue and green. It's OK to move onto the next step when you're ready.
Try proceeding to the next steps to get other example applications running on your board. If you still have problems, try contacting us through the NXP Community.
*Note: Previously, you had to clone a SDK project like in the past step.
The following steps will guide you through opening the hello_world example. The Hello World demo application provides a sanity check for the new SDK build environments and board bring up. The Hello World demo prints the "hello world." string to the terminal using the SDK UART drivers. The purpose of this demo is to show how to use the UART, and to provide a simple project for debugging and further development.
Select the directory to export the clock_config.c and clock_config.h files. In this example export to the “board” folder in the led_output project in the workspace.
(i.e. C:\MCUXpressoIDE_Lab\frdmk64f_driver_examples_gpio_led_output\board). Select Finish.