2016-01-27 11:13 PM
I am using the stm32f411 ,the USART2 work normally when the Rx and Tx not happen on the same time, if the Rx and Tx happen on the same time then rxne will not trigger. But if the next received byte come it will trigger the rxne but overrun bit did not rise.
Did any one have the similar problem ? thanks2016-01-28 10:44 AM
If you are doing this in a debugger you need to make sure it's not using a peripheral view of the USART. It will read the USART->DR and break the status in USART->SR
You need to do this in a more transparent fashion, the debugger will be invasive. It's hard to tell what you're code is doing, as we can't see it.