Skip to main content
luisfynn1
Associate II
November 3, 2019
Question

STM32f103vct6 Uart tx always busy and system is halted.

  • November 3, 2019
  • 0 replies
  • 662 views

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??

This topic has been closed for replies.