led_blinky_lpc#
Overview#
The LED Blinky demo application provides a sanity check for the new SDK build environments and board bring up. The LED Blinky demo uses the systick interrupt to realize the function of timing delay. The example takes turns to shine the LED. The purpose of this demo is to provide a simple project for debugging and further development. The code of this demo has been prepared and updated for use with the MCUXpresso Configuration Tools (Pins/Clocks/Peripherals).
The LED Blinky demo mainly is to bring up the new SDK build environments on the board. This demo will initialize the pin configuration, then configure System Tick to generate 1ms interrupt. When 1000 interrupts occur(1s), the pin output of LED is toggled. We can see that LED is blinking on the board.
Supported Boards#
FRDM-MCXW23
Hardware requirements
Type-C USB cable
FRDM-MCXW23 Board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the FRDM board J10.
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPC845BREAKOUT
Hardware requirements
Micro USB cable
LPC845 Breakout board
Personal Computer
Board settings
No special settings are required.
Prepare the demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port on the board.
Open a serial terminal with the following settings:
9600 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LD1 RED is blinking.
LPCXpresso54S018
Hardware requirements
Micro USB cable
LPCXpresso54S018 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Download the program to the target board.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso54S018M
Hardware requirements
Micro USB cable
LPCXpresso54S018M board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a micro USB cable between the host PC and the LPC-Link USB port (J8) on the target board.
Download the program to the target board.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso55S06
Hardware requirements
Mini/micro USB cable
LPCXpresso55S06 board
Personal Computer
Board settings
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J1) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso55S16
Hardware requirements
Mini/micro USB cable
LPCXpresso55S16 board
Personal Computer
Board settings
The jumper setting: Default jumpers configuration does not work, you will need to add JP20 and JP21 (JP22 optional for ADC use)
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J1) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso55S28
Hardware requirements
Mini/micro USB cable
LPCXpresso55S28 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Note: MCUXpresso IDE project default debug console is semihost
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (P6) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso55S36
Hardware requirements
Mini/micro USB cable
LPCXpresso55S36 board
Personal Computer
Board settings
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J1) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso55S69
Hardware requirements
Mini/micro USB cable
LPCXpresso55s69 board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Note: MCUXpresso IDE project default debug console is semihost
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (P6) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso802
Hardware Requirements
Mini/micro USB cable
LPCXpresso802 board
Personal Computer
Board Settings
No special settings are required.
Run the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP port(CN1 on the board).
Choose an IDE, building the project and download the program to the target board. More information about how to compile and program the project can refer to the
[Getting Started with MCUXpresso SDK](../../../../docs/Getting Started with MCUXpresso SDK.pdf).
Launch the debugger in your IDE to begin running the demo.
Expected Result
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso804
Hardware Requirements
Mini/micro USB cable
LPCXpresso804 board
Personal Computer
Board Settings
No special settings are required.
Run the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP port(CN2 on the board).
Choose an IDE, building the project and download the program to the target board. More information about how to compile and program the project can refer to the
[Getting Started with MCUXpresso SDK](../../../../docs/Getting Started with MCUXpresso SDK.pdf).
Launch the debugger in your IDE to begin running the demo.
Expected Result
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso824MAX
Hardware Requirements
Mini/micro USB cable
LPCXpresso824MAX board
Personal Computer
Board Settings
Connect SJ9: 2-3
Run the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP port(J3 on the board).
Choose an IDE, building the project and download the program to the target board. More information about how to compile and program the project can refer to the
[Getting Started with MCUXpresso SDK](../../../../docs/Getting Started with MCUXpresso SDK.pdf).
Launch the debugger in your IDE to begin running the demo.
Expected Result
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso845MAX
Toolchain Supported
IAR embedded Workbench 8.50.5
Keil MDK 5.31
GCC ARM Embedded 9.2.1
MCUXpresso 11.2.0
Hardware Requirements
Mini/micro USB cable
LPCXpresso845MAX board
Personal Computer
Board Settings
No special settings are required.
Run the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP port(J4 on the board).
Choose an IDE, building the project and download the program to the target board. More information about how to compile and program the project can refer to the
[Getting Started with MCUXpresso SDK](../../../../docs/Getting Started with MCUXpresso SDK.pdf).
Launch the debugger in your IDE to begin running the demo.
Expected Result
When the demo runs successfully, you will find the LED is blinking.
LPCXpresso860MAX
Hardware requirements
Micro USB cable
LPCXpresso860MAX board
Personal Computer
Board settings
Prepare the Demo
Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J4) on the board
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.
MCXW23-EVK
Hardware requirements
Mini/micro USB cable
MCXW23-EVK Board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J33.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the demo runs successfully, you will find the LED is blinking.