Hi all i need watchdog timer example for 89C51RD2,so that code execution can start from beginning regards. arjun arjun_ram_pal@rediffmail.com
it is P89C51RD2,i went through the application notes,in this watch dog has to be loaded with 0x1e,0xe1 sequence to feed watch dog, what about T89C51RD2 ?
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