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.

MSPM0G3519: Clarification on using IWDT and WWDT together in MSPM0G3519

Part Number: MSPM0G3519

Hi,

I am currently working with IWDT and WWDT for my application.

For IWDT, I found the following APIs in the driver library:

   1. DL_IWDT_enableModule()
   2. DL_IWDT_disableModule() 
 
image.png
 
My question regarding IWDT:
     1. Once IWDT is enabled, can it truly be disabled using DL_IWDT_disableModule, or does the watchdog continue running internally once it has been enabled? 
 
Clarification regarding WWDT (0% closed window,100% open window):
 
My intention is to use the WWDT only for a specific application scenario.
 

For example:

  • I enable the WWDT before starting an NVM operation.

  • After the operation completes successfully, I disable the WWDT.

  • If the NVM operation hangs or fails to disable the WWDT, then after the configured WWDT time period it should generate a SYSRST.

However, in the TI DriverLib for WWDT, I do not see any APIs to enable or disable the WWDT.

My question regarding WWDT,

  1. Since there is no enable/disable API provided for WWDT, how can I implement this requirement in my application?

Kindly suggest the recommended approach.

Regards,

SaKhan

  • Hi Sakhan,

         1. Once IWDT is enabled, can it truly be disabled using DL_IWDT_disableModule, or does the watchdog continue running internally once it has been enabled? 

    Yes, the DL_IWDT_disableModule API could disable IWDT.

    Since there is no enable/disable API provided for WWDT, how can I implement this requirement in my application?

    For WWDT, it could be disabled by DL_WWDT_disablePower

    And it could be re-enabled by below APIs:

    DL_WWDT_reset
    DL_WWDT_enablePower
    SYSCFG_DL_WWDT0_init