[HAL][LL][UART] Fix various bugs identified in UART driver
  - Add a check on the UART parity before enabling the parity error interruption.
  - Remove unsupported TXFECF reference from LL LPUART
  - Fix wrong cast when computing the USARTDIV value in UART_SetConfig().
  - Remove an invalid FIFO mode configuration from UART_SetConfig() as it is not is not member of UART_InitTypeDef Structure.
  - Optimized stack usage for multiple APIs.
  - Update HAL_UART_IRQHandler() API to handle receiver timeout interrupt.
  - Update UART receive processes (IT and DMA) to handle the UART receive's timeout interrupt.
  - Fix erroneous UART's handle state in case of error returned after DMA reception start within UART_Start_Receive_DMA().
  - Correction on UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback.
  - Handling of UART concurrent register access in case of race condition between Tx and Rx transfers (HAL UART and LL LPUART).
  - Add a check on the UART parity before enabling the parity error interruption.
  - Correction of state reset value in case of error returned after DMA reception start.
  - Correction on UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback.
6 files changed
tree: 91e6b5012b97079461b4e7e4116ab67143322bf5
  1. .github/
  2. _htmresc/
  3. Inc/
  4. Src/
  5. CODE_OF_CONDUCT.md
  6. CONTRIBUTING.md
  7. LICENSE.md
  8. README.md
  9. Release_Notes.html
README.md

STM32CubeL5 HAL Driver MCU Component

Overview

STM32Cube is an STMicroelectronics original initiative to ease the developers life by reducing efforts, time and cost.

STM32Cube covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform, delivered for each STM32 series.

  • The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product
  • The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio
  • The BSP Drivers of each evaluation or demonstration board provided by this STM32 series
  • A consistent set of middlewares components such as RTOS, USB, FatFS, Graphics, STM32_TouchSensing_Library ...
  • A full set of software projects (basic examples, applications or demonstrations) for each board provided by this STM32 series

Two models of publication are proposed for the STM32Cube embedded software:

  • The monolithic MCU Package : all STM32Cube software modules of one STM32 series are present (Drivers, Middlewares, Projects, Utilities) in the repo (usual name STM32Cubexx, xx corresponding to the STM32 series)
  • The MCU component : progressively from November 2019, each STM32Cube software module being part of the STM32Cube MCU Package, will be delivered as an individual repo, allowing the user to select and get only the required software functions.

Description

This stm32l5xx_hal_driver MCU component repo is one element of the STM32CubeL5 MCU embedded software package, providing the HAL-LL Drivers part.

Release note

Details about the content of this release are available in the release note here.

Compatibility information

In this table, you can find the successive versions of this HAL-LL Driver component, in line with the corresponding versions of the full MCU package:

It is crucial that you use a consistent set of versions for the CMSIS Core - CMSIS Device - HAL, as mentioned in this table.

HAL Driver L5CMSIS Device L5CMSIS CoreWas delivered in the full MCU package
Tag v1.0.0Tag v1.0.0Tag v5.4.0_cm33Tag v1.1.0 (and following, if any, till next HAL tag)
Tag v1.0.2Tag v1.0.2Tag v5.4.0_cm33Tag v1.2.0 (and following, if any, till next HAL tag)
Tag v1.0.3Tag v1.0.3Tag v5.6.0_cm33Tag v1.3.0 (and following, if any, till next HAL tag)
Tag v1.0.4Tag v1.0.4Tag v5.6.0_cm33Tag v1.4.0 (and following, if any, till next HAL tag)

The full STM32CubeL5 MCU package is available here.

Troubleshooting

Please refer to the CONTRIBUTING.md guide.