Skip to main content
majid ghasemi
Visitor II
February 11, 2018
Question

UART Overrun Error

  • February 11, 2018
  • 1 reply
  • 677 views
Posted on February 11, 2018 at 13:19

Hello

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?

#hal-usart #dma #uart #overrun #stm32f103 #uart-dma
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 10, 2018

Sorry, bumping old zombie unanswered threads off my feed

Going to have to look for a TransmitReceive function that manages concurrent operations without blocking or creating race conditions. Consider coding a clean/elegant solution from scratch, the HAL code is intractable and fragile.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..