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.
Hello, I'd suggest you read these two FAQs from ARM: http://www.arm.com/support/faqip/3677.html and this: http://www.arm.com/support/faqip/3678.html Then, there is Philips' AppNote AN10414, if you haven't already got it: http://www.standardics.philips.com/support/faq/microcontrollers/lpc2000/core/ (bottom of the page) ARM's FAQ deal with ARM7TDMI-S specifics of latching interrupt while disabling it. The AN10414 is about VIC PL190 issues. Hope this helps.