element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project14
  • Challenges & Projects
  • More
Project14
Blog How to get started with LPCXpresso804
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: NichollasTambalo
  • Date Created: 3 Jun 2022 3:17 PM Date Created
  • Views 1001 views
  • Likes 0 likes
  • Comments 0 comments
  • sensors
  • LPCXpresso804
  • projects
  • project14
  • nxp
Related
Recommended

How to get started with LPCXpresso804

NichollasTambalo
NichollasTambalo
3 Jun 2022

How to get started with LPCXpresso804

Hi everyone, I'm Nichollas and how are you friend?

Today I will teach how can you take the first step with LPCXpresso804 Development KIT from NXP.

image

 image

  1. On the box lower left side, you can see an URL (http://www.nxp.com/demoboard/OM40001), click at that or copy and paste at your preference browser, will open that page.
  2. Here you can see a lot of information, and you must click at the button "GET STARTED" to take the first step.

 image

  1. Here you will download the Demo to test your board and make the first connection between the board and PC.

 image

  1. First step to begin, is download the drivers, if you click here will open the page bellow, click at the button "I ACCEPT" and download the drivers, normally the download will begin automatically but if it doesn't click "DOWNLOAD"

image

 image

  1. Downloaded the zip folder, extract all, I recommend create a folder to organize all files about LPCXpresso804
  2. Complete the extraction, you will have some files like this, double click at the file named "LPC11Uxx_Debug_Probe_VCOM_v1.0.0" will open a window, you have to click "next, install, next and finish".
  3. If you are not sure how to use a terminal application try one of these tutorials:

Tera Term Tutorial

PuTTY Tutorial

image

  1. I use Tera Term, so I downloaded it, now plug your board at your PC and double click to launch the app, now you must select the serial button, and select the board Port like the image bellow, in my case the board are connected by COM3.

 image

  1. If you don't know where your board are connected in, search at your PC "DEVICE MANAGER", and go to the option "Ports (COM & LPT)".

  image

Follow the steps bellow to run the DEMO program.

    • The Blue user LED will flash 3 times, then the green LED will flash 3 times, and the terminal will display “HelloWorld”, followed by “Press key to start LED test …”
    • Press the ISP button (S2). The green and blue user LEDs will flash, then each LED will be lit in turn twice before all three blink 3 times. The terminal will show “DONE”.
    • The terminal will show “Press key to start SpiFlash test”. Press the ISP button. The LEDs will blink as the test is run, and the SPI flash device ID and name will be shown on the terminal.
    • The terminal will show “Press key to start I2cTemperature test …”. Press the ISP button to run this test, which checks communication with the LM75 temperature sensor.
    • The terminal will show “Press key to start ADC Potentiometer test …”. Press the ISP button to run this test. The test checks the LPC804 ADC and potentiometer (VR1), looking for the ADC reading to change at least once as it takes 6 samples over several seconds. You can use the supplied screwdriver to adjust VR1 so the test passes.

In my case that doesn’t work maybe because the DEMO program that came installed in my board had been deleted, if it happens with you too, don't worry, that's just a DEMO to know if your board works, but that isn't the only one way to discover that, if you charge some example program from IDE and the board works, congratulations your board works, if it doesn't maybe your board have some problem, I advise you to contact the user support.

Just for your information, bellow you can see this DEMO application working  

image

After the message you click on the ISP button on the board as indicated in the program, the lights will turn on again and the following message will appear:

 image

 Clicking again will make only the red and blue light come on and with the key given to you in the kit you will press the ISP button again and tighten the VR1 screw indicated on the board, this will result in a sequence of numbers as shown below:

 image

 Thus, we will complete our initial test.

 

 

Multi Timer Blink

Preparing you workspace

Now that's the step who everyone loves, finely we will put the board to work

We will begin with a simple program that do the LEDs at your board blink

 

  1. At first you have to have the NXP IDE

 image

 

  1. Open the window above, click at the blue text "MCUXpresso IDE" agree the software terms and download the IDE, wait the download complete and install the IDE
  2. Bellow it's the first window you will see when click to open IDE
  3. Click at "BROWSE" and create a new workspace, it's like create a new folder
  4. Select that new folder
  5. Click in "LAUNCH"

image

Bellow you can see the IDE open for the first time

 image

  

Beginning the project

 

This is the NXP IDE, here you can do a lot of programs, compile and debug to your board.

  1. So, let's do this, click in "IMPORT PROJECT FROM FILE SYSTEM..."

 image

The window bellow will open:

 image

  1. Click at the button "Browse" from "PROJECT ARCHIVE(zip)" and Browse for the zipped folder named "LPC804-EX-CODE-MCUXPRESSO" (From this Hyperlink you can get all codes you will use), if you use the wrong folder you will have an error which you can't compile nor debug the program because you using the wrong board.

 image

  1. Did the step above, click "NEXT" maybe you can't select the files like the image bellow, that occur because you didn't create a new "Workspace", so to resolve it you must create a new one.

 image

Notice that, the image bellow all select boxes are selected, because that workspace is new, comparing "PROJECT EXPLORER" at the left side at two images, you can notice differences like at the first have a lot of folders this means this workspace already in use, at the second image hasn't any folder at the same side it means everything is right.

  1. So, click at the "FINISH" button and wait complete.
  2. Now in project explorer site select "Multi_Timer_Blinky" folder 
  3. Click at the symbol to build image
  4. Then click in this button to run the application image

Error when compiling

 image

That error occurs every time I try to debug the code "Multi_Timer_Blinky", because I wrong the folder I browse when I do the "OPEN PROJECT FROM FILE SYSTEM..." step, that occurs because the folder I browsed belong to other board.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube