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.

AM5706: WatchDog Timer implementation with handler

Part Number: AM5706
Other Parts Discussed in Thread: SYSBIOS

Hi 

We are using the TI AM5706 processor along with the TI provided sysbios RTOS.

Here we are trying to implement the watchdog timer and the timer is working as expected. Processor is getting reset once the WDT timeout is happening.

Now our requirement is to handle the re-set by attaching one handller to the WDT. 

So we expect your support to find if there is any example project available for this and what is the wdt interrupt number.

Our Code Flow:

    Hwi_Params hwiParams;
    ti_sysbios_hal_Hwi_Handle WDT_Hndl;
    Error_Block eb;
    Error_init(&eb);    

    WDTIMERReset(0x4AE14000);
    WDTIMEREnable(0x4AE14000);
    WDTIMERReloadSet(0x4AE14000, 0xFFFF);

    Hwi_Params_init(&hwiParams);
    hwiParams.priority = 1;

    Hwi_create(wdtInt,wdtISR,&hwiParams,&eb);

 

The handler is having one print statement and LED indication.

 

Let us know if any further information required.