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;