Product overview
Description
STM32Cube is an STMicroelectronics original initiative to improve designer productivity significantly by reducing development effort, time, and cost. STM32Cube covers the whole STM32 portfolio.
STM32CubeG0 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 STM32CubeG0 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 STM32CubeG0 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 drivers have been developed in compliance with V-Model requirements for design, implementation, and tests. Furthermore, the STMicroelectronics-specific validation process adds a deeper qualification level, such as compliance with MISRA C®:2012 guidelines, and elimination of possible runtime errors with the CodeSecure CodeSonar® static analysis tool. Reports are available on demand.
The STM32CubeG0 gathers in one single package all the generic embedded software components required to develop an application on STM32G0 microcontrollers. Following STM32CubeG0 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.
-
All 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
- HAL and LL APIs, developed in compliance with MISRA C®:2012 guidelines, and elimination of possible runtime errors with CodeSecure 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
- Published on GitHub in addition to www.st.com to propagate bug fixes and improvements faster, open for pull requests and issues to facilitate user contributions and direct feedback
Get Software
| Part Number | General Description | Latest version | ECCN (EU) | ECCN (US) | Supplier | Cube environment | Download | All versions |
|---|---|---|---|---|---|---|---|---|
| Patch_CubeG0 | Patch for STM32CubeG0 | 1.6.3 | NEC | EAR99 | ST | HAL1 | ||
| STM32CubeG0 | STM32Cube MCU Package for STM32G0 series | 1.6.0 | NEC | EAR99 | ST | HAL1 | Get from GitHub |
Featured Videos
Recommended for you
Recommended Tools & Software
All tools & software
All resources
| Resource title | Version | Latest update | Actions | Details | Download |
|---|
Product Specifications (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 2.0 | 23 Jan 2026 | 23 Jan 2026 |
Application Notes (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 5.0 | 12 Nov 2020 | 12 Nov 2020 |
User Manuals (5 of 10)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 2.0 | 21 Oct 2020 | 21 Oct 2020 | ||||
| 3.0 | 28 Oct 2019 | 28 Oct 2019 | ||||
| 3.0 | 20 Feb 2019 | 20 Feb 2019 | ||||
| 5.0 | 21 Oct 2020 | 21 Oct 2020 | ||||
| 2.0 | 10 Jul 2019 | 10 Jul 2019 | ||||
| 2.0 | 07 Dec 2018 | 07 Dec 2018 | ||||
| 1.0 | 28 Jun 2019 | 28 Jun 2019 | ||||
| 1.0 | 10 Nov 2020 | 10 Nov 2020 | ||||
| 2.0 | 21 Apr 2019 | 21 Apr 2019 | ||||
| 4.0 | 20 Feb 2019 | 20 Feb 2019 |
Presentations (4)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||||
| 1.0 | 13 Dec 2023 | 13 Dec 2023 | ||||
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||||
| 1.0 | 21 Aug 2024 | 21 Aug 2024 |
License Agreement (1)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 9.0 | 25 Feb 2026 | 25 Feb 2026 |
Additional License Terms (3)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| HTML | 1.5.0 | 02 Jul 2021 | 02 Jul 2021 | |||
| HTML | 1.6.2 | 19 Dec 2023 | 19 Dec 2023 | |||
| HTML | 1.5.1 | 05 Apr 2022 | 05 Apr 2022 |
Security Advisory (4)
| Resource title | Version | Latest update | Actions | Options | ||
|---|---|---|---|---|---|---|
| 1.0 | 23 Apr 2026 | 23 Apr 2026 | ||||
| 1.0 | 02 Jul 2026 | 02 Jul 2026 | ||||
| 1.0 | 30 Jun 2026 | 30 Jun 2026 | ||||
| 1.0 | 23 Feb 2025 | 23 Feb 2025 |