cancel
Showing results for 
Search instead for 
Did you mean: 

STM32f103vct6 Uart tx always busy and system is halted.

luisfynn1
Associate II

hello. I have a question using uart(115200, 8, 0,1) in stm32f103vct6.

huart3->gstate have been changed hal_busy forever In an unspecified situation and system is halted.

I use true studio compiler. and In debug mode at that time, systick interrupt is running but main loop is not working.

I use hal_uart_transmit_it and hal_uart_receive_it. I think it's not problem that uart3 buffer overflow.

and the value of uart3 sr register is 0xf8.(Overrun error)

i wanna clear this issue as soon as possible.

what should I check and how can I clear this issue??

0 REPLIES 0