AnsweredAssumed Answered

Why doesnt the Tc flag in usart clear?

Question asked by Mohammad Rostamian on Mar 7, 2018
Latest reply on Mar 9, 2018 by Clive One


I use stm32f407 to communicat with rs485.

I use DMA to transmit data. For controllig dirction pin, I check the USART_FLAG_TC. Whet it is set, I will push Dirction pin low and clear the USART_FLAG_TC by writing with 0. But it dosent clear. I must clear again. Other side, if using delay about 1us befor clearing that flag, it will be clear.

Does anybody have idea?


Best regards