STM32G4 series will serve all applications where advanced and/or rich analog peripheral set is required :
ADC with HW oversampling (16-bit resolution, Offset & Gain compensation)
High Resolution Timer
Enhanced Timer functions (encoder modes)
Mathematical accelerator (Trigonometric and Filtering functions)
USB typeC, with Power Delivery
STM32Cube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost.
STM32Cube covers STM32 portfolio.
STM32Cube Version 1.x includes:
The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements.
The HAL (Hardware Abstraction Layer) and LL (Low Layers) drivers provided within this package support the STM32G431xx/41xx, STM32G471xx, STM32G473xx/83xx and STM32G474xx/84xx lines.
The HAL and LL drivers provided within this package are compliant with MISRA-C®:2012 guidelines, and have been reviewed with a static analysis tool to eliminate possible run-time errors. Reports are available on demand.
For quick getting started with the STM32CubeG4 firmware package, refer to UM2492 and you can download firmware updates and all the latest documentation from www.st.com/stm32cubefw
Here is the list of references to user documents:
Add and upgrade the Digital Power applications provided for the B-G474E-DPOW1 discovery kit, showcasing the control of Buck and Boost DC-DC converters
For more details about the projects, please refer to the corresponding application notes available at www.st.com/content/st_com/en/ecosystems/stm32-digital-power.html.
Projects
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
General updates to fix known defects and enhancements implementation.
All source files: update disclaimer to add reference to the new license agreement.
CMSIS
HAL
BSP
Projects
For the complete list of changes, please refer to the release notes of each firmware component
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.6.0_cm4 | release note |
STM32G4xx CMSIS Device | V1.2.2 | release note |
STM32G4xx HAL Drivers | V1.2.2 | release note |
BSP STM32G4xx_Nucleo | V1.0.4 | release note |
BSP STM32G474E-EVAL | V1.1.5 | release note |
BSP B-G474E-DPOW1 | V1.1.4 | release note |
BSP Adafruit Shield (reference ID 802) | V5.0.1 | release note |
BSP Common | V7.0.0 | release note |
BSP hx8347d | V2.0.0 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.1 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V1.0.2 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.7.1 | release note |
STM32 USB Power Delivery Core Library | v3.3.0 | release note |
STM32 USB Power Delivery Device Library | g4_v5.0.0 | release note |
FatFS | R0.12c | release note |
ST modified 20191011 | release note ST | |
FreeRTOS | V10.3.1 | release note |
ST modified 20200831 | release note ST | |
STM32 OpenBootLoader | V3.0.1 | release note |
Name | Version | Release note |
---|---|---|
Basic GUI | V2.0.0 | release note |
Fonts | V2.0.2 | release note |
GUI Interface | GUI_V1.13.0 | release note |
Tracer Emb | V1.6.0 | release note |
Note: in the tables above, version highlighted have changed since previous release.
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM) toolchain + ST-LINKV2 | V8.50.4 |
RealView Microcontroller Development Kit (MDK-ARM) toolchain + ST-LINKV2 | V5.31 |
STM32CubeIDE toolchain (gcc9_2020_q2_update) | V1.7.0 |
Name |
---|
STM32G431xx, STM32G441xx |
STM32G471xx |
STM32G473xx, STM32G483xx |
STM32G474xx, STM32G484xx |
STM32G491xx, STM32G4A1xx |
Name | Reference |
---|---|
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
B-G474E-DPOW1 Discovery Kit | MB1428 B-01 |
NUCLEO-G491RE Nucleo kit | MB1367-G491RE C-04 |
None
This software release is compatible with:
General updates to fix known defects and enhancements implementation.
Added new HAL SMBUS extended driver to support SMBUS fast Mode Plus.
Added support of QUADSPI to STM32G471xx devices.
Upgraded FreeRTOS to use V10.3.1 ST modified 20200831.
Upgraded USB Device Lib to use V2.7.1.
Upgraded STM32 USB Power Delivery Core Library to use v3.3.0.
Upgraded STM32 USB Power Delivery Device Library to use g4_v5.0.0.
Upgraded STM32 OpenBootLoader to use v3.0.1.
Upgraded STM32 GUI Interface to use GUI_V1.13.0.
Upgraded STM32 Tracer Emb to use V1.6.0.
CMSIS
HAL
Middlewares
BSP
Projects
For the complete list of changes, please refer to the release notes of each firmware component
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.6.0_cm4 | release note |
STM32G4xx CMSIS Device | V1.2.1 | release note |
STM32G4xx HAL Drivers | V1.2.1 | release note |
BSP STM32G4xx_Nucleo | V1.0.2 | release note |
BSP STM32G474E-EVAL | V1.1.3 | release note |
BSP B-G474E-DPOW1 | V1.1.2 | release note |
BSP Adafruit Shield (reference ID 802) | V5.0.1 | release note |
BSP Common | V7.0.0 | release note |
BSP hx8347d | V2.0.0 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.1 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V1.0.2 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.7.1 | release note |
STM32 USB Power Delivery Core Library | v3.3.0 | release note |
STM32 USB Power Delivery Device Library | g4_v5.0.0 | release note |
FatFS | R0.12c | release note |
ST modified 20191011 | release note ST | |
FreeRTOS | V10.3.1 | release note |
ST modified 20200831 | release note ST | |
STM32 OpenBootLoader | V3.0.1 | release note |
Name | Version | Release note |
---|---|---|
Basic GUI | V2.0.0 | release note |
Fonts | V2.0.2 | release note |
GUI Interface | GUI_V1.13.0 | release note |
Tracer Emb | V1.6.0 | release note |
Note: in the tables above, version highlighted have changed since previous release.
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM) toolchain + ST-LINKV2 | V8.50.4 |
RealView Microcontroller Development Kit (MDK-ARM) toolchain + ST-LINKV2 | V5.31 |
STM32CubeIDE toolchain | V1.6.0 |
Name |
---|
STM32G431xx, STM32G441xx |
STM32G471xx |
STM32G473xx, STM32G483xx |
STM32G474xx, STM32G484xx |
STM32G491xx, STM32G4A1xx |
Name | Reference |
---|---|
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
B-G474E-DPOW1 Discovery Kit | MB1428 B-01 |
NUCLEO-G491RE Nucleo kit | MB1367-G491RE C-04 |
None
This software release is compatible with:
Release to support STM32G491xx/4A1xx devices (for more details please refer to HAL release notes).
Add support for STM32G491xx and STM32G4A1 part numbers
General updates to fix known defects and enhancements implementation
HAL/LL GPIO update
HAL/LL HRTIM update
HAL/LL I2S update
HAL/LL SPI update
HAL SAI update
HAL/LL ADC update
HAL COMP update
HAL OPAMP update
HAL FLASH update
HAL/LL RCC update
HAL/LL TIM driver
HAL/LL UART driver
HAL/LL USART driver
HAL/LL USB driver
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.6.0_cm4 | release note |
STM32G4xx CMSIS Device | V1.2.0 | release note |
STM32G4xx HAL Drivers | V1.2.0 | release note |
BSP STM32G4xx_Nucleo | V1.0.1 | release note |
BSP STM32G474E-EVAL | V1.1.2 | release note |
BSP B-G474E-DPOW1 | V1.1.1 | release note |
BSP Adafruit Shield (reference ID 802) | V5.0.1 | release note |
BSP Common | V7.0.0 | release note |
BSP hx8347d | V2.1.1 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.1 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V2.0.1 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.6.1 | release note |
STM32 USB Power Delivery Core Library | V3.0.3 | release note |
STM32 USB Power Delivery Device Library | g4_V4.0.1 | release note |
FatFS | R0.12c | release note |
ST modified 20191011 | release note ST | |
FreeRTOS | V10.2.1 | release note |
ST modified 20200117 | release note ST | |
STM32 OpenBootLoader | V2.0.0 | release note |
Name | Version | Release note |
---|---|---|
Basic GUI | V2.0.0 | release note |
Fonts | V2.0.2 | release note |
GUI Interface | GUI_V1.10.2 | release note |
Tracer Emb | V1.3.0 | release note |
Note: in the tables above, version highlighted have changed since previous release.
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM) toolchain + ST-LINKV2, patch available here: Utilities\PC_Software\IDEs_Patches\EWARM\EWARMv8_STM32G49_G4xxP_Support_V1.0.zip This patch supports STM32G491/4A1 devices |
V8.40.1 |
RealView Microcontroller Development Kit (MDK-ARM) toolchain + ST-LINKV2, patch available here: Utilities\PC_Software\IDEs_Patches\MDK-ARM\Keil.STM32G4xx_DFP.1.1.4.zip This patch supports STM32G491/4A1 devices |
V5.29 |
STM32CubeIDE toolchain | V1.4.0 |
Name |
---|
STM32G431xx, STM32G441xx |
STM32G471xx |
STM32G473xx, STM32G483xx |
STM32G474xx, STM32G484xx |
STM32G491xx, STM32G4A1xx |
Name | Reference |
---|---|
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
B-G474E-DPOW1 Discovery Kit | MB1428 B-01 |
NUCLEO-G491RE Nucleo kit | MB1367-G491RE C-04 |
None
This software release is compatible with:
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.4.0_cm4 | release note |
STM32G4xx CMSIS Device | V1.1.1 | release note |
STM32G4xx HAL Drivers | V1.1.1 | release note |
BSP STM32G4xx_Nucleo | V1.0.1 | release note |
BSP STM32G474E-EVAL | V1.1.1 | release note |
BSP B-G474E-DPOW1 | V1.1.1 | release note |
BSP Adafruit Shield (reference ID 802) | V4.0.2 | release note |
BSP Common | V6.0.0 | release note |
BSP hx8347d | V2.1.1 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.0 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V2.0.1 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.5.3 | release note |
STM32 USB Power Delivery Core Library | V2.9.0 | release note |
STM32 USB Power Delivery Device Library | g4_V3.0.0 | release note |
FatFS | R0.12c | release note |
ST modified 20191011 | release note ST | |
FreeRTOS | V10.2.1 | release note |
ST modified 20200117 | release note ST |
Name | Version | Release note |
---|---|---|
Basic GUI | V1.0.1 | release note |
Fonts | V2.0.0 | release note |
GUI Interface | GUI_V1.9.0 | release note |
Tracer Emb | V1.2.0 | release note |
Note: in the tables above, version highlighted have changed since previous release.
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM)toolchain | V8.32.3 |
RealView Microcontroller DevelopmentKit (MDK-ARM) toolchain | V5.27.1 |
System Workbench for STM32 (SW4STM32)toolchain | V2.9 |
Name |
---|
STM32G431xx, STM32G441xx |
STM32G471xx |
STM32G473xx, STM32G483xx |
STM32G474xx, STM32G484xx |
Name | Reference |
---|---|
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
B-G474E-DPOW1 Discovery Kit | MB1428 B-01 |
None
This software release is compatible with:
Maintenance release of STM32CubeG4 (STM32Cube for STM32G4 Series) Firmware package supporting STM32G431xx/41xx/71xx devices, STM32G473xx/83xx devices and STM32G474xx/84xx devices.
A Discovery kit, B-G474E-DPOW, is introduced in this release to enable demonstration of Buck and Boost in voltage mode, High brightness RGB LED control and USB audio streaming.
In the STM32CubeG4 MCU Package, examples and applications projects are generated with the STM32CubeMX tool to initialize the system, peripherals and middleware stacks. User can open the provided ioc file in STM32CubeMX to modify the settings, add additional peripherals and/or middleware, to build his final application.
Demonstrations binaries are no more delivered within the STM32CubeG4 MCU package. They are available for download, in addition to their required media files if any, in a standalone package accessible through each hardware board official webpage. Please refer to the corresponding demonstration binary readme.txt to get webpage for each board.
The STM32CubeG4 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.4.0 | release note |
STM32G4xx CMSIS Device | V1.1.0 | release note |
STM32G4xx HAL Drivers | V1.1.0 | release note |
BSP STM32G4xx_Nucleo | V1.0.0 | release note |
BSP STM32G474E-EVAL | V1.1.0 | release note |
BSP B-G474E-DPOW1 | V1.0.0 | release note |
BSP Adafruit Shield (reference ID 802) | V4.0.2 | release note |
BSP Common | V6.0.0 | release note |
BSP hx8347d | V2.1.0 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.0 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V2.0.0 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.5.3 | release note |
STM32 USB Power Delivery Core Library | V2.6.0 | release note |
STM32 USB Power Delivery Device Library | V2.8.0 | release note |
FatFS | R0.12c | release note |
ST modified 20190125 | release note ST | |
FreeRTOS | V10.0.1 | release note |
ST modified 20180813 | release note ST |
Name | Version | Release note |
---|---|---|
Basic GUI | V1.0.1 | release note |
Fonts | V2.0.0 | release note |
GUI Interface | V1.7.0 | release note |
Tracer Emb | V1.1.0 | release note |
CPU and Log Utilities are not more part of STM32CubeG4 Firmware Package (obsolete components)
Note: in the tables above, version highlighted have changed since previous release.
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM)toolchain | V8.20.2 |
RealView Microcontroller DevelopmentKit (MDK-ARM) toolchain | V5.25 |
System Workbench for STM32 (SW4STM32)toolchain | V2.4 |
Name |
---|
STM32G431xx, STM32G441xx |
STM32G471xx |
STM32G473xx, STM32G483xx |
STM32G474xx, STM32G484xx |
Name | Reference |
---|---|
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
B-G474E-DPOW1 Discovery Kit | MB1428 B-01 |
None
This software release is compatible with:
Update of HRTIM examples and new release of STM32G4 patches for Keil IDE:
FW Projects :
HRTIM_BasicPWM project is now split in 4 different projects on NUCLEO-G474RE (HAL and Low-layer interfaces):
HRTIM_Basic_ArbitraryWaveform
HRTIM_Basic_MultiplePWM
HRTIM_Basic_PWMMaster
HRTIM_Basic_SinglePWM
Development Toolchains
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
First release of STM32CubeG4 (STM32Cube for STM32G4 Series) supporting STM32G431xx/41xx, STM32G471xx, STM32G473xx/83xx and STM32G474xx/84xx devices.
In the STM32CubeG4 MCU Package, most of the examples and applications projects are generated with the STM32CubeMX tool to initialize the system, peripherals and middleware stacks. User can open the provided ioc file in STM32CubeMX to modify the settings, add additional peripherals and/or middleware, to build his final application.
Name | Version | Release note |
---|---|---|
CMSIS Core | V5.4.0 | release note |
STM32G4xx CMSIS Device | V1.0.0 | release note |
STM32G4xx HAL Drivers | V1.0.0 | release note |
BSP STM32G4xx_Nucleo | V1.0.0 | release note |
BSP STM32G474E-EVAL Board | V1.0.0 | release note |
BSP Adafruit Shield (reference ID 802) | V4.0.0 | release note |
BSP Common | V6.0.0 | release note |
BSP hx8347d | V2.0.0 | release note |
BSP mfxstm32l152 | V3.0.0 | release note |
BSP mt25ql512abb | V1.0.0 | release note |
BSP st7735 | V2.0.0 | release note |
BSP stts751 | V2.0.0 | release note |
BSP wm8994 | V3.0.0 | release note |
Name | Version | Release note |
---|---|---|
STM32 USB Device Library | V2.5.2 | release note |
STM32 USB Power Delivery Core Library | V2.5.2 | release note |
STM32 USB Power Delivery Device Library | V2.7.0 | release note |
FatFS | R0.12c | release note |
ST modified 20190125 | release note ST | |
FreeRTOS | V10.0.1 | release note |
ST modified 20180813 | release note ST |
Name | Version | Release notes |
---|---|---|
Projects | See Projects Release note for details | release notes |
The exhaustive list of projects is provided in this table (STM32CubeProjectsList.html).
Name | Version | Release note |
---|---|---|
CPU | V1.1.1 | release note |
Basic GUI | V1.0.0 | release note |
Fonts | V2.0.0 | release note |
GUI Interface | V1.2.0 | release note |
Log | V1.0.2 | release note |
Tracer Emb | V1.0.0 | release note |
Headline |
---|
Support of STM32G483xx devices in CMSIS and HAL drivers |
STM32G474E-EVAL : Project template is not yet ready for MDK-ARM and SW4STM32 toolchains |
Addition HAL and LL examples will be delivered in next release |
Name | Version |
---|---|
IAR Embedded Workbench for ARM (EWARM)toolchain | V8.20.2 |
RealView Microcontroller DevelopmentKit (MDK-ARM) toolchain | V5.25 |
System Workbench for STM32 (SW4STM32)toolchain | V2.4 |
Name | Reference |
---|---|
STM32G431xx, STM32G441xx | |
STM32G471xx, STM32G473xx, STM32G474xx and STM32G484xx | |
NUCLEO-G431KB Nucleo32 kit | MB1430 A-01 |
NUCLEO-G431RB Nucleo kit | MB1367 C-01 |
NUCLEO-G474RE Nucleo kit | MB1367 C-01 |
STM32G474E-EVAL Evaluation Board | MB1397 B-01 |
None
This software release is compatible with: