cancel
Showing results for 
Search instead for 
Did you mean: 

BUG found on HAL STM32L4 HAL_UARTEx_ReceiveToIdle_IT(). This function works on STM32F0 HAL V1.11.3 but not on STM32L4 V1.17 An update is needed to solve bug when UART bytes is equaly to RxXferSize, because currently it stays on endless IT loop

VPapa
Associate

A simple compare between the two HAL Versions shows that line 4730 

"huart->ReceptionType = HAL_UART_RECEPTION_STANDARD" needs to be moved at position line 4708. This fixes the bug, same as it is implemented in HAL For STM32F0 series

1 REPLY 1
SPate.8
Associate

I hope there's someone in ST who wants to respond and fix this. We have observed similar behaviour in STM32H743 based development.