STM32Cube MCU Package for STM32WB series (HAL and LL low level drivers, USB, File system, RTOS - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

STM32Cube™ is an STMicroelectronics original initiative to make developers' lives easier by reducing development effort, time and cost. STM32Cube™ covers the whole STM32 portfolio.

STM32Cube™ includes STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code using graphical wizards.

It also comprises the STM32CubeWB MCU Package composed of the STM32Cube™ hardware abstraction layer (HAL) and the low-layer (LL) APIs, a consistent set of middleware components such as USB Device, STMTouch, STM32_WPAN (Bluetooth® 5 profiles and services, OpenThread and 802-15-4 MAC services), FatFS and FreeRTOS™, plus Bluetooth® 5 profiles and services, OpenThread, Concurrent Bluetooth® 5/Thread®, HCI and 802-15-4 MAC connectivity services. All embedded software utilities are delivered with a full set of examples running on STMicroelectronics boards.

The STM32Cube™ HAL is an STM32 embedded software layer that ensures maximized portability across the STM32 portfolio, while the LL APIs make up a fast, light-weight, expert-oriented layer which is closer to the hardware than the HAL. HAL and LL APIs can be used simultaneously with a few restrictions.

Both the HAL and LL APIs are production-ready and have been developed in compliance with CodeSonar®, MISRA-C®:2012 guidelines and ISO/TS 16949. Furthermore, STMicroelectronics specific validation processes add a deeper-level qualification.

The STM32CubeWB gathers in one single package all the generic embedded software components required to develop an application on STM32WB microcontrollers. Following STM32Cube™ initiative, this set of components is highly portable, not only within the STM32WB Series but also to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeWB HAL at the cost of portability and simplicity.

HAL and LL APIs are available in open-source BSD license for user convenience.

Key Features

  • Consistent and complete embedded software offer that frees the user from dependency issues
  • Maximized portability between all STM32 series supported by STM32Cube™
  • Hundreds of examples for easy understanding
  • High quality HAL using CodeSonar® static analysis tool
  • High quality low-layer APIs (LL) using CodeSonar® static analysis tool
  • STM32WB-specific middleware: USB Device, STMTouch (STM32 touch sensing library), STM32_WPAN (Bluetooth® 5 profiles and services, OpenThread services, 802-15-4 MAC services), FatFS and FreeRTOS™
  • STM32WB Bluetooth® 5 and HCI stacks
  • OpenThread stack
  • 802.15.4 MAC
  • Free user-friendly license terms
  • Update mechanism with new-release notification capability




Technical Documentation

Product Specifications
Description Version Size
DB3161 DB3161: STM32Cube embedded software for STM32WB Series including LL and HAL drivers, Bluetooth® 5 and Thread® libraries, RTOS, and touch sensing 1.0 199.24 KB
Application Notes
Description Version Size
AN5155 AN5155: STM32Cube MCU Package examples for STM32WB Series 1.0 315.96 KB
User Manuals
Description Version Size
UM2442 UM2442: Description of STM32WB HAL and low-layer drivers 1.0 9.23 MB
UM1722 UM1722: Developing Applications on STM32Cube with RTOS 2.5 710.15 KB
UM1721 UM1721: Developing applications on STM32Cube™ with FatFs 3.0 649.69 KB
UM2550 UM2550: Getting started with STM32CubeWB for STM32WB Series 1.0 563.17 KB
UM1734 UM1734: STM32Cube™ USB device library 4.0 1.45 MB

Presentations & Training Material

Description Version Size
New STM32WB Series MCU with built-in Bluetooth™ 5 and IEEE 802.15.4 1.0 1.74 MB
STM32 Embedded Software overview 2.5 342.73 KB
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

Description Version Size
STM32Cube eases STM32 development 18.12 1.13 MB
STM32WB Wireless Series Bluetooth™ 5 and IEEE 802.15.4 19.02 680.5 KB
Description Version Size
STM32 32-bit MCU family - Leading supplier of Arm® Cortex®-M microcontrollers 18.02 2.06 MB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB

Tools and Software

Development Tools
Software Development Tools
Embedded Software
MCU & MPU Embedded Software
Evaluation Tools
Product Evaluation Tools
Support and Applications

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download
STM32CubeWB STM32Cube MCU Package for STM32WB series (HAL and LL low level drivers, USB, File system, RTOS - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards) // For Nucleo pack with reference EPNWB55$CU5 (visible on the backside of the blister), please contact your local sales to get the corresponding firmware package // 1.0.0 ST Active -


Support & Community
Featured Products