Hi there, using the callback function HAL_UART_ErrorCallback, I am receiving UART errors. However, what is odd is that handle->ErrorCode has 0 value always. That is, there is a mistake but no error code. I believe the STM32L431 UART driver contains a logical mistake.
Yeah, you could be right. That's pretty complicated for me to trace the logic. But now that you know what happens, and that ErrorCode is cleared when you restart the transfer, you can use that info to find out what the error is and fix the issue.