# Release Notes for

# STM32U3xx HAL Drivers

Copyright © 2024 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:

- New set of inline functions for direct and atomic register access
- One-shot operations that can be used by the HAL drivers or from application level
- Full independence from HAL and standalone usage (without HAL drivers)
- Full features coverage of all the supported peripherals

# Update History

V1.1.0 / 05-February-2025

## Maintenance release

- Maintenance Release of STM32CubeU3 HAL/LL Drivers supporting STM32U375xx/STM32U385xx devices

## Contents

### HAL Drivers updates

- HAL CCB driver
  - Update related to wrap/unwrap symmetric key algo
- HAL DMA driver
  - DMA Callbacks to be initialized to NULL in RESET state
- HAL GPIO driver
  - Add pull down capability missing in analog mode
- HAL I3C driver
  - Remove extra parenthesis in function HAL_I3C_Tgt_IBIReq
- HAL IWDG driver
  - Fix Timeout computation method
- HAL PWR driver
  - Fix doxygen comments
- HAL SPI driver
  - Add protection against wrong transfer size during transmission
  - Check coherence between data size and DMA TX configuration
  - Clear auto suspend flag in HAL_SPI_Receive()
  - Ensure DMA RX aborts after DMA TX in HAL_SPI_Abort_IT()
  - Fix CRC computation to fit with standard CRC16-CCITT (XMODEM)
  - Fix a bug reception when FIFO threshold is set
  - Improve file aspect
- HAL TIM driver
  - Fix update flag (UIF) clearing in TIM_Base_SetConfig.
- HAL UART driver
  - Correct references to HAL_UARTEx_WakeupCallback and to HAL_UART_WAKEUP_CB_ID define, according to series capabilities
  - Provide accurate position in RxEventCallback when ReceptionToIdle mode is used with DMA, when UART and DMA interrupts process is delayed.
- HAL USB
  - Fix SA0035
- HAL XSPI driver
  - Check BUSY flag instead of TC flag in indirect mode to be sure that command is well completed (FIFO flush)

### LL Drivers updates

- LL LPUART driver
  - Solve Coverity out-of-bound memory access warning in use of LPUART_PRESCALER_TAB array
- LL USART driver
  - Solve Coverity out-of-bound memory access warning in use of USART_PRESCALER_TAB array

## Backward compatibility

- Not applicable

## Known Limitations

- Not applicable

V1.0.0 / 30-October-2024

## First Release

- First Official Release of STM32CubeU3 HAL/LL Drivers supporting STM32U375xx/STM32U385xx devices

## Contents

- STM32CubeU3 HAL/LL Drivers supporting STM32U375xx/STM32U385xx devices :

  - HAL: ADC, CCB, COMP, CORTEX, CRC, CRS, CRYP, DAC, DLB, DMA, EXTI, FDCAN, FLASH, GPIO, GTZC, HASH, I2C, I3C, ICACHE, IRDA, IWDG, LPTIM, MDF, OPAMP, PKA, PWR, RAMCFG, RCC, RNG, RTC, SAI, SDMMC, SMARTCARD, SMBUS, SPI, TIM, TSC, UART, USART, USB, WWDG, XSPI

  - LL: ADC, COMP, CRC, CRS, DAC, DLB, DMA, EXTI, GPIO, I2C, I3C, ICACHE, LPTIM, LPUART, OPAMP, PKA, PWR, RCC, RNG, RTC, SDMMC, SPI, TIM, USART, UTILS

## Supported Devices and boards

- STM32U375xx/STM32U385xx devices
- NUCLEO-U385RG-Q (Rev.E) board

## Backward compatibility

- Not applicable

## Known Limitations

- None

## Dependencies

- None

## Notes

- None