1
Out of the Box2
Get Software3
Build, Run4
Create5
Developer ExperienceSign in to save your progress. Don't have an account? Create one.
Let's take your FRDM board for a test drive. You have the choice of watching the sequence in a short video or following the detailed actions listed below.
The FRDM-MCXC242 board is preprogrammed with an LED blinky demo. This serves as a sanity check to verify that the device is working as expected out of the box.
Something went wrong! Please try again.
Connect a type-C USB cable from connector J9
to a host computer or power supply to power up the board and run the demo program.
At this point, you should see the RGB LED blinking at a steady rhythm.
Something went wrong! Please try again.
NXP offers a complimentary toolchain called MCUXpresso IDE. Please download MCUXpresso v11.8.1 or above.
Learn how to install VS Code for your host PC with the following tutorial.
If you need help choosing, explore the MCUXpresso Suite of Software and Tools.
The MCUXpresso SDK includes support for other tools such as IAR , KEIL and command-line GCC .
Something went wrong! Please try again.
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 the button below to open this board's SDK builder.
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 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 ToolsSomething went wrong! Please try again.
NXP provides MCUXpresso Secure Provisioning (SEC) for trial run and mass production use. It supports secure programming and device provisioning on NXP's microcontrollers at the production stage. The MCUXpresso Secure Provisioning (SEC) Tool is a GUI-based application provided to simplify generation and provisioning of bootable executables on NXP MCU devices. The Secure Provisioning SDK (SPSDK) is an open-source development kit with its source code released on Github and PyPI. This command-line tool is useful when interfacing with a custom or partner programming tool.
Something went wrong! Please try again.
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.
The following steps will guide you through the hello_world
demo application using MCUXpresso IDE for the Cortex-M0+
application. The MCUXpresso IDE installation and the SDK for the MCXC-Series can be found at the section
Get Software of this Getting Started guide.
hello_world
to select
that project. To use the UART for printing (instead of the default semihosting), select UART as the SDK Debug Console checkbox
under the project options. Then, click Finish
J9
‘MCU-LINK’ portSomething went wrong! Please try again.
The following steps will guide you through the manipulation of the general-purpose outputs. The example sets up a TPM to generate two PWM signals and change the brightness of an LED.
FRDM-MCXC242 board
to select that you want to import an example that can run on that board, and then click Nextdriver_examples
category, then expand the tpm examples, click the checkbox next to frdmmcxc242_tpm_pwm_twochannel
to select it. To use the UART for printing (instead of the default semihosting), Select UART as the SDK Debug Console checkbox under the project options“frdmmcxc242_tpm_pwm_twochannel”
project in the Project Explorer View and build, compile and run the demo as described in the previous sectionSomething went wrong! Please try again.
The following steps will guide you through the manipulation of the general-purpose outputs. The example sets up a TPM to generate a PWM signal and change a LED brightness.
“Create a new configuration based on an SDK example or hello word project”
radio button
and click on Next
tpm_pwm_twochannel
project. You can filter for this by typing “tpm”
in the filter box and then selecting the “tpm_pwm_twochannel”
example project.
You can then also specify where to clone the project and the name. Then click on Finish
“Serial Terminal”
and then set the UART settings to 115200 baudrate, 8-bit data size, no parity and 1 stop bit. Press
OK. Enter any number between 0-9 to change LED brightness
Something went wrong! Please try again.
Note: Previously, you had to clone an SDK project like in the previous step.
“ConfigTools”
on the top right hand of the file explorer window and then select “Open Pins”
Something went wrong! Please try again.
PTB18
and PTB19
are routed as the outputs of the TPM. Let’s add the pin configuration to enable the BLUE LED“Show no routed pins”
to see the other options. To enable the BLUE LED, search for BLUE or PTA13 and select TPM1:CH, 1 under the TPM columnpin_mux.c
and pin_mux.h
files that are generated by the Pins tool. Click Update Code in the menu barNote: The clocks and other files may also be tagged as being updated since the header has been changed.
tpm_pwm_twochannel.c
file and add the following macros for BLUE LED TPM instance and channelTPM1_CH1
TPM1_CH1
control function inside the while loop“Serial Terminal”
and then set the UART settings to 115200 baudrate, 8-bit data size, no parity and 1 stop bit. Press OK. Enter any number between 0-9 to change the LED brightness. you can see the RGB_LED is also changed the brightness and the color shoud be white, which means that all 3 BLUE/GREEN/RED LED is onSomething went wrong! Please try again.
Check out each of the following sections to learn about the ecosystem provided for flexible protyping and development. In the video below, we will introduce you to the FRDM platform, the full-featured EVK and the compatible shields for extended capabilities. In addition we will walk you through our Application Code Hub portal where we provide numerous application examples through NXP's GitHub.
For quick prototyping platforms, we offer both the low-cost FRDM platform and the full-featured EVK.
FRDM Development Boards come with standard form factor and headers, easy access to MCU I/Os, on-board MCU-Link debugger and a USB-C cable. Our full features evaluation kits include extended I/O and interface access, extendable with WiFi and additional MCU-Link features.There are also many compatible Click Board and/or Arduino shields. For those that are supported with an Open CMSIS Pack examples may be available on ACH, but if not many of them are easy to use via serial interface like I²C, SPI and UART, for which we provide drivers with examples in the MCUXpresso SDK.
Something went wrong! Please try again.
The Application Code Hub further enhances our MCUXpresso Developer Experience by giving developers an interactive dashboard to quickly locate software. Visit the ACH today to start exploring or discover additional details and benefits of the new interactive Application Code Hub.
Software accessible from Application Code Hub is located in NXP’s GitHub repository so it can be easily accessed and cloned from that location directly.
Something went wrong! Please try again.
The following demo walks us through importing a project from ACH using a system based on the FRDM platform with a motor control shield and a low-cost LCD. Although your evaluation board may differ from this system, the following steps can be replicated and used for all supported platforms.
Something went wrong! Please try again.
Connect with other engineers and get expert advice on designing with the FRDM-MCXC242 board using our community sites.
Install Your Toolchain
Jump Start Your Design with the MCUXpresso SDK
MCUXpresso Config Tools
Programming and Provisioning Tools