Release Notes for STM32G4xx HAL Drivers

Copyright © 2019 STMicroelectronics

License

This software component is licensed by ST under BSD 3-Clause license, the “License”; You may not use this component except in compliance with the License. You may obtain a copy of the License at:

https://opensource.org/licenses/BSD-3-Clause

Purpose

The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.

The Portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code reusability and guarantees an easy portability on other devices and STM32 families.

The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provide basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not Fully Portable across the STM32 families; the availability of some functions depend on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:

Update History

Main Changes

Maintenance Release

Maintenance release of HAL (Hardware Abstraction Layer) and LL (Low layers) drivers to support STM32G431/41xx, STM32G471xx, STM32G473/83xx and STM32G474/84xx.

Contents

Additional features and changes :
Headline
General: Support of device STM32G483xx in HAL and LL drivers
COMP: Suppress Deglitcher mode - Not supported on STM32G4 series
HAL: Change naming of the IRQn 2 to RTC_TAMP_LSECSS_IRQn
HRTIM: HRTIM_OUTPUTRESET_TIMAEVx renamed to HRTIM_OUTPUTRESET_TIMEVx
TIM: Add new macro to configure fast mode
TIM: Master Slave Mode (MSM) is now configurable
Bugs fix :
Headline
General : redefinition of registers with adjusted address MUST be volatile
DMA : DMA2 instance cannot be configured in LL drivers
GPIO: HAL_GPIO_DeInit() bug on EXTI management
GPIO: Compilation warning with IAR v8.30
HAL: Correct potential issue within HAL_SetTickFreq() function
HRTIM: HRTIM_TIMxCR.DELCMP isn’t systematically programmed
HRTIM: Fault source programming isn’t wrong in HAL_HRTIM_FaultConfig
HRTIM : Useless Assignment at function HAL_HRTIM_SimpleOCChannelConfig
RCC: Should not overwrite Tick priority
RTC: HAL_RTCEx_SetWakeUpTimer WUTWF management reworked to be aligned with Reference Manual
RTC: INITF can rise too early when entering init mode just after exiting
RTC : fix issue in define with STM32L4 LL RTC month macros
RTC : Remove ALRBWF and ALRAWF bits
TIM: CodeSonar warnings about useless assignment in HAL_TIMEx_ConfigBreakInput()

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.25
  • System Workbench STM32 (SW4STM32) toolchain V2.7.2

Supported Devices

  • STM32G431/41xx
  • STM32G471xx
  • STM32G473/83xx
  • STM32G474/84xx

Main Changes

First release

First official release of HAL (Hardware Abstraction Layer) and LL (Low layers) drivers to support STM32G431/41xx, STM32G471xx, STM32G473/83xx and STM32G474/84xx.

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.25
  • System Workbench STM32 (SW4STM32) toolchain V2.7.2

Supported Devices

  • STM32G431/41xx
  • STM32G471xx
  • STM32G473xx
  • STM32G474/84xx