This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Implementation of digital watch dog TMS570LS0332

Other Parts Discussed in Thread: TMS570LS0332

Hi,

I am implementing the digital watchdog in TMS570LS0332. I am initializing the watch dog with a simple function as shown below just before the infinite loop in my application.

 

void static App_digitalWatchdogInit(void)
{
const uint16_t timeOut1P5mSec = 13U;
// Set the DWD Preload value
dwdInit(timeOut1P5mSec);

// Enable the the watchdog by writing the 32 bit value to the RTIDWDCTRL register
dwdCounterEnable();

// Write the valid key to the WDKEY register to reset the watchdog counter
dwdReset();
}

I am calling dwdReset()  function in the end of infinite loop to reload the DWD counter. I am able to configure the required time as well. If the time period gets expired before i refresh , i am getting the system reset.  

I want to have NMI instead of system reset when the watch dog expires. Is there any configuration i am missing?

Thanks & Best Regards,

Sreekant Reddy Challa