Tool/software: Code Composer Studio
In the software i am developing i need to set a watchdog that waits about 180 seconds before attemping a reset, the system clock is running at 80 mhz using this funciton:
//Set system clock to 80Mhz
SysCtlClockSet(SYSCTL_SYSDIV_2_5|SYSCTL_USE_PLL|SYSCTL_OSC_MAIN|SYSCTL_XTAL_16MHZ);
As i undertand the watchdog only have a 32 bit timer to set the range, limiting the waiting time to around 26 seconds with the 12.5 ns period, is there any way to set the waiting time to around 180 seconds? maybe by changing the clock source of the watchdog? or making it use a larger timer (wtimer?) or maybe the only way is reseting the timer in different sections of the code?
*edit: did a silly mistake with the time calculation, but the question remains.