I got humbled by my bachelor's thesis trying to communicate over UART with HAL, it's strangely not as easy as I thought it would be... 🥲

If anybody has tips on how to approach an ORE (overrun) error on an #stm32f407 chip with DMA and idle line detection I'm all ears.

#programing #embeded

I'm not even sure I fully understand what causes the error: from my understanding UART has a 1-byte register storing incoming data one byte at a time, and if it is not cleared by the receiving process in time (which should be handled by DMA in this context ??) then it throws an ORE error and the transmission is blocked ?

Please correct me if I'm wrong.... 🙏