AnsweredAssumed Answered

LPC4357: watchdog can't reset

Question asked by haibin xiao on Jan 18, 2019
Latest reply on Jan 22, 2019 by haibin xiao

I am trying to implement the WWDT function in the LPC4357,  Watchdog Register is configured successful, watchdog reset can performed when not feed. The can always reset , but as this run about 2 hours, the watchdog can't reset? 

void WatchDogStart( uint32 Xms ) 
{
WDTC = (12000000*Xms)/(1000*4); // Xms=5000, 5s reset
WDWARNINT = 32;
WDMOD = WDEN|WDRESET|WDINT;
WDFEED = 0xAA; /* Feeding sequence */
WDFEED = 0x55;
NVIC_EnableIRQ(WWDT_IRQn);
return;
}

 

Regards,

Haibin Xiao

Outcomes