FRDM-MCXW23

Overview

The FRDM-MCXW23 is a compact and scalable development board featuring the MCX W23 Bluetooth Low Energy (LE) 5.3 wireless MCU. The board is ideal for prototyping battery-powered, miniaturized devices within portable medical, home appliance and automation, and asset tracking applications. Equipped with an on-board accelerometer, temperature sensor, data flash and LED’s, it operates from a 3V coincell with integrated buck DCDC or from the USB bus power. The board offers easy evaluation and rapid prototyping of the MCX W23 wireless MCU.

Hardware

  • MCXW23 Arm® Cortex®-M33 microcontroller running at up to 32 MHz

  • 1 MB flash and 128 KB SRAM on-chip

  • 40HVQFN package

  • On-board MCU-Link debugger with CMSIS-DAP

  • Tri-color LED

  • Reset, ISP, wake, and user buttons for easy testing of software functionality

  • NXP FXLS8974CFR3 accelerometer

  • P3T1755 temperature sensor

  • 64Mbit (8MB) on board NOR FLASH

  • Arduino Header, mikroBUS, Pmod

For more information about the MCXW236 SoC and FRDM-MCXW23 board, see:

Supported Features

The frdm_mcxw23 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

frdm_mcxw23/mcxw236 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33F CPU1

arm,cortex-m33f

ARM architecture

on-chip

LPC Flexcomm node1

nxp,lpc-flexcomm

Clock control

on-chip

LPC SYSCON & CLKCTL IP node1

nxp,lpc-syscon

on-chip

Generic fixed-rate clock provider1

fixed-clock

Counter

on-chip

Driver that uses the NXP LPC RTC High resolution counter1

nxp,lpc-rtc-highres

on-chip

NXP MCUX Standard Timer/Counter5

nxp,lpc-ctimer

DMA

on-chip

NXP LPC DMA controller2

nxp,lpc-dma

Flash controller

on-chip

NXP (In-Application Programming) flash memory controller for the lpc55xxx family, except lpc553x1

nxp,iap-fmc55

GPIO & Headers

on-chip

LPC GPIO1

nxp,lpc-gpio

on-chip

LPC GPIO port device1

nxp,lpc-gpio-port

on-board

GPIO pins exposed on Mikro BUS headers1

mikro-bus

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

Hardware information

on-chip

NXP LPC 128-bit Unique identifier1

nxp,lpc-uid

I2C

on-chip

LPC I2C1

nxp,lpc-i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

NXP Pin interrupt and pattern match engine (PINT)1

nxp,pint

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MMU / MPU

on-chip

ARMv8-M MPU (Memory Protection Unit)1

arm,armv8m-mpu

MTD

on-chip

Flash node2 1

soc-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

LPC I/O Pin Configuration (IOCON)1

nxp,lpc-iocon

on-chip

LPC pinctrl node1

nxp,lpc-iocon-pinctrl

Reset controller

on-chip

LPC SYSCON Peripheral reset controller1

nxp,lpc-syscon-reset

RNG

on-chip

Kinetis TRNG (True Random Number Generator)1

nxp,kinetis-trng

RTC

on-chip

NXP LPC RTC1

nxp,lpc-rtc

Sensors

on-board

FXLS8974 3-axis accelerometer sensor1

nxp,fxls8974

Serial controller

on-chip

LPC USART1

nxp,lpc-usart

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

Watchdog

on-chip

LPC Windowed Watchdog Timer1

nxp,lpc-wwdt

Connections and IOs

The MCXW23 SoC has IOCON registers, which can be used to configure the functionality of a pin.

Name

Function

Usage

PIO0_20

GPIO

ISP SW3

PIO0_6

SPI

SPI MOSI

PIO0_2

USART

USART RX

PIO0_3

USART

USART TX

PIO0_5

SPI

SPI SSEL0

PIO0_8

SPI

SPI SSEL1

PIO0_10

SPI

SPI SCK

PIO0_7

SPI

SPI MISO

PIO0_1

GPIO

RED LED

PIO0_4

GPIO

BLUE_LED

PIO0_0

GPIO

GREEN LED

PIO0_19

GPIO

USER LED

PIO0_18

GPIO

USR SW2

PIO0_21

GPIO

Wakeup SW5

PIO0_14

I2C

I2C SCL

PIO0_13

I2C

I2C SDA

PIO0_15

GPIO

FXLS8974CFR3 INT1

PIO0_16

GPIO

FXLS8974CFR3 INT2

PIO0_16

GPIO

P3T1755 INT2

System Clock

The MCXW23 SoC is configured to use FRO running at 32 MHz as a system clock source.

Serial Port

The MCXW23 SoC has 3 FLEXCOMM interfaces for serial communication. One is configured as USART for the console, one is configured for I2C, and the other one is configured for SPI.

Programming and Debugging

The frdm_mcxw23 board supports the runners and associated west commands listed below.

flash debug debugserver rtt attach
jlink
linkserver ✅ (default) ✅ (default)
pyocd

Build and flash applications as usual (see Building an Application and Run an Application for more details).

Configuring a Debug Probe

A debug probe is used for both flashing and debugging the board. This board is configured by default to use the MCU-Link CMSIS-DAP Onboard Debug Probe.

Using LinkServer

Linkserver is the default runner for this board, and supports the factory default MCU-Link firmware. Follow the instructions in MCU-Link CMSIS-DAP Onboard Debug Probe to reprogram the default MCU-Link firmware. This only needs to be done if the default onboard debug circuit firmware was changed. To put the board in DFU mode to program the firmware, short jumper JP5.

Configuring a Console

Connect a USB cable from your PC to J10, and use the serial terminal of your choice (minicom, putty, etc.) with the following settings:

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Flashing

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b frdm_mcxw23 samples/hello_world
west flash

Open a serial terminal, reset the board (press the RESET button), and you should see the following message in the terminal:

*** Booting Zephyr OS build v4.2.0-2105-g48f2ffda26de ***
Hello World! frdm_mcxw23/mcxw236

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b frdm_mcxw23 samples/hello_world
west debug

Open a serial terminal, step through the application in your debugger, and you should see the following message in the terminal:

*** Booting Zephyr OS build v4.2.0-2105-g48f2ffda26de ***
Hello World! frdm_mcxw23/mcxw236

Support Resources for Zephyr