1
Plug It In2
Get Software3
Build, Run4
Modify a SDK example5
LearnSign in to save your progress. Don't have an account? Create one.
Let's take your FRDM-K32L2A4 for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions listed below.
Something went wrong! Please try again.
This bubble demo leverages the on board accelerometer. When the board is flat, the red and green LEDs are turned off, and when the board is tilted, the green or red LEDs gradually illuminate based on the degree of tilt on the X- and Y-axis.
Something went wrong! Please try again.
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 FRDM-K32L2A4S, which includes IDE support for MCUXpresso, Keil MDK, GCC ARM Embedded and IAR Embedded Workbench.
You can also use the online SDK Builder to create a custom SDK package for the FRDM-K32L2A4S.
Something went wrong! Please try again.
MCUXpresso 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.
Want to use a different toolchain?
No problem! The MCUXpresso SDK includes support for other tools such as IAR,Keil and command-line GCC.
Something went wrong! Please try again.
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 into MCUXpresso or you can download a seperate tool.
Something went wrong! Please try again.
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.
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-K32L2A4S'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:
The most recent versions of MCUXpresso IDE count with a terminal emulation application. This tool can be used to display information sent from your NXP development platform's virtual serial port.
Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.
Something went wrong! Please try again.
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 FRDM-K32L2A4 (<SDK_Install_Directory> /boards/frdmk32l2as).
To learn more about specific example code, open the readme.txt file in an example’s directory.
Something went wrong! Please try again.
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 MCUXpresso IDE
The following steps will guide you through opening the hello_world example.
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/iar
Using the hello_world demo as an example, the path is:
<install_dir>/boards/frdmk32l2a4s/demo_apps/hello_world/iar
The FRDM-K32L2A4 board comes loaded with the mbed/CMSIS-DAP debug interface from the factory. If you have changed the debug OpenSDA application on your board, visit http://www.nxp.com/opensda for information on updating or restoring your board to the factory state.
After the MDK tools are installed, Cortex® Microcontroller Software Interface Standard (CMSIS) device packs must be installed to fully support the device from a debug perspective. These packs include things such as memory map information, register definitions and flash programming algorithms. Follow these steps to install the appropriate CMSIS pack.
The following steps will guide you through opening the hello_world application. These steps may change slightly for other example applications as some of these applications may have additional layers of folders in their path.
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/mdk
The workspace file is named <application_name>.uvmpw, so for this specific example, the actual path is:
<install_dir>/boards/frdmk32l2a4s/demo_apps/hello_world/mdk/hello_world.uvmpw
The FRDM-K32L2A4 board comes loaded with the mbed/CMSIS-DAP debug interface from the factory. If you have changed the debug OpenSDA application on your board, visit http://www.nxp.com/opensda for information on updating or restoring your board to the factory state.
Something went wrong! Please try again.
Option A: Use the MCUXpresso IDE to clone an example project.
The following steps will guide you through opening the gpio led output. This example takes turns to shine the led.
Option B: Use the MCUXpresso Config Tool to clone an existing MCUXpresso SDK example for use with third party IDEs.
The following steps will guide you through opening the gpio led output. This example takes turns to shine the led.
Then select the project to clone. For this example, we want to use the gpio led output project. You can filter for this by typing “gpio” in the filter box and then selecting the “gpio_led_output” example project. You can then also specify where to clone the project and the name. Then click on Finish.
Something went wrong! Please try again.
p> Now, let’s use the Pins tool that is part of the MCUXpresso Config Tool to show how to add a new GPIO pin to your project to blink an LED.
Note: The clocks files may also be tagged as being updated since the header has been changed.
Something went wrong! Please try again.
Next use the Clocks tool that is part of the MCUXpresso Config Tool to change the clock settings and change the rate that the LED blinks.
Note: The Pins files may also be tagged as being updated since the header has been changed.
Something went wrong! Please try again.
With the application modified, you will see the FRDM-K32L2A4 green LED slowly blinking. You can also view terminal output using the terminal program.
Something went wrong! Please try again.
Explore beyond the FRDM-K32L2A4S by integrating other NXP solutions and software to your project and interact with our worldwide design community
Explore the world with a full assortment of NXP sensor solutions. From accelerometers, pressure sensors, touch sensors, and many more, NXP has a sensor solution for your project. Find out more at http://nxp.com/sensors
Something went wrong! Please try again.
Near Field Communication is a simple, intuitive technology that lets you interact securely with the world around you with a simple touch. Learn more about NXP’s NFC solutions at http://nxp.com/nfc
Something went wrong! Please try again.
p> Connect with other engineers and get expert advice on designing with LPC MCUs and MCUXpresso Software and Tools. Join the community discussion in one of our two dedicated communities: Kinetis MCU Community or MCUXpresso Software and Tools Community
Something went wrong! Please try again.