Tool/software: TI-RTOS
Hi,
what is the default hardware watchdog timer timeout value when its enabled for hardware reset?
my system operating frequency is 120 MHz.
i am trying to change the period of WDT timeout value using Watchdog_setReload() function, but it wont get effective.
may i know the reason for this?
the below is the code snippet.
Watchdog_Params_init(&wdtParams);
wdtParams.callbackFxn = (Watchdog_Callback)WatchdogCallbackFxn;
wdtParams.resetMode = Watchdog_RESET_ON;
wdtHandle = Watchdog_open(Board_WATCHDOG0, &wdtParams);
if (wdtHandle == NULL) {
System_printf("Error opening Watch dog!\n");
ISystem_flush();
}
// this is the call used for setting the new timeout value from task context.
Watchdog_setReload(wdtHandle, vlaue);
Regards
Bala