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

Hi all
i need watchdog timer example for 89C51RD2,so that code execution can start
from beginning
regards.
arjun
arjun_ram_pal@rediffmail.com

Parents
  • you got it right re the P89.. . Re the t89... I do not know, just know from a check a while ago that the chips are similar, not identical.

    I do not actually know if the p89 requires this, but as a carryover from a former chip that did, I always disable interrupts before the 2 writes and reenable afterwards. This guarantees that the two writes are consequtive and even if the p89 should not require it, the code becomes portable to a chip that does.

    Erik

Reply
  • you got it right re the P89.. . Re the t89... I do not know, just know from a check a while ago that the chips are similar, not identical.

    I do not actually know if the p89 requires this, but as a carryover from a former chip that did, I always disable interrupts before the 2 writes and reenable afterwards. This guarantees that the two writes are consequtive and even if the p89 should not require it, the code becomes portable to a chip that does.

    Erik

Children
No data