Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/02/03 17:33
Read: times


 
#35427 - Hardware watchdog timer on T89C51RD2
Hello everybody,

does anybody know how to set a 2 seconds timeout on the Atmel T89C51RD2's hardware watchdog timer ? The Atmel's doc states that this timeout can be set by writing 111 into the bits S0 S1 S2 of the WDTPRG register, but it still keeps resetting after default 16.3 ms timeout.
Here's a piece of my code:

// Set a 2 sec timeout period
WDTPRG = 0xF7;
// Initialize the Hardware Watchdog Timer
WDTRST = 0x1E;
WDTRST = 0xE1;

I appreciate any help

Frantisek Kaduch


List of 11 messages in thread
TopicAuthorDate
Hardware watchdog timer on T89C51RD2            01/01/70 00:00      
RE: Hardware watchdog timer on T89C51RD2            01/01/70 00:00      
RE: Hardware watchdog timer on T89C51RD2            01/01/70 00:00      
RE: Hardware watchdog timer on T89C51RD2            01/01/70 00:00      
RE: Hardware watchdog timer on T89C51RD2            01/01/70 00:00      
Page Auto Refresh - F5            01/01/70 00:00      
RE: Page Auto Refresh - F5            01/01/70 00:00      
Page Auto Refresh - F5. Java            01/01/70 00:00      
RE: Page Auto Refresh - F5. Java            01/01/70 00:00      
RE: Page Auto Refresh - F5            01/01/70 00:00      
RE: Page Auto Refresh            01/01/70 00:00      

Back to Subject List