This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

watchdog timer

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.

Parents
  • 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

Reply
  • 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

Children