Getting Started with the LPC845-BRK Breakout Board | NXP Semiconductors

Getting Started with the LPC845-BRK Breakout Board

Last Modified: Mar 26, 2019Supports LPC845 Breakout Board

1. Plug It In

Let's take your LPC845 Breakout board for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions listed below.

Get Started with the LPC845 Breakout Development Board - Demo

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 Attach the USB Cable

      If you are using Windows 7 or 8 first you must install the VCOM device driver, that is included in this package. If you are using another operation system just Connect a micro USB cable from connector CN3 to a host computer or power supply to power up the board.

      1.2 Run the Out-of-Box Demo

      Then the board is first plugged in the host computer may take several seconds to enumerate the VCOM and debug probe for the first time. Once the board powers up, the green LED acts as a "breathing" LED, slowly turning on and off. When the touch pad is pressed the red LED turns on and the green one turns off. Finally, when the user button is pressed the blue LED will turn on for about half a second (the green LED isn’t affected by the User button). The Board will also output some diagnostic messages over the VCOM port (9600 baud, 8 data bits, 1 stop bit - see the next steps for more information on using these applications).

      2. Get Software

      Installing Software for LPC845 Breakout Board

      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

          2.1 Getting Started with the MCUXpresso SDK

          Want to learn about 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 a pre-configured Windows SDK release for the LPC845 MCU (we will be able to use that SDK for our Breakout Board, just with a few modifications), which includes IDE support for MCUXpresso, Keil MDK, Command-line GCC and IAR Embedded Workbench.

          Get MCUXpresso SDK

          You can also use the online SDK Builder to create a custom SDK package for the LPC845.

          2.2 Install Your Toolchain

          NXP offers a complementary, GNU/Eclipse based toolchain called MCUXpresso IDE.

          Get MCUXpresso IDE

          Want to use a different toolchain?

          Need help choosing

          No problem, 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 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 seperate tool. Click the Get MCUXpresso Config Tools below to get the Config Tools installer.

          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.

          Check out this document for more information on how to configure pins on this device.

          2.4 Serial Terminal

          Many of the MCUXpresso SDK examples applications output data over the MCU UART. Install and configure your preferred terminal software to 115200 baud rate, 8 data bits, no parity and 1 stop bit. To determine the port number of theLPC55S06-EVK '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: Tera Term Tutorial, PuTTY Tutorial.

          In the next steps, we will show you how to use the recent versions of MCUXpressor IDE count with a terminal emulation application.

          3. Build, Run

          Build and Run Demos on the LPC845 Breakout Board

          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

              3.1 Running a Blinky Example Program

              NXP provides an example package with interesting demo applications to take advantage of the peripherals that the board includes. The getting started video provides easy, step-by-step instructions on how to configure, build and debug the LED blinky example.

              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.

              4.Modify an SDK Example

              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 Apply Board Support Configuration

              NXP provides a leader .mex file configuration that includes the initialization of the peripherals that show in the package (SPI, I2C, UART, ADC, etc), Could take advantages of this and apply this configuration to an SDK project to run it in the LPC845 Breakout Board.

              This example is a good oportunitie to use the MCUXpresso Terminal application, see how to configure in the tutorial below.

              Option A: Use MCUXpresso IDE to apply a customized board configuration, build and debug an existing project.

              Option B: Use MCUXpresso Config tool to apply a customized board configuration, build and debug an existing project.