Getting continuous interrupts on USART
Hello Folks,
I am working on STM32F1 series controller where we receive data on usart and perform actions accordingly. Few days back ,my system was getting rebooted due to watch dog timer. After debugging the issue,it was found that when i receive some data on usart, it gets stuck in its irq handler(irq handler gets called continuously even if i am not sending any data on usart from outside) due to which main function stops executing and WDT resets the controller. It is observed that every 2 micro seconds my usart irq is called. I am unable to understand why this handler is getting called so frequently even when no data is available on RX line.
Can someone guide me to identify the issue?
TIA.
Bipin
