The NXP LPCXpresso55S69 Board is an development board of the manufacterer NXP. The device is based on the Arm® Cortex®-M33 architecture with 320kB of RAM and 640kB of ROM. It is capable as an application controller for the iRJ45/SoM module.
Currently the LPCXpresso55S69 is only compatible with uGoal.
Integrated Development Environment
The MCUXpresso IDE by NXP is a free Integrated Development Environment which provides several utilities to develop and debug applications for the LPCXpresso55S69 Board. It is available on the NXP website.
Make sure, the toolchain is added properly to your path variable after the installation.
Make sure following settings are set:
J13 - Connect “iRJ45” with “Sockel”
J8 - Connect “CS_SOURCE” with “PB2”
J7 - Connect “RST_SOURCE” with “PD7”
Set all DIP-Switches to “OFF”
NXP LPCXpresso55S69 Board
Set the Jumper J1 - DFU if you want to flash the device per command line.
Connect both boards (see Figure above). Voltage supply is done through the VCC33_Sockel by the LPCXpresso55S69.
Please connect both boards with each other, before you connect them per USB to your computer.
EtherCAT Distributed Clocks
The Platform LPCXpresso55S69 supports the feature EtherCAT Distributed Clocks (DC). To use the signal SYNC1 and SYNC0 bridges are needed to connect the pins of the Arduino Adaptershield with the Interrupt pins on the target. Connected as shown in the figure below, both of the SYNC signals cause an interrupt on the LPCXpresso55S69.
Using delivered build system
Prerequisites to flash LPCXpresso55S69
If you want flash the device per command line, there are following prerequisites to do:
Install MCUXpresso IDE from nxp, as this brings the necessary RedlinkServer.
Add the “binaries” directory, located in the installation directory of the MCUXpresso IDE, to your PATH variable (for e.g. “C:/nxp/MCUXpressoIDE_11.4.0_6224/ide/binaries” ).
Copy the target description files “ugoal/plat/lpc55s69/vendor/LPC55S69.xml” and “LPC55S69_part.xml” into the mentioned directory “binaries”.
Build and flash
Within a example folder “ugoal/projects/ugoal/<example name>/gcc” of the software delivery, build the firmware with following commands:
Use following command within the example folder, to flash the application onto the LPCXpresso55S69:
make PLATFORM=lpc55S69 flash
If you want to clean the build, use following command:
make PLATFORM=lpc55S69 clean
Using MCUXpresso IDE by NXP
This chapter describes the integration of the source files into a new e2 studio project, to edit, compile and debug the software delivery.
Automated project generation
From any project folder a project generator can be run to create a MCUXpresso IDE project for the application. The project generator requires a python3 installation. Required dependencies are installed automatically.
If you want to create a MCUXpresso IDE project, run the following command:
For the LPCXpresso55S69 the template number 3 needs to be chosen.
The generated project should be imported into MCUXpresso IDE using “Import → Existing Projects into Workspace” and be browsing to the project folder:
The imported project can be compiled and debugged using “Debug As → 2 MCUXpresso IDE LinkServer”:
Using MCUXpresso IDE ConfigTools
The MCUXpresso contains ConfigTools for a simple start in configuring peripheral devices and pins of the NXP LPCXpresso55S69. As uGOAL delivers his own configuration there are a few things to do to use the ConfigTools in the project:
Open the *.mex file in the “Project Explorer”.
Choose “ConfigTools → Pins” in the upper toolbar.
Right click on the error message in the lower right “Problems”-Window and choose “Add SDK component…” to include the missing Paths to the project.
Choose “ConfigTools → Peripherals” in the upper toolbar.
Right click on the error messages in the lower right “Problems”-Window and choose “Add SDK component…” to include the missing Paths to the project.
Change back to perspective “develop (default)”.
Remove or Exclude the directories “plat/lpc55s69/vendor/component”, “/drivers”, “/LPC55S69” and “/utilities” via Right Click at the appropriate directory and choosing “Properties → C/C++ Build → Settings” as shown in the image below.
The UART-interface of the LPCXpresso55S69 is accessable through the connected USB cable on the Debug Link P6 USB port. You can access the UART by launching a serial monitor like putty. Choose the following settings:
After setting up the serial monitor and starting the application, the output should look like this:
Following you’ll find current limitations regarding the LPCXpresso55S69.