1
Plug It In!2
Get Software3
Build, RunSign in to save your progress. Don't have an account? Create one.
Let's take your LPCXpresso802 board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.
On windows 7 or 8 platforms, before using your board it is recommended that you install the VCOM device driver. Start by downloading the firmware and driver package and from here
Something went wrong! Please try again.
Using the supplied micro USB cable, connect CN1 on the board to a host computer. The demo code will then run; the "face" made from LEDs on the snap-off section of the board will light up:
Something went wrong! Please try again.
LPC8xx Family Code Bundles are easy to understand drivers and examples, with full source code provided.
Something went wrong! Please try again.
NXP offers a free, GNU/Eclipse based toolchain called MCUXpresso IDE.
Want to use a different toolchain?
No problem! Code Bundles are also available for IAR and Keil.
Something went wrong! Please try again.
Some Code Bundle UART examples set up for IAR and Keil tools use the MCU UART for print 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:
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
Note that MCUXpresso IDE (version 10.1 or later) has built-in knowledge of the LPC802 part family, so does not require any SDK installation steps. Follow the steps below to build and run a simple example from the LPC802 Code Bundles provided by NXP. Code Bundles for the LPC8xx family are included in the MCUXpresso IDE installation. These can also be downloaded from nxp.com (in case of any updates between IDE releases): https://www.nxp.com/LPC800-Code-Bundles. (Note that MCUXpresso IDE has a link to the Code Bundle Page in the Help -> Additional Resources menu).
1. Open a new workspace in the IDE.
2. In the Quickstart panel of the IDE, click in “Import project(s) from the file system”.
3. In the “Import project(s) from file system...” dialog box that opens, click “Browse...” in the Project Archive (from zip) section, and select the LPC802 Code Bundle zip file from the Code Bundles directory in the MCUXpresso IDE installation (or select a version downloaded from nxp.com, as described in Step 1 above.) Click “Next >” on the “Import project(s) from file system...” dialog to continue.
4. You will see several projects listed in the Code Bundle; click “Finish” to import them all.
5. The dialog box will close, and you will see the imported projects in the Project tab at the upper left window of the IDE. Click on Example_Multi_Timer_Blinky to select it, then select Build from the Quickstart panel. You will see the build processing in the Console window to the right of the Quickstart panel. The projects are set up to include dependency checking, so the build process will automatically build the utility and peripheral libraries as well as the example program.
6. Ensuring the LPCXpresso802 is connected to the host computer, click Debug in the Quickstart panel. The IDE will search for available debug probes. Select the debug probe that appears for your board, then click OK. Note that the IDE will remember your selection for the next time you debug this project, so will not prompt for this again, unless it cannot find the board.
7. The code will execute to main. Press F8 to resume and run the program. You will now see the User LEDs light, each color in turn.