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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-12 2:58 AM
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
Labels:
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-26 1:36 AM
I hope there's someone in ST who wants to respond and fix this. We have observed similar behaviour in STM32H743 based development.
