We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using LPC2132 (NXP). when I am feeding the watch dog timer from main loop, and in main loop, i am sending data continuosly to uart-1 at 38.4kbps. then my controller is resetting some time. while debugging i found that the reset is happening at the time of feeding the watch dog timer. At the time of the reset the watch dog timer is not expired. my watch dog interrupt was at highest priority, compared to uart1, and uart is interrupt based (both tranmission and reception). I think the problem is of feeding. in feeding i am writing 0xAA and 0x55. Then i changed the program, and set one flag in the main loop, and in timer interrupt (higher priority compared to uart1 interrupt) iam feeding the watch dog, then the reset is not happening. and working fine. my feeding time is 400msec, and timeout value is 600msec. if any body have idea about it, please help.
Have you read the Philips application notes about handling spurious interrupts, and to protect the feed writes to the watchdog?
There are a number of useful application notes on www.nxp.com/.../LPC2132FBD64.html