I am facing difficulty using watchdog timer for lpc2214.I feed the watchdog(0xaa,0x55) once every scan cycle, which is around 20ms.I have five interrupts enabled;but the wd resets controller periodically . watchdog timeout is around 2sec. Are there any special precations to be taken to avoid interrupts during watchdog feeding sequence.
Are there any special precations to be taken to avoid interrupts during watchdog feeding sequence. my best guess ios you do not apply KISS (Keep Isrs Short and Simple). If you have ANY ISR taking more than, say, 100us you WILL be in trouble, not only with the puppy. Also, any7 ISR that get invoked very frequently should be even shorter. Erik
more... The time between feeding the puppy is the time spent in main() plus the time taken to execute each and every invocation of each and every ISR while main() get from a feeding to the next. Erik