Question
Why doesnt the Tc flag in usart clear?
Posted on March 07, 2018 at 22:25
Hi
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
