LPC55S16 Watchdog Warning interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S16 Watchdog Warning interrupt

15 Views
szempy
Contributor I

I did modify the WDT example to generate a warning interrupt before the CPU is reseted but i couldn't get the GREEN led on or that the interrupt is called before the WTD resets the CPU.

The warning is configured for 2 second and the timeout with 6 seconds.

 

 

config.timeoutValue = wdtFreq * 6;
config.warningValue = wdtFreq * 2;

 

 

If i disable the reset then the interrupt was called after 6 seconds with the warning flag set instead of the timeout flag.

 

Can anyone help me here with this problem?

0 Kudos
Reply
0 Replies