Can anyone tell me how to enable watchdog timer in 89c669 microcontroller from NXP?
err, the data sheet?
Yes it is mentioned in the data sheet but not very clearly. I used this code:
CCAPM4 = 0x4C; CCAP4L = 0xFF; CCAP4H = 0xFF; CMOD = CMOD | 0x40;
to activate the watchdog and it also enables the WDTE but when i debug in keil the watchdog timer does not starts its count down. The watchdog timer also shows OFF.