Release Notes for STM32CubeH5 HAL and LL drivers

Copyright ©  2023 STMicroelectronics

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 provides a 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 depends 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 of HAL and LL drivers for STM32H573xx / STM32H563xx / STM32H562xx / STM32H503xx devices

    • HAL drivers :
      • HAL CRYP driver:
        • Add management of interleave mode with new APIs :
          • HAL_CRYP_SaveContext() and HAL_CRYP_RestoreContext().
          • Add CRYP_ContextTypeDef CRYP Context Structure.
      • HAL Generic driver:
        • [SBS] Add APIs for Debug Control:
          • HAL_SBS_OpenAccessPort()
          • HAL_SBS_OpenDebug()
          • HAL_SBS_ConfigDebugLevel() / HAL_SBS_GetDebugLevel()
          • HAL_SBS_LockDebugConfig()
          • HAL_SBS_ConfigDebugSecurity() / HAL_SBS_GetDebugSecurity()
      • HAL I2C driver:
        • Update I2C_ITMasterCplt() to fix issue related to TX IRQ not being disabled after data transfer.
        • Fix issue related to HAL_I2C_IsDeviceReady().
        • Fix issue related to switching from 10 bits to 7 bits addressing modes.
      • HAL I3C driver:
        • Fix arbitration header disabling when using HAL_I3C_AddDescToFrame() with successive options.
        • Add multiple transfer for Sensor Communication and Multiple CCC RX/TX command with the same interface.
        • Add Interface to check the availability of I2C or I3C device in the Bus.
      • HAL RTC Driver:
        • Update possible values of Active tamper RTC asynchronous prescaler clock selection field.
      • HAL SAI Driver:
        • Reorder the call to SAI_Disable() to fix issue in HAL SAI abort and DMA stop functions.
      • HAL TIMER driver:
        • Fix of issue related to channel being systematically disabled by HAL_TIM_OC_ConfigChannel() API.
        • Fix assert check in HAL_TIM_OC_Start_IT().
        • Enhance performance by removing multiple volatile reads or writes in interrupt handler.
    • LL drivers :
      • LL SYSTEM driver:
        • [SBS] Add APIs for Debug Control:
          • LL_SBS_SetAuthDbgHDPL() / LL_SBS_GetAuthDbgHDPL()
          • LL_SBS_SetAuthDbgSec() / LL_SBS_GetAuthDbgSec()
          • LL_SBS_UnlockDebug() / LL_SBS_IsUnlockedDebug()
          • LL_SBS_UnlockAccessPort() / LL_SBS_IsUnlockedAccessPort()
          • LL_SBS_LockDebugConfig() / LL_SBS_IsLockedDebugConfig()
      • LL RTC Driver:
        • Update possible values of Active tamper RTC asynchronous prescaler clock selection field.

Known Limitations

  • None

Backward compatibility

  • No compatibility break

Main Changes

  • First official release of HAL and LL drivers for STM32H573xx / STM32H563xx / STM32H562xx / STM32H503xx devices

Known Limitations

  • None

Backward compatibility

  • Not Applicable