Nucleo WB09KE
Overview
The Nucleo WB09KE board is a Bluetooth® Low Energy wireless and ultra-low-power board featuring an ARM Cortex®-M0+ based STM32WB09KEV 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 WB09KE webpage.
Hardware
Nucleo WB09KE provides the following hardware components:
STM32WB09KEV in VFQFPN32 package
ARM® 32-bit Cortex®-M0+ CPU
64 MHz maximal CPU frequebct
512 KB Flash
64 KB SRAM
More information about STM32WB09KEV can be found here:
Supported Features
The Zephyr nucleo_wb09ke
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 |
I2C |
on-chip |
i2c |
SPI |
on-chip |
spi |
ADC |
on-chip |
adc |
RADIO |
on-chip |
Bluetooth Low Energy |
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
Bluetooh support
BLE 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 WB09KE board User Manual.
Programming and Debugging
Nucleo WB09KE board includes an ST-LINK-V3EC embedded debug tool interface.
Applications for the nucleo_w09ke
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 WB09KE
Connect the Nucleo WB09KE 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_wb09ke samples/hello_world
west flash
You should see the following message on the console:
Hello World! nucleo_wb09ke/stm32wb09
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_wb09ke samples/hello_world
west debug