cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U535 HAL UART Wake-up register callback missing

lgacnik97
Associate III

I'm unsure whether this is a software issue or wake-up callback is by default not present for UART on STM32U535 microcontroller. The rest of callbacks seems to be in place.

2024-09-28 20_40_06-stm32u5xx_hal_uart.h - HMS100 - Visual Studio Code.png

1 ACCEPTED SOLUTION

Accepted Solutions
Guenael Cadier
ST Employee

Hi @lgacnik97 
On STM32U5xx serie, there's no WakeupCallback (no WUF/WUS settings). So UART_HandleTypeDef type definition is correct.
On the other hand, the value HAL_UART_WAKEUP_CB_ID could then be removed from HAL_UART_CallbackIDTypeDef enumeration, for clarity's sake.

ST will raise a internal ticket to get this solved.
Thanks for pointing this.
Regards

View solution in original post

1 REPLY 1
Guenael Cadier
ST Employee

Hi @lgacnik97 
On STM32U5xx serie, there's no WakeupCallback (no WUF/WUS settings). So UART_HandleTypeDef type definition is correct.
On the other hand, the value HAL_UART_WAKEUP_CB_ID could then be removed from HAL_UART_CallbackIDTypeDef enumeration, for clarity's sake.

ST will raise a internal ticket to get this solved.
Thanks for pointing this.
Regards