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.

Confirm the Watchdog System Demo behavior

Guru 24520 points


Hi TI Experts,

Please let me confirm the following question.

[Question.1]

When I checked the Watchdog System Demo code,it seems that this code is set the interval of enabling the WDT reset as 10sec.

//
// Initialize WDT
//
WDT_IF_Init(NULL,80000000 * 10);

Is my understanding correct?

[Question.2]

If yes, when we added the while loop in this code,  this code did not enable the WDT reset even though it took 10sec in while loop.

An it took around 20sec to enable the WDT reset. Would you please explain why this code did not enable the WDT reset at 10sec after not clearing WDT value?

[Question.3]

Would you please teach me the maximum value to be able to set interval the WDT?

The resister of WDT interval is 32bit. So it seem that the maximum value is around 53sec.

If you have any questions, please let me know.

Best regards.

Kaka

 

  • Kaka,

    The Watchdog timer generates the first time-out signal when the 32-bit counter (loaded w/ the value corresponding to 10s in this sample application) reaches zero. After the first time-out event, the counter is reloaded (again, w/ the value corresponding to 10s in this sample application), and if it counts down to zero again before the first timeout interrupt is cleared, the system is reset.

    Please refer Chapter-10 of CC3200-TRM for more details.

    -/Praneet
  • Hi Praneet,

    Thank you for your response.
    I could understand it.

    Best regards.
    Kaka