Getting Started with the FRDM-K32L3A6 | NXP Semiconductors

Getting Started with the FRDM-K32L3A6

Last Modified: 2019-09-09 21:43:37Supports FRDM-K32L3A6

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run
  • 4

    Create

1. Plug It In

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

1.1 Get Started with FRDM-K32L3A6 Development Platform

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

      FRDM-K32L3 CONNECTOR

      FRDM-K32L3 CONNECTOR

      1.3 Run the Out-of-Box Demo

      When the board is flat, the RGB LED shines yellow, and when the board is tilted, the LED turns red or green depending on whether the board is tilted horizontally or vertically.

      FRDM-K32L3 AXIS

      FRDM-K32L3 AXIS

      1.4 Run the Out-of-Box Demo (Rev C and later)

      The alternative out-of-box demo starts flashing the RGB LED between red and green until the next step is executed.

      1. Press SW2. RGB LED will flash red 3 times then turn green
      2. Press SW3. RGB LED will flash green 3 times and turn blue
      3. Press SW4. RGB LED will flash blue 3 times and turn red
      4. Optionally repeat steps 1-3

      When the board is flat, the RGB LED shines yellow, and when the board is tilted, the LED turns red or green depending on whether the board is tilted horizontally or vertically.

      Demo not working?

      2. Get Software

      2.1 Installing Software for the FRDM-K32L3A6

      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.2 Jump Start Your Design with the MCUXpresso 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. Want to learn about SDK?

          Click below to download a preconfigured SDK release for the FRDM-K32L3A6.

          Get MCUXpresso SDK

          You can also use the online SDK Builder  to create a custom SDK package for the FRDM-K32L3A6 using the SDK builder.

          2.3 Install Your Toolchain

          NXP offers a complimentary toolchain called MCUXpresso IDE.

          Get MCUXpresso IDE

          Want to use a different toolchain?

          If you prefer using a different toolchain, the Kinetis SDK includes support for other tools such as IAR , Keil  and command-line GCC .

          2.4 MCUXpresso Config Tools

          The MCUXpresso Config Tools 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.

          Get MCUXpresso Config Tools

          2.5 PC Configuration

          Many of the example applications output data over the MCU UART so you'll want to make sure that the driver for the board's virtual COM port is installed. Before you run the driver installer, you MUST have the board plugged into your PC.

          Download Driver

          With the serial port driver installed, run your favorite terminal application to view the serial output from the MCU's UART. Configure the terminal to 115,200 baud rate, 8 data bits, no parity, and 1 stop bit. To determine the port number of the FRDM-K32L3A6'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.

          3. Build, Run

          3.1 Build and Run Demos on the FRDM-K32L3A6

          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.2 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 your board, the FRDM-K32L3A6 (<SDK_Install_Directory>/boards/frdmk32l3a6).

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

              3.3 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.

              4. Create

              4.1 Create an Application for the FRDM-K32L3A6

              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.2 Clone an Example Project from MCUXpresso SDK

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

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

                  4.3 Use the Pins Tool

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

                  4.4 Use the Clocks Tool

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

                  4.5 Success

                  With the application modified, you will see the FRDM-K32L3A6’s blue LED slowly blinking. You can also view terminal output using the terminal program.