This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USART fails in EXTI Interrupt

I have faced another strange thing today:
inside ISR of EXTI I wanted to send some character to USART, but I found that program halts there, after eliminating the commands regarding USART I found that program waits to reset USART_FLAG_TXE, but the flag remains in set mode. when I eliminated below command, program runs forward how ever just the last character transferred.

while(USART_GetFlagStatus(USART1, USART_FLAG_TXE) == RESET)


Why TXE flag could not become reset after transfer of the character?!

Parents Reply Children
No data