ST 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 Zephyr nucleo_wb05kz
board target supports the following hardware features:
Interface |
Controller |
Driver/Component |
---|---|---|
NVIC |
on-chip |
nested vector interrupt controller |
UART |
on-chip |
serial port-polling; serial port-interrupt |
PINMUX |
on-chip |
pinmux |
GPIO |
on-chip |
gpio |
FLASH |
on-chip |
internal flash memory |
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file: boards/st/nucleo_wb09ke/nucleo_wb09ke_defconfig
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
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
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