EVK-NINA-B5-MCXW716C

Overview

The EVK-NINA-B5 is a compact and scalable development board for rapid prototyping of the NINA-B5 wireless module. It offers easy evaluation of the NINA-B5’s multiprotocol wireless support for Bluetooth LE, Zigbee, Thread and Matter. The board includes an on-board J-link-Link debugger and industry standard headers for easy access to the MCU’s I/Os.

The NINA-B5 module is built on the MCX W71x 96 MHz Arm® Cortex®-M33 from NXP.

Hardware

  • MCXW71 Arm Cortex-M33 microcontroller running up to 96 MHz

  • 1MB on-chip Flash memory unit

  • 128 KB TCM RAM

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

For more information about the NINA-B5 module and EVK-NINA-B5 board, see:

Supported Features

The ubx_evkninab5 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.

ubx_evkninab5/mcxw716c target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33F CPU1

arm,cortex-m33f

ADC

on-chip

LPC LPADC1

nxp,lpc-lpadc

ARM architecture

on-chip

NXP NBU interruption information1

nxp,nbu

Bluetooth

on-chip

NXP BLE HCI information1

nxp,hci-ble

CAN

on-chip

NXP FlexCAN controller1

nxp,flexcan

Clock control

on-chip

NXP K4 Generation SCG (System Clock Generator) IP node1

nxp,scg-k4

on-chip

Generic fixed-rate clock provider1

fixed-clock

Counter

on-chip

NXP Low Power Periodic Interrupt Timer (LPIT)1

nxp,lpit

on-chip

Child node for the Low Power Periodic Interrupt Timer node, intended for an individual timer channel4

nxp,lpit-channel

on-chip

NXP LPTMR11

nxp,lptmr

DMA

on-chip

NXP MCUX EDMA controller1

nxp,mcux-edma

Flash controller

on-chip

NXP MSF1 Flash Memory Module (FMU)1

nxp,msf1

GPIO & Headers

on-chip

Kinetis GPIO31

nxp,kinetis-gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

NXP LPI2C controller2

nxp,lpi2c

IEEE 802.15.4

on-chip

NXP MCXW71 IEEE 802.15.4 node1

nxp,mcxw-ieee802154

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

on-chip

NXP Wakeup Unit (WUU)1

nxp,wuu

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Miscellaneous

on-chip

NXP FlexIO controller1

nxp,flexio

MMU / MPU

on-chip

ARMv8-M MPU (Memory Protection Unit)1

arm,armv8m-mpu

MTD

on-chip

Flash node1

soc-nv-flash

on-board

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

fixed-partitions

Pin control

on-chip

NXP PORT Pin Controller4

nxp,port-pinmux

on-chip

NXP PORT Pin Controller1

nxp,port-pinctrl

Power management

on-chip

NXP Core Mode Controller (CMC)1

nxp,cmc

on-chip

NXP System Power Control (SPC)1

nxp,spc

on-chip

NXP Smart Power Switch (VBAT)1

nxp,vbat

PWM

on-chip

MCUX Timer/PWM Module (TPM)2

nxp,kinetis-tpm

on-chip

NXP Flexio PWM controller1

nxp,flexio-pwm

Regulator

on-chip

NXP VREF SOC peripheral1

nxp,vref

RNG

on-chip

NXP ELE (EdgeLock secure enclave) TRNG (True Random Number Generator)1

nxp,ele-trng

RTC

on-chip

NXP Real Time Clock (RTC)1

nxp,rtc

Serial controller

on-chip

NXP LPUART2

nxp,lpuart

SPI

on-chip

NXP LPSPI controller2

nxp,lpspi

SRAM

on-chip

Generic on-chip SRAM2

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

Watchdog

on-chip

NXP watchdog (WDOG32)11

nxp,wdog32

on-chip

NXP External Watchdog Monitor1

nxp,ewm

Fetch Binary Blobs

To support Bluetooth, ubx_evkninab5 requires fetching binary blobs, which can be achieved by running the following command:

west blobs fetch hal_nxp

Note: The EVK-NINA-B5 is preflashed with NBU files.

Programming and Debugging

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

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

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.

Configuring a Console

Connect a USB cable from your PC to the USB port, 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

Application Building

# From the root of the zephyr repository
west build -b ubx_evkninab5 samples/basic/button

Application Flashing

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b ubx_evkninab5 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 v3.7.0-xxx-xxxx ***
Hello World! ubx_evkninab5

Debugging

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b ubx_evkninab5 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 v3.7.0-xxx-xxxx ***
Hello World! ubx_evkninab5

NBU Flashing

BLE functionality requires to fetch binary blobs, so make sure to follow the Fetch Binary Blobs section first.

Two images must be written to the board: one for the host (CM33) and one for the NBU (CM3).

  • To flash the application (CM33) refer to the Application Flashing section above.

  • To flash the NBU Flashing, follow the instructions below in the NINA-B5 system integration manual available on the NINA-B5 product page [1].

The NBU files can be found in : <zephyr workspace>/modules/hal/nxp/zephyr/blobs/mcxw71/ folder.

For more details:

References