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.

AWR1642BOOST: Add watchdog code to the problem in the SRR program demo

Part Number: AWR1642BOOST

Hello, I added the watchdog code into the demo of SRR, and found that the interruption of the watchdog would preemp the MmwDemo_mboxReadTask() task in the task, resulting in a persistent reset. Is there any solution

  • Hi,

    You need to attach callback to Watchdog driver while initializing it.

    Please refer watchdog driver test application (packages\ti\drivers\watchdog\test\xwr16xx\mss_main.c) where watchdog clear happens in the interrupt callback of watchdog (watchdogCallback). And the same is configured during Watchdog_open(0, &watchdogParams); API call. 

    Now if watchdog is configured this way then even though any task is running in the application, above callback will be called in the interrupt context (and clear the WD); so it is independent of Task.

    Regards,

    Jitendra