Nucleo WB05KZ

Overview

The Nucleo WB05KZ board is a Bluetooth® Low Energy wireless and ultra-low-power board featuring an ARM Cortex®-M0+ based STM32WB05KZV MCU, embedding a powerful and ultra-low-power radio compliant with the Bluetooth® Low Energy SIG specification v5.4.

More information about the board can be found on the Nucleo WB05KZ webpage.

Hardware

Nucleo WB05KZ provides the following hardware components:

  • STM32WB05KZV in VFQFPN32 package

  • ARM® 32-bit Cortex®-M0+ CPU

  • 64 MHz maximal CPU frequebct

  • 192 KB Flash

  • 24 KB SRAM

More information about STM32WB05KZV can be found here:

Supported Features

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

Bluetooth® support

Bluetooth® Low Energy support is enabled; however, to build a Zephyr sample using this board, you first need to fetch the Bluetooth® controller library into Zephyr as a binary BLOB.

To fetch binary BLOBs:

west blobs fetch hal_stm32

Connections and IOs

Default Zephyr Peripheral Mapping:

  • USART1 TX/RX : PA1/PB0 (ST-Link Virtual COM Port)

  • BUTTON (B1) : PA0

  • BUTTON (B2) : PB5

  • BUTTON (B3) : PB14

  • LED (LD1/BLUE) : PB1

  • LED (LD2/GREEN) : PB4

  • LED (LD3/RED) : PB2

For more details, please refer to the Nucleo WB05KZ board User Manual.

Programming and Debugging

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

flash debug

Nucleo WB05KZ board includes an ST-LINK-V3EC embedded debug tool interface.

Applications for the nucleo_w05kz board target can be built and flashed in the usual way (see Building an Application and Run an Application for more details).

Flashing

The board is configured to be flashed using the west STM32CubeProgrammer runner, so it must be installed beforehand.

Alternatively, OpenOCD can also be used to flash the board using the --runner (or -r) option:

$ west flash --runner openocd

Flashing an application to Nucleo WB05KZ

Connect the Nucleo WB05KZ to your host computer using the USB port, then run a serial host program to connect with your Nucleo board:

$ minicom -D /dev/ttyACM0

Now build and flash an application. Here is an example for Hello World.

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

You should see the following message on the console:

Hello World! nucleo_wb05kz/stm32wb05

Usage of the pyOCD runner requires installation of an additional target pack. This can be done using the following commands:

$ pyocd pack update
$ pyocd pack install stm32wb0

Debugging

You can debug an application in the usual way. Here is an example for the Hello World application.

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