Recovery from a U(S)ART Framing Error
I have a F446RE, with 5 devices connected to USART1,USART3,UART4,UART6,USART6
In each case, i have DMA reception configured, each with decent size buffer.
A have a 3 device versions, 2 work without issue, but model seems to be generating a framing error on a pretty regular basis. Unfortunately, i do have to be able to handle the device version seem a bit faulty.
I have configured interrupts and a callback to trap and handle u(s)art errors.
I am wondering what the best practice for resetting/restarting, my circular DMA reception.
Is there specific cleanup i need to do before restarting the DMA receive?
#uart #dma #usart #framing-error