I have a problem with LPC1768 controller. I want to use an watchdog to reset controller if stucks.
I also want to use deep sleep.
Problem appears when i want.to use both. If I enable watchdog as i saw there is mo possibility to suspend or disable so when system enter in deep sleep watchdog will reset the controller as it is not feed anymore.
Any solution to disable somehow watchdog when enter in sleep mode or other solutions to work both (deep sleep and an watchdog to reset mcu if stucked?)
A solution i am thinking is to use a timer with highest priority and reset in this timer is higher than a value. Value will be reset in while loop in main. I do not know if this one Will work OK