AnsweredAssumed Answered

K64F watchdog timeout value

Question asked by unknowncoder on Feb 6, 2018
Latest reply on Feb 11, 2018 by unknowncoder

I am having trouble converting millisecond to the watchdog timeout value when using MCUXpresso watchdog driver.

Please validate my math.

One tick of the watchdog = 1 ms. With the given configuration

  • Watchdog clock = kWDOG_LpoClockSource = 1KHz
  • Watchdog prescaler = 1

Therefore when I setup the watchdog I do

wdog_config_t config;

 WDOG_GetDefaultConfig(&config);

config.timeoutValue = 1000;

 

This should make the watchdog timeout in 1 second but it seem to be timing out alot sooner.

Outcomes