Getting Started with the LPCXpresso54018 | NXP Semiconductors

Getting Started with the LPCXpresso54018

Last Modified: 2021-02-25 21:29:53Supports LPCXpresso54018 Development Board

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run

1. Plug It In

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

Get started with the LPCXpresso54018 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

      1.2 Run the Out-of-Box Demo

      Your LPCXpresso54018 board comes preloaded with a graphical HMI demo developed using emWIN. Using your finger or a touch stylus, you can select a color from the palette on the left of the LCD screen, and draw freehand pictures. Touch the CLR button to erase your drawings.

      1. Get Software

      2.1 Getting Started with the MCUXpresso SDK

      Want to learn more 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 SDK release for the LPCXpresso54018, which includes versions for MCUXpresso IDE, Keil MDK and IAR EWArm. Use LPCXpresso54018 as the target board.

      Get SDK

      You can also use the online MCUXpresso web tool to create a custom SDK package for the LPCXpresso54018 using the SDK builder.

      2.2 Install your toolchain

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

      Get MCUXpresso IDE

      Want to use a different toolchain?

      No problem! The MCUXpresso SDK includes support for other tools such as IAR and Keil.

      To set up your LPCXpresso54018 for use with 3rd party tools, first install LPCScrypt in order to install the board’s device drivers. The video below shows how to use LPCScrypt to program your board’s debug probe using this utility.

      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
      • en (Main), selected

        The video on this Getting Started section are for LPCXpresso54608, but the steps are the same for LPCXpresso54018.

        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.

        Get MCUXpresso Config Tools

        2.4 Serial terminal

        Most of the MCUXpresso SDK examples set up for IAR and Keil tools use the MCU UART for printf 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: 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 LPCXpresso54018 ( /boards/LPCXpresso54018).

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

        3.2 Build, Run

        If one or more of the demo application or driver examples sounds interesting, you're probably wanting to know how you can build and debug yourself. The Getting Started with SDK for LPC51U68 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.

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

          Using a different toolchain?