2018-02-11 04:19 AM
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-dma2018-08-09 06:40 PM
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.