AnsweredAssumed Answered

clear USART TC flag

Question asked by alzomor.hossam on Nov 27, 2014
Latest reply on Nov 30, 2014 by Clive One

I am using USART in Interrupt mode in Tx and Rx.
Rx is working fine
But in Tx I keep getting interrupt.
I just need to get the interrupt once when the data is sent.
but I keep getting the interrupt again and again.
When I check the USART->ISR register I found that TC and TXE flags are always set.
I tried to clear them from flags and inerrupt register but they are not responding to clear instructions.USART_ClearFlag() & USART_ClearITPendingBit()
What should I do?

Hossam Alzomor