# Release Notes for STM32WBxx 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:

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

# Update History

v1.3.0 / 11-September-2019

## Main Changes

### Maitenance release

Peripheral | Headline
--- | ---
CRYP | Document a restriction regarding size field on HAL_CRYP_Encrypt_DMA, HAL_CRYP_Decrypt_DMA API.
CRYP | Correct several MISRA C:2012 and Code Sonar compliancy improvements.
FLASH | Move FLASH_SIZE define from hal flash. h to cmsis device file
FLASH | Correct ECC management in HAL FLASH driver
FLASH | Correct #define in stm32wbxx_hal_flash.h - FLASH_PAGE_NB
RCC | Correct PLL characteristics
TIMER | Add assertion check inside HAL_TIMEx_MasterConfigSynchronization
TIMER | Make LL_TIM_SetETRSource in line with RM0434
WWDG | Correct typical frequency computation description inside the header file
IRDA | Improve the description of the APIs
SMARTCARD | Fix GCC compilation warning
UART | Correct possible overflow with wordlength = 9bits and NO parity in HAL_UART_Transmit() and HAL_IRDA_Transmit()
UART | Fix GCC compilation warning
USART | Correct possible overflow with wordlength = 9bits and NO parity in HAL_UART_Transmit() and HAL_IRDA_Transmit()
USART | Fix GCC compilation warning

## Backward Compatibility

This release is compatible with the previous versions.

## Dependencies

This software release is compatible with:

STM32CubeMX V5.4.0

V1.2.0 / 26-June-2019

## Main Changes

### STM32WB50xx introduction and maintenance release

First release for STM32WBxx HAL drivers introducing stm32wb50xx devices.

Peripheral | Headline
--- | ---
RCC | Add capabilty to configure RNG clock in one step.
| Before two steps were required: USB clock then RNG clock.
| Two step method is still supported and compatible.
IRDA | Avoid using macros with function calls as argument
LPTIM | Add polling mechanims to check xxOK flags
| Add new EXTI macros to manage LPTIM wakeup EXTI interrupts
USB | Improve ep OUT interrupt handler
| Ensure 16 bit access to USB PMA
| Enable BCD
RNG | Add new error definitions
SAI | Correct SAI frequency calculation in case of SPDIF output
SMARTCARD | Avoid using macros with function calls as argument
UART | Avoid using macros with function calls as argument
USART | Avoid using macros with function calls as argument

## Backward Compatibility

This release is compatible with the previous versions.

## Dependencies

This software release is compatible with:

STM32CubeMX V5.3.0

V1.1.0 / 05-April-2019

## Main Changes

### Maintenance release

Maintenance release of HAL and Low layers drivers supporting STM32WB55xx devices.

Fixed bugs list
Peripheral | Headline
--- | ---
COMP | Only cosmetic changes
CRYP | Only changes related to documentation
EXTI | Only changes related to documentation
FLASH | Improve code efficiency
GPIO | Improve HAL_GPIO_TogglePin efficiency
IWDG | Only changes related to documentation
RCC | Only changes related to documentation
RTC | LL_RTC_BAK_GetRegister generates warning on GCC 6.3.1 20170620
TIM | Only changes related to documentation
TSC | Correct __HAL_TSC_GET_GROUP_STATUS which was checking only TSC_GROUP1_IDX

## Backward Compatibility

This release is compatible with the previous versions.

## Dependencies

This software release is compatible with:

STM32CubeMX V5.2.0

V1.0.0 / 06-February-2019

## Main Changes

### First release

First official release of HAL (Hardware Abstraction Layer) and LL (Low layers) drivers to support STM32WB55xx.