Getting Started with the LPC55S16-EVK Evaluation Board | NXP Semiconductors

Getting Started with the LPC55S16-EVK Evaluation Board

Last Modified: 2020-03-12 21:39:32Supports LPC55S16-EVK

1. Plug It In

Let's take your LPCXpresso55S16 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

      GET-FAMILIAR-LPC55S16

      GET-FAMILIAR-LPC55S16

      1.2 Attach the USB Cable

      There are four micro-USB connectors on the board. One each for Full and High Speed USB, one for supplying power only and one for debug. Plug the USB cable into the one labeled +5 V Power Only as shown in the photo.

      1.3 Run the Out-of-the-Box Demo

      Your LPCXpresso55S16 board comes loaded with a program to verify that target MCU is running.

      The application is active if the green LED in the RGB-LED flashed with a 1 Hz rate.

      1.4 Switch and LED Test

      • Press the [WAKEUP] button. Verify that the blue LED in the RGB-LED is constant on while pressing
      • Press the [USER] button. Verify that the green LED in the RGB-LED is constant on (with only short off-flashes)
      • Press the [ISP] button. Verify that the red LED in the RGB-LED is constant on while pressing
      • Press the [RESET] button. Verify that the RGB-LED turns off while pressing

      1.5 Audio Test

      For this test you need:

      • A line level audio source like a PC, smartphone or tablet
      • A stereo audio cable to connect the audio source to the LPC55S69 board
      • A stereo audio headphones or speaker

      Instructions:

      1. Plug in the audio source to the [Audio Line In] connector
      2. Connect headphones or speaker to the [Audio Line Out] connector
      3. Play audio from device connected as input
      4. Verify you listen to the audio on the headphones

      AUDIO-DEMO-LPCS16

      AUDIO-DEMO-LPCS16

      OOB_test demo source code (multi_peripherals_test project) is available in SDK.

      2. Get Software

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

        2.1 Jump Start Your Design with the General Purpose Microcontrollers SDK

        The General Purpose Microcontrollers 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 LPCXpresso55S16, make sure you select Host OS, Toolchain and desired components.

        Download

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

        2.2 Install Your Toolchain

        General Purpose Microcontrollers 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.

        Download

        Want to use a different toolchain? Need to help choosing

        No problem, The General Purpose Microcontrollers SDK includes support for other tools such as IAR, Keil, and command-line GCC.

        2.3 LPCScrypt

        Before to set up your LPCXpresso55S16 for use it with 3rd party tools, first install LPCScrypt in order to install the board’s device drivers. To change the board's debug firmware follow the LPCScrypt tutorial.

        2.4 General Purpose Microcontrollers Config Tools

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

        Download

        To learn more about the basic interactions between the tools wh 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.5 Serial Terminal

        Many of the General Purpose Microcontrollers SDK examples applications output data over the MCU UART. Make sure you install serial drivers with LPCScrypt from step 2.3

        Not sure how to use a terminal application? Try one of these tutorials: General Purpose Microcontroller IDE Terminal Tutorial, Tera Term Tutorial, PuTTY Tutorial.

        3. Build, Run

        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 Explore the General Purpose Microcontrollers SDK Example Code

            The General Purpose Microcontrollers 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 LPCXpresso55S16 .

            1<SDK_Install_Directory>/boards/lpcxpresso55s16

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

            3.2 Build and 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 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 General Purpose Microcontrollers IDE.

            Using a Different Toolchain?

            3.3 Building and Debuging MCUXpresso SDK Examples

            Now its time to plug in the board to debug your project...

            1. Make sure the DFU jumper J4 is removed
            2. Plug the micro USB cable from the PC into the Debug Link micro USB connector as shown
            3. In the Project Exporer window in MCUXpresso select your project
            4. In the Quick Start Panel click on Debug
            5. Choose the CMSIS-DAP debug interface
            6. Choose Core 0 for the target core
            7. 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<SDK_Install_Directory>/docs/Getting Started with MCUXpresso SDK for LPC55xx.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:

            • NTAG I2C Explorer Blink
            • Power Manager Demo
            • TrustZone Examples
            • USB Examples

            4. Modify an SDK Example

            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

                4.1 Clone an Example Project from General Purpose Microcontrollers SD

                Option A: Use the General Purpose Microcontrollers IDE to clone an example project.

                Option B: Use the General Purpose Microcontrollers Config Tool to clone an existing General Purpose Microcontrollers 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 General Purpose Microcontrollers 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 General Purpose Microcontrollers Config Tool to change the clock settings and change the rate that the LED blinks.

                4.4 Succes

                With the application modified, you will see the LPCXpresso55S16 RGB red LED acts as "breathing" slowly.