Working with LPCXpresso845-MAX Evaluation Board

Document created by soledad Employee on Jul 6, 2017Last modified by soledad Employee on Aug 11, 2017
Version 2Show Document
  • View in full screen mode

This document explains how to start with LPCXpresso845-MAX Evaluation Board building, running and debugging example codes.

 

Introduction

 

Based on the ARM Cortex-M0+ core, LPC84x is a low-cost, 32-bit MCU family operating at frequencies of up to 30 MHz. The LPC84x MCU family supports up to 64 KB of flash memory and 16 KB of SRAM.

 

There is no LPCOpen nor SDK for LPC84x, however there is an example code bundles (register level) available for this family.

The example code bundles offer a fastest, and simplest way for user to learn how to program each peripheral before progressing to more advance features of the peripheral. New users of LPC84x can step through the Example Code like a tutorial.

Each project contains concise and accurate explanations in Readme files and comments in source files help the user to start/debug quickly.

LPC845 Example Code Bundle is available for KEIL, MCUXpresso and IAR IDEs and you can download it from next link:

 

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/lpc-cortex-m-mcus/lpc800-series-cortex-m0-plus-mcus/low-cost-microcontrollers-mcus-based-on-arm-cortex-m0-plus-cores:LPC84X?tab=Design_Tools_Tab

 

Build, run and debug an example

 

This section describes the steps required to build, run, and debug an example application.

1. Download the LPC845 Example Code Bundle MCUXpresso from the next link: 

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/lpc-cortex-m-mcus/lpc800-series-cortex-m0-plus-mcus/low-cost-microcontrollers-mcus-based-on-arm-cortex-m0-plus-cores:LPC84X?tab=Design_Tools_Tab

 

2. Open MCUXpresso IDE.

3. Select "Import project(s) …" from the Quickstart Panel.

 

4. Click the "Browse" button and point to the LPC845-Example-Code-Bundle-MCUXpresso.zip, which should be downloaded previously, and then click “Next” button.

5. By default all the projects are selected, however you can select only the desired example project. In order to build the example project, it is necessary to add in the workspace the following projects:

  • common
  • peripherals_lib
  • utilities_lib

For this document, we are using the Multi_Timer_Blinky example project.

 

6. Build the project using the hammer icon on Quickstar Panel.

 7. Connect the development platform to your PC via USB cable. If connecting for the first time, allow some seconds for the devices to enumerate.

 

8. This example runs from Flash. To run this code you have two options:

a) Download and Debug.

   b) Load to flash using the “run” IDE icon and press the reset button on the board.

 

 

Note: It may be necessary to power-cycle the board in order to regain control of the reset button after programming.

 

 

At this moment, you can be able to run or debug the example project.

I hope this helps!!!

Attachments

    Outcomes