Hi champs,
customer wants to have watchdog timeout of 1 sec.
He found, that wdog times out after 2 secs.
He is using tivaware, see below:
*! frequency of separate timebase (16MHz) */
#define SRVSF_WDT_FREQ ((USIGN32)16000000u)
/*! watchdog timeout: 1s */
#define SRVSF_WDT_TIMEOUT ((USIGN32)1000u)
/*! counter value of separate watchdog*/
#define SRVSF_WDT_CNT ((USIGN32)( ( SRVSF_WDT_FREQ / ((USIGN32)1000u)) * SRVSF_WDT_TIMEOUT))
in Init-Function he uses:
/* initialize the watchdog timer */
ROM_WatchdogReloadSet(WATCHDOG1_BASE, ulWdtCntValue);
He read, that wdog first causes a timer interrupt and then after 2nd timeout a CPU reset.
But he wants to cause reset just after timeout of watchdog.
Are there any further settings ?