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-Q1: Clarification Required – WDG Driver (MCAL Package 1.4.0)

Part Number: MSPM0G3519-Q1

Hello Team,

We have received the new MCAL package on 10th April 2026.

During testing of the WDG driver (version 1.4.0), we observed the following points:

1. GPT Timeout Tick Values

The following macros are always set to 0 and are not getting updated:

image.png

 These values are initially assigned to Wdg_Gpt_Timeout_Tick and are used to start the timer. However, we could not find any corresponding configuration parameter in EB Tresos to update these values.

Could you please advise how these values are expected to be configured or updated?

 

2. WdgGptTimerFreq Parameter

The WdgGptTimerFreq parameter from the configuration file is also always observed as 0. This parameter is used to calculate Wdg_Timeout_Tick, which consequently remains 0 as well.

 

Thanks & Regards,

Rohidas

  • Hi Rohidas,

    Regarding the parameters discussed on the E2E thread (WDG_FAST_MODE_GPT_TIMEOUT_TICKS, WDG_SLOW_MODE_GPT_TIMEOUT_TICKS, and WdgGptTimerFreq), these are dynamically calculated based on the referenced GPT channel.

    As long as the referenced GPT channel is configured correctly, the module will fetch the accurate GPT channel frequency and use it to calculate these timeout parameters automatically.

    Please see the Tresos configuration view below for setting the reference GPT channel for the Wdg module:


    Thanks and Regards,
    Het

  •  ,

    Yes, we have configured the GPT channel and provided the correct reference in the Watchdog driver as suggested. However, the wdg_cfg.h file is not updating the correct values for these macros.
    See the attached screenshot below: (Left side old driver 1.3.0 and right side 1.4.0)

    Thanks & Regards,

    Rohidas

  • If you check the referenced GPT channel's Tick Frequency, it is currently showing as 0.

    Once the GPT channel tick frequency is configured correctly, the dependent parameters (WDG_FAST_MODE_GPT_TIMEOUT_TICKS, WDG_SLOW_MODE_GPT_TIMEOUT_TICKS, and WdgGptTimerFreq) will be calculated and populated with the correct values automatically.

    Regards,
    Het
  • Hello  ,

    The parameters/macro are updating accordingly now with GPT channel tick frequency. 

    Thanks & Regards,

    Rohidas