STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB PD, File system, RTOS) - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)

STM32Cube is an STMicroelectronics original initiative to improve developers' productivity 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 STM32CubeG0 MCU Package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FAT file system and UCPD power delivery).

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 MISRA-C:2012 guidelines with some documented exceptions (reports available on demand) and ISO/TS 16949. Furthermore, ST-specific validation processes add a deeper-level qualification.

The STM32CubeG0 gathers in one single package all the generic embedded software components required to develop an application on STM32G0 microcontrollers. Following STM32Cube initiative, this set of components is highly portable, not only within the STM32G0 Series but also to other STM32 Series. In addition, the low-layer APIs provide an alternative, high-performance, low-footprint solution to the STM32CubeG0 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
  • More than 130 examples for easy understanding
  • High quality HAL and low-layer API drivers using CodeSonar static analysis tool
  • High quality low-layer APIs (LL) using CodeSonar static analysis tool
  • STM32G0-dedicated middleware including USB Device, FatFS, RTOS and UCPD library
  • Free user-friendly license terms
  • Update mechanism that can be enabled by the user to be notified of new releases




Technical Documentation

Product Specifications
Description Version Size
DB3796 DB3796: STM32Cube MCU Package for STM32G0 Series with HAL, low-layer drivers and dedicated middleware 1.0 121.17 KB
Application Notes
Description Version Size
AN5110 AN5110: STM32Cube firmware examples for STM32G0 Series 3.0 335.56 KB
User Manuals
Description Version Size
UM2319 UM2319: Description of STM32G0 HAL and low-layer drivers 1.0 8.37 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
UM2303 UM2303: Getting started with STM32CubeG0 for STM32G0 Series 3.0 658.84 KB
UM2308 UM2308: STM32CubeG0 Nucleo demonstration firmware 2.0 866.52 KB
UM2321 UM2321: STM32CubeG0 demonstration firmware 1.0 2.41 MB
UM1734 UM1734: STM32Cube™ USB device library 4.0 1.45 MB

Presentations & Training Material

Description Version Size
STM32 Embedded Software overview 2.5 342.73 KB
STM32 and STM8 embedded software solutions 7.0 3.12 MB
STM32G0 MCU Series - Efficiency at its Best 1.1 2.06 MB

Publications and Collaterals

Description Version Size
STM32Cube eases STM32 development 18.12 1.13 MB
STM32G0 Series Mainstream MCUs 19.02 360.75 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
Evaluation Tools
Product Evaluation Tools
Support and Applications

Get Software

Part Number General Description Software Version Supplier Marketing Status GitHub link Download
STM32CubeG0 STM32Cube MCU Package for STM32G0 series (HAL, Low-Layer APIs and CMSIS (CORE, DSP, RTOS), USB PD, File system, RTOS) - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards) 1.1.0 ST Active -


Support & Community
Featured Products