Hi,
I tried to use the example code from the SDK for testing the watchdog timer.
The terminal is active so I can see that "COP example start!" and "COP refresh %d time" prints are visualized, then the code enters infinite loop at the end of the example, but the expected microcontroller reset never occurs!
I am using CPU_K32L2B31VLH0A directive and my evolution board is FRDM-K32L2B3
What could be the reason that WDT never resets?
My default example config is:
* configCop.enableWindowMode = false;
* configCop.timeoutMode = kCOP_LongTimeoutMode;
* configCop.enableStop = false;
* configCop.enableDebug = false;
* configCop.clockSource = kCOP_LpoClock;
* configCop.timeoutCycles = kCOP_2Power10CyclesOr2Power18Cycles;
but i also tried with configCop.timeoutCycles = kCOP_2Power5CyclesOr2Power13Cycles; also without successful WDT resets.
My Defined symbols are:
DEBUG (tried also without this define)
CPU_K32L2B31VLH0A
DISABLE_WDOG=0
FRDM_K32L2B
FREEDOM