I use the watchdog on C6748, but it reboot all the time after initating it.
My initate code as bellow, what's the matter?
void WatchDogInit(void)
{
uint64_t Period;
TMR1->TGCR = 0;
TMR1->TGCR = 0x0B;
TMR1->PRD12 = (uint32_t)(0xFFFFFFFF);//Period, set as very long time
TMR1->PRD34 = (uint32_t)(0xFFFFFFFF);
TMR1->WDTCR = (1 << 14) | (0x0000A5C6 << 16);//enable and feed the wathcdog
TMR1->WDTCR = (1 << 14) | (0x0000DA7E << 16);
}