AnsweredAssumed Answered

UART Overrun Error

Question asked by majid ghasemi on Feb 11, 2018


I am using a stm32f103rct6 microcontroller and I want to transmit and receive large size packets of data simultaneously and continuously. For this goal, I used HAL driver and UART and DMA peripherals.

When I receive data with UART without any transmission I have not any problem. But when I also transmit data simultaneously to receive, sometimes overrun error (ORE) occurs.

Why this error occurs? What's the software solution for troubleshooting this error and using full duplex communication to send and receive large volumes of data with UART?