I'm using the watchdog on a AM243x and using the API calls from the 8.05 SDK. I'm setting it to several minutes and it works fine.
I would like to be able to change it during runtime to a lower value for testing purposes.
I'm using the following, but it doesn't seem to work.
Watchdog_clear(gWatchdogHandle[CONFIG_WDT0]);
Drivers_watchdogClose();
gWatchdogParams[0].expirationTime = ticks; // ticks in milliseconds
Drivers_watchdogOpen();
Is there another way to change the time after its already been running?
Thanks