Getting Started with MCXW23-EVK

Last Modified: Sep 30, 2025Supports MCXW23 EVK Development Kit

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build and Run
  • 4

    Create
  • 5

    MCUXpresso Developer Experience

1. Plug It In

Let's take your EVK board for a test drive. In following the steps, you may either watch the sequence in a short video, or following the detailed actions listed below.

1.1 Get Familiar with the Board

The MCXW23-EVK board is bundled with the MCXW236BHN-RDM board, which comes pre-programmed with a healthcare IoT demo. This demo serves as a sanity check to verify that the device functions as expected, right out of the box.

Figure 1. MCXW23-EVK Callouts

Figure 1. MCXW23-EVK Callouts

1.2 Set Up the Boards

Connect the MCXW23-EVK board to the MCXW236B-EVK-BB by aligning the connector pins from the radio device module (RDM) board connector J6 and J7 to J8 and J12 respectively, but before plugging in the board, make sure to set up the correct jumper settings on the MCXW236B-EVK-BB.

The image below is your reference for the correct jumper settings when connecting the MCXW236BHN-RDM board to the MCXW23-EVK.

Figure 2. MCXW23-EVK Callouts

Figure 2. MCXW23-EVK Callouts

1.3 Plug In the Board

Use a USB Type-C cable to connect the board via connector J33 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 NXP IoT ToolBox demo.

If a password is required to connect to the device, enter this code: 999999.

Figure 3. MCXW23-EVK Plug in the Board

Figure 3. MCXW23-EVK Plug in the Board

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 higher by clicking the button below.

Visual Studio Code

Get VS Code.

Follow the tutorial to install the toolchain to your host PC.

2.2 Jump Start Your Design with the MCUXpresso SDK

The NXP extension provides tools that add software repositories to the VS Code workspace. The software repository can be accesed from three sources:

  • Remote Git URL
  • NXP MCUXpresso software development kit (SDK) archive file
  • Existing Git folder

This section will show you how to import the MCUXpresso software development kit (SDK) using the remote Git repository in the following steps:

  1. Click on the MCUXpresso extension Icon
  2. Click on the “QUICKSTART PANEL” tab and then click on the "Import Repository" button, then after pressing that button, a new import window will appear on your integrated development environment (IDE)
  3. MCUXpresso SDK Step 1
  4. Select the “REMOTE” option to import the SDK files
  5. Access the Repository options by clicking on the arrow button where you will search for "MCUXpresso SDK - 24.12" or newer
  6. Access the Revision options by clicking on the arrow button where you will search for version "v25.09.00" or newer
  7. Select a folder as the common destination to store SDKs (i.e. C:\VS_CODE_SDKs ) by entering a name for the new SDK (in this case, \mcux_sdk_v25_09_00_pvw1)
  8. Click Import button and wait for the installation
  9. MCUXpresso SDK Step 2

2.3 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, but also as a separate tool when using a different IDE.

Click the Get MCUXpresso Config Tools button 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 graphical user interface (GUI)-based application provided to simplify the generation and provisioning of bootable executables on NXP microcontroller unit (MCU) devices. We recommend that all users begin with the MCUXpresso Secure Provisioning (SEC) tool for trial run and mass production use. This supports secure programming and device provisioning on NXP's microcontrollers at the production stage.

After downloading the tool, find the user guide under the ‘Help’ tab. Next, follow the instructions for your board in the ‘Processor-specific workflow’ chapter.

SEC

SEC Installation

3. Build and Run

The following steps will guide you through the healthcare IoT demo application using MCUXpresso for VS Code extension for the Arm® Cortex®-M33 application. The MCUXpresso extension for VS Code installation and the SDK for the MCXW-Series can be found in the Get Software section of this Getting Started guide.

3.1 Build and Flash an Application Using MCUXpresso IDE

  1. Find the activity bar in the left-hand bar and click to open it, then go to the Explorer and open the "PROJECTS" tab
  2. Build and flash application using MCUXpresso IDE - fig 1

    Build and flash application using MCUXpresso IDE - fig 1
  3. Then click "Import Example from Repository"

    Build and flash application using MCUXpresso IDE - fig 2

    Build and flash application using MCUXpresso IDE - fig 2
    The following tab will open on the editor screen
  4. Build and flash application using MCUXpresso IDE - fig 3
  5. Click the arrow button to right of the "Repository" tab to select the previously downloaded MCXW-Series board SDK and select the compatible example, then click Next
  6. Build and flash application using MCUXpresso IDE - fig 4
  7. Select the toolchain according to the SDK version, then select the appropriate board (for the process to run smoothly, the SDK and toolchain should match)
  8. Build and flash application using MCUXpresso IDE - fig 5
  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. Build and flash application using MCUXpresso IDE - fig 6
  11. Go to the "MCU" tab to expand the project, then search for MCXW236BIHNAR and select it (if it is not found in the MCU tab on the right side, click the change package icon button to select MCXW236BIHNAR as the project)
  12. Build and flash application using MCUXpresso IDE - fig 7
  13. Select the project to build it by either clicking the “build icon” in the shortcuts provided above, or by right clicking to select the "Build" option
  14. Build and flash application using MCUXpresso IDE - fig 8
  15. The project should now build without any errors or warnings in the console
  16. Build and flash application using MCUXpresso IDE - fig 9
  17. Connect the board to your computer using the micro-USB to J33 ‘MCU-LINK’ port
  18. Build and flash application using MCUXpresso IDE - fig 10
  19. Download the application to your board by either clicking the debug icon above or by right clicking to select the "Debug" option
  20. Build and flash application using MCUXpresso IDE - fig 11
  21. Open up a serial terminal to see the application’s output, then in the window select the port to the MCULINK probe that corresponds to your board: “MCULink-VCOM” (set your terminal to baud rate or speed to "460800", 8-bit data, no parity and 1 stop bit and connect to that port)
  22. Build and flash application using MCUXpresso IDE - fig 12
Build and flash application using MCUXpresso IDE - fig 13
  23. Run the application by pressing the “run” icon (see the output printed on the terminal)
  24. Build and flash application using MCUXpresso IDE - fig 14
Build and flash application using MCUXpresso IDE - fig 15
  25. Press the SW3 area labeled as "Wake_up" to start running the example
  26. Build and flash application using MCUXpresso IDE - fig 16
  27. See the output printed on the terminal
  28. Build and flash application using MCUXpresso IDE - fig 17
  29. You can connect the demo to the IoT Toolbox app by following the steps shown in the video found in the Plug It In section of this Getting Started guide

4. Create

4.1 Clone an Example Project from MCUXpresso for VS Code

The following steps will guide you through the manipulation of the general purpose inputs/outputs (GPIOs). This example guides you in settling up GPIO to that will signal to toggle an LED.

  1. Locate the activity bar on the left-hand menu, and click to open it
  2. To import an example application, you have the following options:
    • Go to the Explorer panel, open the Project tab and click "Import Example Application from Repository"
    • Click the import repository icon
    • Go to the Quickstart panel and click the "Import Example from Repository" button
  3. Modify an Example Project from MCUXpresso for VS Code - fig 1

    Modify an Example Project from MCUXpresso for VS Code - fig 1
  4. Click and select the Repository for the MCXW23-EVK board and select the corresponding toolchain that matches the SDK version
  5. Modify an Example Project from MCUXpresso for VS Code - fig 2

    Modify an Example Project from MCUXpresso for VS Code - fig 2
  6. Use the arrow button on the right to expand the template category, then search for "demo_apps/led_blinky_lpc" and click the line of the same name, then click "Import"
  7. Modify an Example Project from MCUXpresso for VS Code - fig 3

    Modify an Example Project from MCUXpresso for VS Code - fig 3
  8. Go to the "MCU" tab to expand the "mcxw23evk_led_blinky_lpc" project by selecting MCXW236BIHNAR (if it is not found in the MCU tab on the right side, click the change package icon button to select MCXW236BIHNAR as the project)
  9. Modify an Example Project from MCUXpresso for VS Code - fig 4

    Modify an Example Project from MCUXpresso for VS Code - fig 4
  10. Select the “mcxw23evk_led_blinky_lpc” project from the list, then compile and run the demo as described in the previous section
  11. Modify an Example Project from MCUXpresso for VS Code - fig 5

    Modify an Example Project from MCUXpresso for VS Code - fig 5
  12. You should now see the RED LED changing back and forth
  13. Terminate the debug session

4.2 Use MCUXpresso IDE Pins Tools

  1. Open the pins tool by right clicking the project, then selecting the “Open with MCUXpressoConfigTools” button
  2. Use MCUXpresso IDE Pins Tools - fig 1
  3. The pins tool should now display the "Start developing" window where you will 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/mcux/mcuxsdk\examples\_boards\mcxw23evk\\) Referring to the image provided, navigate to your SDK path and select the .mex file for your project (this file contains the configuration settings), then click "Next" and then "Finish" to load the configuration
  4. Use MCUXpresso IDE Pins Tools - fig 2
  5. Use MCUXpresso IDE Pins Tools - fig 3

4.3 Use MCUXpresso Config Tools

  1. You will use MCUXpresso Config tools to edit the pin configuration for this project, so in the "Pins" view, deselect “Show dedicated pins” and “Show no routed pins” checkboxes to see only the routed pins (routed pins will 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. Use MCUXpresso Config tools - fig 1
  3. In the current configuration, PIO0_19 is routed as the output of the GPIO to toggle the LED, and here you will add the pin configuration to enable the SW4 button
  4. Select “Show no routed pins” to see the other options, then enable the SW4 button by searching for PIO0_18 by clicking the checkbox under the PIN column
  5. Use MCUXpresso Config tools - fig 2
Use MCUXpresso Config tools - fig 3
  6. After clicking the checkbox, this window will appear, then type on the searchbox "gpio," select "GPIO:PIO0,18" and click done
  7. Use MCUXpresso Config tools - fig 4
  8. Check the pin configuration to be set as an output in the “Routing Details” window
  9. Use MCUXpresso Config tools - fig 5
  10. Now you will implement these changes to the project by exporting the new updated pin_mux.c and pin_mux.h files that are generated by the Pins tool and click "Update Code" in the menu bar
  11. Use MCUXpresso Config tools - fig 6
  12. Now, save your file to proceed to export the new configuration by pressing either CTRL+S or by clicking the File tab and click "Save"
  13. The screen that pops up will show which files are changing (you can click “diff” to see the difference between the current file and the new file generated by the Pins tool)
  14. Click “OK” to overwrite the new files into your project
  15. Use MCUXpresso Config tools - fig 7
  16. Next, you will 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) by copying the files from this folder into the original example folder which will change the project files to the new version
  17. Use MCUXpresso Config tools - fig 8
Use MCUXpresso Config tools - fig 9
Use MCUXpresso Config tools - fig 10
  18. To add additional code to the example, open the led_blinky.c file and add the following macros to control and read the SW4 GPIO pin
  19. Use MCUXpresso Config tools - fig 11
  20. Add the two variables to store the sw state values as those will be used later to control the LED state
  21. Use MCUXpresso Config tools - fig 12
  22. In the last while loop, add these modifications
  23. Use MCUXpresso Config tools - fig 13
  24. Build and download the project as shown in the previous section
  25. Run the application (now every time you press the SW4 the LED will toggle from its current state)
  26. Terminate the debug session

5. MCUXpresso Developer Experience

Check out each of the following sections to learn about the flexible protoyping and development ecosystem. The video below will provide you an introduction 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 (ACH) portal 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 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 featured evaluation kits include extended I/O and interface access, extendibility with WiFi and additional MCU-Link features. There are also many compatible Click Boards and/or Arduino shields. For devices supported by an Open Cortex Microcontroller Software Interface Standard (CMSIS) Pack, example projects may be available on ACH. If not, many are still easy to use via serial interfaces like inter-integrated circuit (I²C), serial peripheral interface (SPI), and universal asynchronous receiver/transmitter (UART)—drivers and example code for these are included in the MCUXpresso software development kit (SDK).

5.2 Application Code Hub

The ACH further enhances our MCUXpresso Developer Experience by giving you 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 in the ACH is located in NXP’s GitHub repository  so it can be easily accessed and cloned from that location directly.

5.3 Demo Walkthrough

The following demo walks you through importing a project from ACH using a system based on the FRDM platform including a motor control shield and a low cost LCD. Although your evaluation board may differ from this system, the following steps can be followed for all supported platforms.

Support

Support

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