Release Notes for STM32CubeU5 HAL and LL drivers

Copyright ©  2021 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

  • Patch release V1.0.2 of HAL and LL drivers for STM32U575xx / STM32U585xx devices

LL Drivers updates

  • LL DAC driver
    • Rename of the LPTIM1/3 trigger of the LL DAC to be in line with Reference Manual:
      • Rename LL_DAC_TRIG_EXT_LPTIM1_OUT to LL_DAC_TRIG_EXT_LPTIM1_CH1
      • Rename LL_DAC_TRIG_EXT_LPTIM3_OUT to LL_DAC_TRIG_EXT_LPTIM3_CH1
  • Backward compatibility ensured by legacy defines

Known Limitations

  • N/A

Backward compatibility

  • N/A

Main Changes

  • Patch release V1.0.1 of HAL and LL drivers for STM32U575xx / STM32U585xx devices

HAL Drivers updates

  • HAL ADC driver
    • Update the DMA data length management implementation according source/destination width
    • Finetune HAL_ADCEx_Calibration_GetValue API to return correct calibration value for ADC4
  • HAL DAC driver
    • Rename of the LPTIM1/3 trigger of the DAC to be in line with Reference Manual:
      • Rename DAC_TRIGGER_STOP_LPTIM1_OUT to DAC_TRIGGER_STOP_LPTIM1_CH1
      • Rename DAC_TRIGGER_STOP_LPTIM3_OUT to DAC_TRIGGER_STOP_LPTIM3_CH1
      • Rename DAC_TRIGGER_LPTIM1_OUT to DAC_TRIGGER_LPTIM1_CH1
      • Rename DAC_TRIGGER_LPTIM3_OUT to DAC_TRIGGER_LPTIM3_CH1
  • HAL DMA driver
    • Fix DMA register callback error returning in case of invalid callback.
    • Enhance HAL_DMA_GetLockChannelAttributes API implementation to detect wrong parameters values
    • Enhance IS_DMA_ATTRIBUTES macro implementation to detect uncovered cases.
    • Optimize DMA_List_CheckNodesBaseAddresses API implementation by reducing parameters number
    • Optimize DMA_List_CheckNodesTypes API implementation by reducing parameters number
  • HAL GTZC driver
    • Fix issue with the APIs HAL_GTZC_MPCBB_ConfigMem : The CFGLOCK register should be updated after the update of SECCFGR and PRIVCFGR
  • HAL I2C driver
    • Add handle errors support in polling mode
  • HAL RCC driver
    • Fix setting Flash latency from MSIRange in Oscillator Configuration

LL Drivers updates

  • LL I2C driver
    • Add LL_I2C_EnableFastModePlus, LL_I2C_DisableFastModePlus and LL_I2C_IsEnabledFastModePlus APIs

Known Limitations

  • N/A

Backward compatibility

  • N/A

Main Changes

  • First official release of HAL and LL drivers for STM32U575xx / STM32U585xx devices

Known Limitations

  • N/A