Getting Started With the LPCXpresso860-MAX Evaluation Board | NXP Semiconductors

Getting Started With the LPCXpresso860-MAX Evaluation Board

Last Modified: 2023-04-11 07:41:00

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run
  • 4

    Configure Software

1. Plug It In

Let's take your LPCXpresso860-MAX for a test drive. You have the choice of watching the sequence in a short video or following the detailed actions listed below.

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected

      1.1 Get Familiar With the Board

      1.2 Attach the USB Cable

      Plug the USB cable into the only one USB connector(J4), as is shown in the photo below

      1.3 Run the Out of the Box Demo

      Your LPCXpresso860-MAX comes loaded with a "LED blinky" demo, explained below and a demo that exercises the Cortex-M0+, described in the next section.

      When the board is powered, the LED D2 should flash on and off.

      2. Get Software

      2.1 Jump Start Your Design With the MCUXpresso SDK

      The MCUXpresso Software Development Kit (SDK) is complimentary and includes full source code under a permissive open source license for all hardware abstraction and peripheral driver software.

      Click below to download the latest SDK release for the LPCXpresso860-MAX, make sure you select Host OS, Toolchain and desired components.

      Get MCUXpresso SDK

      You can also use the online SDK Builder to create a custom SDK package for the LPCXpresso860-MAX.

      2.2 Get Your Toolchain

      MCUXpresso IDE is development platform ecosystem from NXP. It provides an end-to-end solution enabling engineers to develop embedded applications from initial evaluation to final production.

      Get MCUXpresso IDE

      Want to use a different toolchain? Need help with choosing?

      The MCUXpresso SDK includes support for other tools such as IAR, Keil and command-line GCC.

      2.3 MCUXpresso Config Tools

      The MCUXpresso Config Tool is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects and also provides pin and clock tools to generate initialization C code for custom board support. It is fully integrated into MCUXpresso or you can download a separate tool.

      Get MCUXpresso Config Tools

      To learn more about the basic interactions between the tools while working with either an imported MCUXpresso SDK example project or creating a new project within the IDE, watch this three-part video series.

      Basic Application Development Using MCUXpresso IDE and MCUXpresso Config Tools

      2.4 Install Drivers and Update Debug Probe Firmware

      Before using your board, it is recommended that you download update the firmware for the LPC11U35 debug probe on the board. Start by downloading the firmware and driver package and from here.

      If using Windows 7 or 8, run the device driver installation executable file that is included in this package.

      Pressed RESET button(SW3) then plug in the board:

      You will see a device called CRPDISABLED appear in your computer file manager. Go to this drive and delete the file “firmware.bin” from that drive. Drag and drop the firmware.bin file from the firmware and driver package you just downloaded onto the CRPDISABLED drive. Released RESET button(SW3) then disconnect and reconnect the USB cable, then wait a few seconds for the new device driver to install.

      You will notice that once you power the board, blue user LED at the top left of the board will flash. This is a basic program that comes pre-programmed on the LPC865 device to show it is working.

      2.5 Serial Terminal

      Many of the MCUXpresso SDK examples applications output data over the MCU UART. Install and configure your preferred terminal software to 9600 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of the LPCXpresso860-MAX 's virtual COM port, open the device manager and look under the "Ports" group.

      Not sure how to use a terminal application? Try one of these tutorials: MCUXpresso Terminal Tutorial, Tera Term Tutorial, PuTTY Tutorial

      3. Build, Run

      3.1 Explore the MCUXpresso SDK Example Code

      The MCUXpresso SDK comes with a long list of example applications code. To see what's available, browse to the SDK boards folder of your SDK installation and select LPCXpresso860-MAX.

      1<SDKInstallDirectory>/boards/lpcxpresso860max

      To learn more about specific example code, open the readme.txt file in an example's directory.

      3.2 Build, Run and Debug MCUXpresso SDK Examples

      If one or more of the demo applications or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with MCUXpresso SDK guide provides easy, step-by-step instructions on how to configure, build and debug demos for all toolchains supported by the SDK.

      Use the guide below to learn how to open, build and debug an example application using the MCUXpresso IDE.

      Using a different toolchain? This demo is also available for IAR and KEIL.

      3.3 Building and Debugging MCUXpresso SDK Examples

      Now it's time to plug in the board to debug your project...

      1. Make sure that the jumper P4 is shorted with 2-3
      2. Plug the micro USB cable from the PC into the Debug Link micro USB connector as shown
      3. In the Project Explorer window in MCUXpresso select your project
      4. In the Quick Start Panel click on Debug
      5. Choose the CMSIS-DAP debug interface
      6. Hit Resume to get the code running after the breakpoint at the beginning of main ()

      More details can be found in the SDK getting started documents found in the SDK folder.

      1<SDKInstallDirectory>/docs/Getting Started with MCUXpresso SDK.pdf

      3.4 More Examples

      Several examples, demos and drivers are available within the SDK to help you get started. Some common examples are listed below:

      1. PMSM motor control
      2. Power manager demo
      3. IEC60730 safety

      4. Configure Software

      4.1 Clone an Example Project From MCUXpresso SDK

      Option A: Use the MCUXpresso IDE to clone an example project.

      Option B: Use the MCUXpresso Config Tool to clone an existing MCUXpresso SDK example for use with third-party IDEs.

      4.2 Use the Pin Tool

      Now, let's use the Pins tool that is part of the MCUXpresso Config Tool to show how to add a new GPIO pin to your project to blink an LED.

      4.3 Use the Clocks Tool

      Next use the Clocks tool that is part of the MCUXpresso Config Tool to change the clock settings and change the rate that the LED blinks.

      4.4 Success

      With the application modified, you will see the LPCXpresso860-MAX green LED(D2) blinking.