cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding STM32F030 HAL_UART_ERROR_FE

JEIJEI222
Associate

I have configured the STM32F030 with DMA for RX, and when sending 0x05 from a PC, I observed 0x7d on the debugger. Upon checking HAL_UART_GetError() during reception, it showed HAL_UART_ERROR_FE. I am unsure about the cause of this issue. Could you please help?

1 REPLY 1
TDK
Guru

FE is a frame error, which typically occurs when the STOP bit is not in the appropriate place. This can happen most frequently due to a mismatch in the baud rate.

The fix would be to ensure baud rates match, clocks are set up correctly, and also ensure data bits, stop bits, and parity settings match.

If you feel a post has answered your question, please click "Accept as Solution".