Hi,
While using watchdog timer in TM4C1294XL launchpad, interrupt is getting hit again and again after enabling the interrupt. Please provide a solution to use watchdog timer.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
While using watchdog timer in TM4C1294XL launchpad, interrupt is getting hit again and again after enabling the interrupt. Please provide a solution to use watchdog timer.
Hello Arun,
Please see our TivaWare provided example for Watchdog located at: [Install Path]\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\watchdog
Best Regards,
Ralph
We have repeated the same steps like in example but watchdog interrupt handler is hitting always when we enable the watchdog .
ROM_IntEnable(INT_WATCHDOG);
Kindly provide us with a solution
Hello Arun,
What is the code in your Watchdog ISR?
I can say for certain the TivaWare Watchdog example works fine, I can't provide a better solution from TI than that, so this will need to be about understanding what you did different from it.
Also what is the WATCHDOG_TIMER_LOAD value?
Best Regards,
Ralph
Inside watchdog isr watchdog clear is done. ROM_WatchdogIntClear(WATCHDOG0_BASE);
#define WATCHDOG_TIMEOUT_PERIOD 1.2 // 1.2s timeout
#define WATCHDOG_TIMER_LOAD (WATCHDOG_TIMEOUT_PERIOD * SYSTEM_CLOCK_FREQUENCY)
Hello Arun,
I really cannot replicate your situation. I am attaching a project where I am using your variables to load the Watchdog. The LED blinks consistently at a slow rate, there is no indication of ISR re-entry at all.
Best Regards,
Ralph