Design Win

STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards)

Get Software Download databrief

Product overview


STM32Cube is an STMicroelectronics original initiative to significantly improve developer productivity by reducing development effort, time and cost. STM32Cube covers the whole STM32 portfolio.

STM32Cube includes STM32CubeMX, a graphical software configuration tool for pinout and clock tree.

It also comprises the STM32CubeWL MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components such as FatFS, STM32 Secure Engine, KMS, mbed Crypto and FreeRTOS™, plus LoRaWAN® and Sigfox™ stacks, and sub-GHz PHY connectivity services. All embedded software components 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.

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

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

  • All features

    • Consistent and complete embedded software offer that frees the user from dependency issues
    • Maximized portability between all STM32 series supported by STM32Cube
    • Application and peripheral examples for easy understanding
    • High-quality hardware abstraction layer (HAL) using CodeSonar® static analysis tool and compliant with MISRA C®:2012
    • High-quality low-layer APIs (LL) using CodeSonar® static analysis tool and compliant with MISRA C®:2012
    • FreeRTOS™, FatFS, mbed Crypto
    • STM32WL-specific middleware components: LoRaWAN® and Sigfox™ stacks, sub-GHz physical layer
    • Security middleware components: STM32 Secure Engine, STM32 key management services (KMS)
    • Free-of-charge, user-friendly license terms
    • Automatic update mechanism with new release notification through STM32CubeMX updater feature
    • Published on GitHub in addition to to propagate bug fixes and improvements faster, open for pull requests and issues to facilitate user contributions and direct feedback

Get Software