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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/01/04 16:35
Read: times


 
#78521 - RE: LPC932 WDT
Responding to: ???'s previous message
Erik, I have been reading articles on WDT and I found very flow charts and ideas about it. Now, I know my wdt is working as a timer only, creating an interrupt if the SFR underflows. The problem I have is with the feeding sequence. 2.5 seconds after I initialize it, it creates an interrupt, I implement the feed sequence
//feed sequence
void Feed_the_PUPPY (void)
{
EA = 0;
0xFF;
KICK_THE_PUPPY
EA = 1;
}
but i do not know what is wrong with it.
I am using the EPM900 board to follow this and I see that WFEED1 = 0x0A5; WFEED2 = 0x05A; don't get set with those values after the instruction is executed...
is this normal?
Also, to verify this I notice that when the ISR is executed those registers (WFEED1 & WFEED2) are still 0x00.



List of 28 messages in thread
TopicAuthorDate
LPC932 WDT            01/01/70 00:00      
   RE: LPC932 WDT            01/01/70 00:00      
   RE: LPC932 WDT            01/01/70 00:00      
      RE: LPC932 WDT            01/01/70 00:00      
         RE: LPC932 WDT            01/01/70 00:00      
            RE: LPC932 WDT            01/01/70 00:00      
               RE: LPC932 WDT            01/01/70 00:00      
                  RE: LPC932 WDT            01/01/70 00:00      
                     RE: LPC932 WDT            01/01/70 00:00      
                  RE: LPC932 WDT            01/01/70 00:00      
                     RE: LPC932 WDT            01/01/70 00:00      
                        RE: LPC932 WDT            01/01/70 00:00      
                           RE: LPC932 WDT            01/01/70 00:00      
                              RE: LPC932 WDT            01/01/70 00:00      
                                 RE: LPC932 WDT            01/01/70 00:00      
                                    RE: LPC932 WDT            01/01/70 00:00      
                                       RE: LPC932 WDT            01/01/70 00:00      
                                          RE: LPC932 WDT            01/01/70 00:00      
                                             RE: LPC932 WDT            01/01/70 00:00      
                                                RE: LPC932 WDT            01/01/70 00:00      
                                                   RE: LPC932 WDT            01/01/70 00:00      
                                                      RE: LPC932 WDT            01/01/70 00:00      
                                                         RE: LPC932 WDT            01/01/70 00:00      
                                                            RE: LPC932 WDT            01/01/70 00:00      
                                                               RE: LPC932 WDT            01/01/70 00:00      
                                                                  RE: LPC932 WDT            01/01/70 00:00      
                                                                     RE: LPC932 WDT            01/01/70 00:00      
                                                                        RE: LPC932 WDT            01/01/70 00:00      

Back to Subject List