1
Plug It In2
Get Software3
Build, Run4
Create5
MCUXpresso Developer ExperienceSign in to save your progress. Don't have an account? Create one.
Let's take your FRDM board for a test drive! Watch this video for a detailed look at the Getting Started steps documented below.
The FRDM-MCXW23 board is pre-programmed with a health care IoT 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 J10 to a host computer or power supply to power up the board and run the demo program. Follow the steps shown in the video above to connect and interact with the demo with the NXP's IoT ToolBox.
Note: If a password is required to connect to the device use 999999.
Something went wrong! Please try again.
NXP offers a toolchain called MCUXpresso for Visual Studio Code (VS Code). Please download MCUXpresso for VS Code v25.06 or newer.
Learn how to install VS Code for your host PC with the following tutorial.
Something went wrong! Please try again.
The NXP extension adds tools to help add software repositories into the VS Code workspace. The software repository is provided from three sources:
This section will explain how to import the MCUXpresso SDK using the remote Git repository option.
For the remote Git repository option follow these steps.
\mcux_sdk_v25_06_00_pvw1
Something went wrong! Please try again.
The MCUXpresso SDK is complimentary, including full source code under a permissive open source license for all hardware abstraction and peripheral driver software. You may install the MCUXpresso SDK directly from the MCUXpresso SDK website at MCUXpresso SDK Builder . Click the button below to open this board's SDK builder.
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 such as MCUXpresso extension for VS Code.
Click Get MCUXpresso Config Tools below to get the Config Tools installer.
Something went wrong! Please try again.
The MCUXpresso Secure Provisioning (SEC) Tool is a GUI-based application provided that simplifies generation and provisioning of bootable executables on NXP MCU devices. We recommend that all users to begin with MCUXpresso Secure Provisioning (SEC) tool for trial run and mass production use. It supports secure programming and device provisioning on NXP's microcontrollers at the production stage.
After downloading the tool, you can find the user guide under the ‘Help’ tab. Follow the instructions for your board in the ‘Processor-specific workflow’ chapter.
Note: For advanced users who need a more customizable setup, we also offer a command-line tool that is useful when interfacing with a custom or partner programming tool. The Secure Provisioning SDK (SPSDK) is an open-source development kit with its source code released on GitHub and PyPI .
Something went wrong! Please try again.
The following steps will guide you through the health care IoT
demo application using MCUXpresso IDE for the Cortex-M33 application. The MCUXpresso IDE installation and the SDK for the MCXW-Series can be found at the Get Software section of this Getting Started guide.
The following tab will open on the editor screen
"wireless_examples/reference_design/health_care_iot_peripheral_bm"
to use it as a template for the project, then, click import buttonJ10
'MCU-LINK' portThe following steps will guide you through the health care IoT
demo application using MCUXpresso IDE for
the
Cortex-M33 application. The MCUXpresso IDE installation and the SDK for the MCXW-Series can be found at the Get Software section of this
Getting Started guide.
The following tab will open on the editor screen.
"wireless_examples/reference_design/health_care_iot_peripheral_bm"
to use it as
a template
for the project. Then,
click import buttonJ10
'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 CTimer to generate a Pulse width modulation (PWM) signal and change between two LEDs.
driver_examples/ctimer/ctimer_match_example
, click on the line that matches this text to select it, then click on importfrdmmcxw23_ctimer_match_interrupt_example
project in the side bar then compile and run the demo as described in the previous sectionSomething went wrong! Please try again.
Note: Previously, you had to clone an SDK project like in the previous step.
If this file is included in your project you can search for it in the path: <your_sdk_path>
/mcux/mcuxsdk\examples\_boards\frdmmcxw23\<type_of_project>\<project_name>
For example, in the image shown, the <hello_world>
project type has been selected from the <demo_apps>
folder within the SDK path. This selection is used to locate the .mex file, which contains the configuration for the project. After selecting the file, click Next, then Finish to proceed.
If your imported example project does not have the .mex file present you can just click Cancel button
When the next window appears, click the File tab and then click the Import button
When the new import window pops up, click the "MCUXpresso Config Tools" tab to expand it and then click the "Import Source" button, then click Next
Click to browse for your project path as explained on step 2, then select the "pin_mux.c" file and click Open
The Import source window should appear as shown in the image, then you can click Finish
The pins tool should now display the pin configuration for the CTimer project
Something went wrong! Please try again.
PIO_0
is routed as the outputs of the CTimer so now we add the pin configuration to enable the BLUE LEDCTIMER1
and select MATCH0
under the GPIO columnCTIMER1:MATCH,0
and click doneNote: The clocks and other files may also be tagged as being updated since the header has been changed.
simple_match_interrupt.c
file and add the following macros to initialize the new CTimer, to enable the output for the BLUE LED .ctimer_match_config_t
variable for the new CTimer configuration, then attached the required clock input for the module, then we will init the timer and start setting the match configuration.Something went wrong! Please try again.
Check out each of the following sections to learn about the ecosystem NXP provided for flexible prototyping 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 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 evaluations kits (EVK)
FRDM Development Boards come with standard form factor and headers, easy access to MCU I/Os, onboard MCU-Link debugger and a USB-C cable. Our full-featured evaluation kits include extended I/O and interface access—extendable with Wi-Fi and additional MCU-Link features. They also include Open Cortex Microcontroller Software Interface Standard (CMSIS) Pack example may be available on ACH, but if not, many of them are easy to use via serial interface like Inter-Integrated Circuit (I²C), Serial Peripheral Interface (SPI), and Universal Asynchronous Receiver-Transmitter (UART) for which we provide drivers with examples in the MCUXpresso SDK.
Something went wrong! Please try again.
The ACH 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.
Software accessible from ACH is located in NXP’s GitHub repository so it can be easily accessed and cloned directly from that location.
Something went wrong! Please try again.
In the following video, walks you 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 the supported platforms.
Something went wrong! Please try again.
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.
The following steps will guide you through opening the hello_world
application. The
instructions for compiling and debugging the Cortex M33 core are covered in the instructions below.
Please use IAR Embedded Workbench for Arm version 9.50.1 or above.
Open the desired example application workspace. Most example application workspace files can be located using the following path:
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/iar
Note: In case of building errors, make sure that the correct board is selected, right-click in Project → Options → General Options → Target → Device. Select the NXP MCXW71; this board is supported in IAR Embedded Workbench for Arm version 9.50.1 or higher.
J10
'MCU-Link' port
hello_world
application is now running on the Cortex-M33After 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. Please use MDK-Arm Microcontroller Development Kit (Keil)® version 5.38.1 or above.
MCXW71_DFP
pack.
Click on the "Install" button next to the pack. This process requires an internet connection to
successfully completeThe 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.
If not already done, open the desired demo application workspace in:
<install_dir>/boards/<sdk_board_name>/<example_type>/<application_name>/mdk
This example is written for Windows 10, but MCUXpresso for Visual Studio Code can also be easily installed on MacOS and Linux.
SDK_2_16_000_FRDM-MCXW71.zip
)This lab targets the NXP MCX W Evaluation Kit (FRDM). The kit provides a rich set of connected peripherals to help evaluate the device. It includes an onboard Debug Probe. The Debug Probe is pre-programmed with CMSIS-DAP firmware for this lab. To display debug messages in the examples, the lab connects to the COM port available through the same Debug Probe.
The NXP extension adds tools to help add software repositories into the Visual Studio Code workspace. The software repository can be provided from three sources:
This section will import the MCUXpresso SDK for the MCX W microcontroller using the SDK archive file provided as prerequisite.
C:\Users\NXP\Desktop\VSCODE_SDK
). Enter a name for the new SDK, in this case: SDK_2_16_000_FRDM-MCXW71
The NXP extension provides a "Projects" pane to help developers import projects into their workspace. The user has three sources for importing a new project: a Repository; an existing local project; or an archived project. This section will import an MCX W example from the SDK just added to the "Installed Repositories" panel.
SDK_2_16_000_FRDM-MCXW71
gcc-arm-none-eabi-13.2.1
. The tool also looks in other default locations for MCUXpresso IDE installations. These may be listed as alternative options for GNU Arm Toolchains. Select the gcc-arm-none-eabi-13.2.1
optiondemo_apps/hello_world
The build process is configured when the project is created. The user can initiate the build from an icon in the project view. To the right of the project name, the build icon will start the build for that project. You need to return to the MCUXpresso extension perspective by clicking the “X” icon in the left navigation pane. You may still be in the Explorer perspective from prior section.
hello_world
project. This will start the build process. The "Output" terminal tab at the bottom of the screen displays the build progressThe build process should complete with an exit code of 0… Success!
MCUXpresso for Visual Studio Code allows users to program and debug projects for NXP microcontrollers. These steps require that Debug Probe drivers are properly installed and configured. MCUXpresso for Visual Studio Code allows the use of popular debug probes from NXP, SEGGER and PEmicro. MCUXpresso Installer included the option to properly install support for the different debug probes.
The built project output binary is flashed to the target board before launching a debug session. The Debug session provides controls and views to help the developer analyze the operation of the project. The following steps will show how to successfully flash and program the MCX W FRDM Evaluation Kit.
Starting a Debug session begins by programming the target device with the built project image. Click the common "Play" triangle icon to the right of the selected project
Visual Studio Code Debug sessions provide a different "Run and Debug" perspective for the user. This is reflected by the "Bug" icon in the primary left navigation pane now being highlighted. Key tools are labeled in the following image:
Select the software that matches your OS and download the newest version
Accept the Terms and download the software
.exe
file you just downloaded by doing double-click. Follow the setup instructions until the J-Link installation is complete Connect with other engineers and get expert advice on designing with the FRDM-MCXW23 on one of our community sites.
Install your Toolchain
Jump Start Your Design with the MCUXpresso MCU NEXT GEN SDK
MCUXpresso Config Tools
Programming and Provisioning Tools