Getting Started with FRDM-MCXW23

Last Modified: Jun 12, 2025Supports FRDM-MCXW23 | MCUXpresso Developer Experience

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run
  • 4

    Create
  • 5

    MCUXpresso Developer Experience

1. Plug It In

Let's take your FRDM board for a test drive! Watch this video for a detailed look at the Getting Started steps documented below.

1.1 Get Familiar with the Board

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.

GS-FRDMMCXW236-IMG1

Getting Started with FRDM-MCXW23

1.2 Plug in the Board

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.

Getting Started with FRDM-MCXW23

2. Get Software

2.1 Install your Toolchain

NXP offers a toolchain called MCUXpresso for Visual Studio Code (VS Code). Please download MCUXpresso for VS Code v25.06 or newer.

Visual Studio Code

Get VS Code

Learn how to install VS Code for your host PC with the following tutorial.

2.2 Jump Start Your Design with the MCUXpresso MCU NEXT GEN SDK

The NXP extension adds tools to help add software repositories into the VS Code workspace. The software repository is provided from three sources:

  • Remote Git URL
  • Existing Git folder

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.

  1. Click the MCUXpresso extension Icon
  2. Click the “QUICKSTART PANEL” tab and then click the "Import Repository" button
  3. GS-FRDM-MCXW23-MCUXSDK
  4. After pressing that button a new import window will appear on your integrated development environment (IDE)
  5. GS-FRDM-MCXW23-MCUXSDK
  6. Select the "Remote" option to import the provided SDK files
  7. Locate the Repository options by clicking the arrow button and search for the "MCUXpresso SDK - 24.12 or newer" option
  8. Locate the Revision options by clicking the arrow button and search for version "v25.06.00" or newer
  9. Locate a folder to be a common "Destination" to store SDKs. (i.e. C:\VS_CODE_SDKs) Enter a name for the new SDK, in this case \mcux_sdk_v25_06_00_pvw1
  10. Click Import button and wait for the installation
GS-FRDM-MCXW23-MCUXSDK

2.3 MCUXpresso Config Tools

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.

MCUXPRESSO-SDK-TN

Get 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 such as MCUXpresso extension for VS Code.

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

MCUXpresso Config Tools

Get MCUXpresso Config Tools

2.4 Programming and Provisioning Tools

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.

SEC

SEC Installation

3. Build, Run

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.

Building and Running a Health Care IoT Demo

  1. Find the activity bar in the left-hand bar and click it to open it
  2. Once it's open go to the explorer and open the project tab
  3. GS-FRDMMCXW236-IMG3

    Getting Started with FRDM-MCXW23
  4. Then click Import example from the repository
  5. GS-FRDMMCXW236-IMG4

    Getting Started with FRDM-MCXW23

    The following tab will open on the editor screen

    GS-FRDMMCXW236-IMG5

    Getting Started with FRDM-MCXW23
  6. Click the arrow button on the repository tab to choose your previously download FRDM MCXW-Series board SDK to select an example that can run on that board, and then click Next
  7. GS-FRDMMCXW236-IMG6

    Getting Started with FRDM-MCXW23
  8. Select the toolchain acording to the SDK version—both SDK and toolchain must match to avoid problems—then select the board
  9. GS-FRDMMCXW236-IMG7

    Getting Started with FRDM-MCXW23
  10. Use the arrow button to expand the Template tab, and then select the "wireless_examples/reference_design/health_care_iot_peripheral_bm" to use it as a template for the project, then, click import button
  11. GS-FRDMMCXW236-IMG8

    Getting Started with FRDM-MCXW23
  12. Select the project and build it by either clicking the “Build Icon” in the shortcuts provided above, or by doing a right-clicking to select the "Build" option
  13. GS-FRDMMCXW236-IMG9

    Getting Started with FRDM-MCXW23
  14. The project should build without presenting any errors or warnings in the console
  15. GS-FRDMMCXW236-IMG10

    Getting Started with FRDM-MCXW23
  16. Connect the board to your computer with the micro-USB to J10 'MCU-LINK' port
  17. Getting Started with FRDM-MCXW23
  18. Download the application to your board by either clicking the “debug” icon, or by doing a right-clicking to select the "Debug" option
  19. Getting Started with FRDM-MCXW23
  20. To see the application's output, open up a serial terminal by selecting the port corresponding to the MCULINK probe to your board “MCULink-VCOM” window.
  21. Set your terminal to boudrate or speed to "460800", 8-bits data, no parity and 1 stop bit, then connect to that port
  22. Getting Started with FRDM-MCXW23 Getting Started with FRDM-MCXW23
  23. Run the application by pressing the “run” icon (see the output printed on the terminal)
  24. GS-FRDMMCXW236-IMG15

    Getting Started with FRDM-MCXW23
    Getting Started with FRDM-MCXW23
  25. Press "Wake_up" —labeled as SW2 on the board— to start running the example
  26. Getting Started with FRDM-MCXW23
  27. See the output printed on the terminal
  28. Getting Started with FRDM-MCXW23
  29. You can connect the demo to the IoT Toolbox app by following the steps shown in the Plug it in video in section 1

3.1 Build and Flash Application Using MCUXpresso IDE

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.

Building and Running a Health Care IoT Demo

  1. Find the activity bar in the left-hand bar and click it to open it. Once it's open go to the explorer and open the project tab
  2. GS-FRDMMCXW236-IMG3

    Getting Started with FRDM-MCXW23
  3. Then click Import example from the repository
  4. GS-FRDMMCXW236-IMG4

    Getting Started with FRDM-MCXW23

    The following tab will open on the editor screen.

    GS-FRDMMCXW236-IMG5

    Getting Started with FRDM-MCXW23
  5. Click the arrow button on the repository tab to choose your previously download FRDM MCXW -Series board sdk to select an example that can run on that board, and then click Next.
  6. GS-FRDMMCXW236-IMG6

    Getting Started with FRDM-MCXW23
  7. Select the toolchain acording to the SDK version, both SDK and toolchain must match to avoid problems. Then select the board
  8. GS-FRDMMCXW236-IMG7

    Getting Started with FRDM-MCXW23
  9. Use the arrow button to expand the Template tab, and then select the "wireless_examples/reference_design/health_care_iot_peripheral_bm" to use it as a template for the project. Then, click import button
  10. GS-FRDMMCXW236-IMG8

    Getting Started with FRDM-MCXW23
  11. Select the project and build it by either clicking the “build icon” in the shortcuts provided above or by doing a right click and select the "Build" option
  12. GS-FRDMMCXW236-IMG9

    Getting Started with FRDM-MCXW23
  13. The project should build without presenting any errors or warnings in the console
  14. GS-FRDMMCXW236-IMG10

    Getting Started with FRDM-MCXW23
  15. Connect the board to your computer with the micro-USB to J10 'MCU-LINK' port
  16. Getting Started with FRDM-MCXW23
  17. Download the application to your board by either clicking the “debug” icon above or by doing a right click and select the "Debug" option
  18. Getting Started with FRDM-MCXW23
  19. Open up a serial terminal to be able to see the application’s output. Select the port corresponding to the MCULINK probe to your board “MCULink-VCOM” window. Set your terminal to boudrate or speed to "460800", 8-bits data, no parity and 1 stop bit and connect to that port
  20. Getting Started with FRDM-MCXW23 Getting Started with FRDM-MCXW23
  21. Run the application by pressing the “run” icon. See the output printed on the terminal
  22. GS-FRDMMCXW236-IMG15

    Getting Started with FRDM-MCXW23
    Getting Started with FRDM-MCXW23
  23. Press on board SW2 label as "Wake_up" to start running the example
  24. Getting Started with FRDM-MCXW23
  25. See the output printed on the terminal
  26. Getting Started with FRDM-MCXW23
  27. You can connect the demo to the IoT Toolbox app by following the steps shown in the Plug it in video in section 1

4. Create

4.1 Modify an Example Project from MCUXpresso for VS Code

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.

  1. Find the activity bar in the left-hand bar, and click to open it then once it's open you can either
    • Go to the Explorer and open the Project tab and click on import example application from an imported repository
    • Click the import repository icon
    • Go to the Quickstart panel and click on Import Example from Repository button
    • GS-FRDMMCXW23

      GS-FRDMMCXW23
  2. Click and select the repository for the FRDM-MCXW23 board to select the corresponding toolchain that matches the SDK version
  3. GS-FRDMMCXW23
  4. Use the arrow button to expand the template category, search for driver_examples/ctimer/ctimer_match_example, click on the line that matches this text to select it, then click on import
  5. GS-FRDMMCXW23

    GS-FRDMMCXW23
  6. Click on the frdmmcxw23_ctimer_match_interrupt_example project in the side bar then compile and run the demo as described in the previous section
  7. GS-FRDMMCXW23
  8. You should see the GREEN LED changing back and forth
  9. Terminate the debug session

4.2 Use MCUXpresso IDE Pins Tools

  1. Open the pins tool by right clicking the project, then selecting the selecting “Open with MCUXpressoConfigTools” button
  2. GS-FRDMMCXW23

    GS-FRDMMCXW23
  3. The pins tool should now display the Start Developing window and then you should search for the .mex file of the project and select it

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.

GS-FRDMMCXW23

GS-FRDMMCXW23

If your imported example project does not have the .mex file present you can just click Cancel button

GS-FRDMMCXW23

GS-FRDMMCXW23

When the next window appears, click the File tab and then click the Import button

GS-FRDMMCXW23

GS-FRDMMCXW23

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

GS-FRDMMCXW23

GS-FRDMMCXW23

Click to browse for your project path as explained on step 2, then select the "pin_mux.c" file and click Open

GS-FRDMMCXW23

GS-FRDMMCXW23

The Import source window should appear as shown in the image, then you can click Finish

GS-FRDMMCXW23

GS-FRDMMCXW23

The pins tool should now display the pin configuration for the CTimer project

4.3 Use the Pins Tools to Modify the LED Routed Pin

  1. In the Pins view deselect “Show dedicated pins” and “Show no routed pins” checkboxes to see only the (routed) pins have a check in a green box next to the pin name and the functions selected for each routed pin are highlighted in green
  2. GS-FRDMMCXW23
  3. In the current configuration, PIO_0 is routed as the outputs of the CTimer so now we add the pin configuration to enable the BLUE LED
  4. FRDM-MCXW71 Enable Green LED
  5. Select "Show no routed pins" to see the other options, then enable the BLUE LED by searching for CTIMER1 and select MATCH0 under the GPIO column
  6. GS-FRDMMCXW23
  7. After clicking the checkbox, this window will appear, then type in the search box "MATCH", then select the CTIMER1:MATCH,0 and click done
  8. GS-FRDMMCXW23
  9. Ensure that the pin configuration is set as an output in the “Routing Details” window
  10. GS-FRDMMCXW23

    GS-FRDMMCXW23
  11. Now, it’s time to implement these changes into the project by exporting the new updated pin_mux.c and pin_mux.h files that were generated by the Pins tool by checking the pin configuration to be set as an output in the “Routing Details” window
  12. GS-FRDMMCXW23
  13. Now, save your file to proceed to export the new configuration files by pressing either CTRL+S or press on the file tab and click save
  14. The screen that pops up will show the files that are changing, allowing you to click “diff” to see the difference between the current file and the new file generated by the Pins tool
  15. Click “OK” to overwrite the new files into your project.
  16. GS-FRDMMCXW23

    GS-FRDMMCXW23
  17. In this step you replace the new generated files from the tool created inside a new folder called "board"—located in your examples path as shown in previous steps— where you can copy the files from this folder into the original example folder where to change the project files to the new version
  18. GS-FRDMMCXW23

    GS-FRDMMCXW23

    GS-FRDMMCXW23

    GS-FRDMMCXW23

    GS-FRDMMCXW23

    GS-FRDMMCXW23
  19. To add some additional code to the example, you open the simple_match_interrupt.c file and add the following macros to initialize the new CTimer, to enable the output for the BLUE LED .
  20. GS-FRDMMCXW23

    GS-FRDMMCXW23
  21. Add the 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.
  22. GS-FRDMMCXW23

    GS-FRDMMCXW23
  23. Before the main function, you set up the new CTimer to match configuration, then start the timer
  24. GS-FRDMMCXW23
  25. Build and download the project as shown in the previous section
  26. When you run the application in this step, you should now see the Green and Blue LED blinking back and forth
  27. Terminate the debug session

5. MCUXpresso Developer Experience

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.

5.1 FRDM Platform, Full Feature EVK and Shields

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.

5.2 Application Code Hub (ACH)

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.

5.3 Demo Walkthrough

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.

System Design Guides

Terminal Application

Toolchains

MCUXpresso for VS Code

Debugger Firmware

Support

Forums

Connect with other engineers and get expert advice on designing with the FRDM-MCXW23 on one of our community sites.