Getting Started with the LPC5536/LPC55S36 Evaluation Board | NXP Semiconductors

Getting Started with the LPC5536/LPC55S36 Evaluation Board

Last Modified: 2022-01-31 08:27:34Supports LPC5536-EVK

1. Plug It In

Let's take your EVK board 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 2:25
Loaded: 0%
Stream Type LIVE
Remaining Time 2:25
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

    1.1 Get Familiar with the Board

    The LPC5500 board is pre-programmed with a diagnostic demo, which tests various features of the board. This program utilizes the MCU-LINK VCOM output connected to the debug probe(J1), which acts as a serial to USB bridge to a host computer, as well as providing the CMSIS-DAP debug interface.

    LPC553X-BOARD-IMG

    LPC553X-BOARD-IMG

    1.2 Install Drivers

    MCU-Link is supported on host computers running on Windows 10, MacOS X and Ubuntu Linux operating systems (OSs). For each OS, an MCU-Link firmware package is available that includes the host device drivers, MCU-Link firmware and scripts to program CMSIS-DAP and J-Link firmware options.

    To download and install the host device drivers and update the MCU-Link firmware, follow these steps:

    1. Go to the MCU-Link board page on the NXP website
    2. Click Design Resources. Then, click Development Software under SOFTWARE category. Installation packages are displayed for all three OSs
    3. Download the package for your host OS and install it (Linux / MacOS) or execute the installer program (Windows). The package is installed/unzipped to the MCU-LINK_installer_Vx_xxx directory
    4. Switch MCU-Link to (USB) ISP mode by shorting jumper JP25
    5. Connect the J1 connector on the board to the USB port of the host computer through a USB micro-B cable. MCU-Link gets powered up in (USB) ISP mode. The red MCU-Link status LED (D16) lights up. The board gets enumerated as a human interface device (HID) class device
    6. Program the MCU-Link firmware into the MCU-Link internal flash using the instructions provided in the "Firmware Installation Guide" section of the "Readme.txt" file. Use the scripts provided to program the CMSIS-DAP or J-Link firmware option
    7. Disconnect the board from the host computer, remove jumper JP25 and reconnect the board

    1.3 Serial Terminal

    Most of the MCUXpresso SDK examples and this out-of-box demo set up for MCUXpresso IDE, IAR and Keil tools use the MCU UART for print output. If you are not sure how to use a terminal application, try one of these tutorials: MCUXpresso Terminal Tutorial, Tera Term Tutorial, PuTTY Tutorial.

    1.4 Plug in the Board

    Connect a micro USB cable from connector J1 to a host computer or power supply to power up the board and run the demo program. Open a terminal emulator program (such as Teraterm or PuTTY), and look for a port with a name of the form “COMxx MCU-LINK VCOM ...”, and connect to it. Set the serial port for 115200 baud rate, 8 bits, no parity.


    1.5 Run the Out-of-Box Demo

    • The RED user LED will flash 3 times, then the green LED will flash 3 times and finally the BLUE led will also flash three times
    • The terminal will display the LED sequence that is shown in addition to the RTC starting time that was set
    • Press the SW1 button and the RED led will turn on. If you press the SW3 button then the GREEN led will turn on instead
    • The terminal will also print “Connect USB cable to J3 for mouse application test”. Connect another micro USB cable to J3 in order to enumerate the mouse device USB application. This will cause your mouse pointer to have a square movement.

    2. Get Software

    The software and tools installation is detailed in two short videos or you can choose to follow the steps below. The LPCXpresso55S36 is supported by MCUXpresso SDK, which is described in this guide.

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

      2.1 Install Your Toolchain

      NXP offers a complimentary toolchain called MCUXpresso IDE. Please download MCUXpresso v11.3.0 or above.

      Get MCUXpresso IDE

      Want to use a different toolchain?

      Need help with choosing

      No problem! The MCUXpresso SDK includes support for other tools such as IAR , KEIL and command-line GCC .

      Jump Start Your Design with the MCUXpresso SDK

      Want to learn more about SDK

      The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software. You may install the MCUXpresso SDK directly form the MCUXpresso SDK website at mcuxpresso.nxp.com. Click on “Select Development Board” to search for the evaluation board.

      1. In the "Search for Hardware" search box, type in the selected board “LPCXpresso55S36”. Click on the board to select it
      2. On the right hand side you will see the option to build the SDK for the LPCXpress55S36. Click on this button to add the middleware needed
      3. To build the SDK, let’s “Select All” for the middleware available. Then scroll down and press “Download SDK”. The software terms and conditions will appear, select “I Agree” in order to begin the download
      4. Once the SDK package has been downloaded, drag and drop to the “Installed SDKs” window in the MCUXpresso IDE
      5. If you are using another toolchain, you can download the SDK release for the LPCXpresso55S36 using the link below
      Get MCUXpresso SDK

      2.2 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 as a part of MCUXpresso IDE and also as a separate tool if using a different IDE.

      Click the "Get MCUXpresso Config Tools" below to get the Config Tools installer.

      Get MCUXpresso Config Tools

      3. Build, Run

      A short video is provided to walk you through this process or you can follow along the steps below.

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

        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 LPCXpresso55s36.
        (<SDK_Install_Directory>/boards/LPCXpresso55s36).

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

        3.2 Building and Debugging 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.

        4. Modify an SDK Example

        A short video is provided to walk you through this process, or you can follow along the steps below.

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

          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