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

89c669 Watchdog Timer

Can anyone tell me how to enable watchdog timer in 89c669 microcontroller from NXP?

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

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

Children
No data