AnsweredAssumed Answered

STM32F407 UART Error Handling

Question asked by rennich.travis on Apr 11, 2015
Latest reply on Apr 12, 2015 by childress.steve
I am working on a project that requires communication over UART. I am trying to get to the minimum time between UART messages coming in or going out that is possible. My problem is that sometimes the module gets into HAL_UART_BUSY_RX mode when it shouldn't have. I am assuming that this is because of interrupts getting triggered at exactly the wrong times. I need to find a way to clear this state and everything else that i need to clear so I can start normal operation again. I have tried simply setting the state back to ready, but as expected it doesn't work. I assume that there is more i have to change before I can resume normal operation.

Outcomes