Skip to main content
Visitor II
October 12, 2021
Question

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

  • October 12, 2021
  • 1 reply
  • 715 views

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

    This topic has been closed for replies.

    1 reply

    Visitor II
    October 26, 2021

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