<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32KのトピックRe: Is there a guide for MCAL WDG module</title>
    <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1231963#M9916</link>
    <description>&lt;P&gt;Hello hungnguyenphi,&lt;/P&gt;&lt;P&gt;I have a followup question for your explanation above,&amp;nbsp;&lt;SPAN&gt;Wdg_SetTriggerCondition(TIME_OUT) How do we calculate the value for "TIME_OUT".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Venkatesh Kulkarni&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 09:16:00 GMT</pubDate>
    <dc:creator>venkatesh_kulka</dc:creator>
    <dc:date>2021-02-17T09:16:00Z</dc:date>
    <item>
      <title>Is there a guide for MCAL WDG module</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057616#M7076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to implement a Watchdog for S32K118 through MCAL's WDG module. I understand how to build and use the&amp;nbsp;watchdog timers through WDOG, as&amp;nbsp;the Reference Manual provides&amp;nbsp;an in depth explanation for it. However, I cannot understand how to use the MCAL's WDG module. Is there a guide or an example explaining how to use WDG module.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up the GPT timer and its notification is indeed&amp;nbsp;Wdg_Cbk_GptNotification0, I have also called Wdg_Init() function. The WDOG register values are not changed by this and when I try to call&amp;nbsp;Wdg_SetMode(); it returns E_NOT_OK. What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 14:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057616#M7076</guid>
      <dc:creator>talha_uyar</dc:creator>
      <dc:date>2020-07-02T14:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a guide for MCAL WDG module</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057617#M7077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="358354" data-username="talha.uyar@karel.com.tr" href="https://community.nxp.com/people/talha.uyar@karel.com.tr" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Muhammet Uyar&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my point of view, your issue may come from your configuration. Could you please share your configuration(GPT, Wdg, Mcu ). Normally I just need to call Wdg_init then the wdg register 's value will be change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to explain the concept of Wdg driver.&lt;/P&gt;&lt;P&gt;The Wdg driver will setup the:&lt;/P&gt;&lt;P&gt;- "Wdg Timeout Period" (user will set it in the Wdg 's configuraiton) Eg: WTP = 1s&lt;/P&gt;&lt;P&gt;- "Wdg Window Period"&amp;nbsp;&lt;SPAN&gt;(user will set it in the Wdg 's configuraiton)&amp;nbsp;Eg: WWP = 0.05s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- The duration for timer refresh watchdog =&amp;nbsp;&lt;SPAN&gt;WWP&amp;nbsp; + (WTP - WWP) / 2 = 0.05 +(1+0.05)/2=&amp;nbsp;&amp;nbsp;0.525s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- The Wdg timeout will be set to "Wdg Initial Timeout" when the Wdg_init is called&amp;nbsp;&lt;SPAN&gt;(user will set it in the Wdg 's configuraiton) Eg: WIT=2.5s.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;With the above configuration the timer will refresh watchdog 4 times(2.5/0.525=4) before&amp;nbsp;the watchdog reset MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To make the timer continue refresh the&amp;nbsp;watchdog, application will need to call "Wdg_SetTriggerCondition(TIME_OUT)" to extend the refresh time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114547iAD5D86BA065A9C19/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Hung&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 09:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057617#M7077</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2020-07-03T09:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a guide for MCAL WDG module</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057618#M7078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know the WDOG is disabled during start-up, so do I need to re-enable the WDOG before calling Wdg_Init() function or does the Wdg module takes care of&amp;nbsp;enabling the WDOG&amp;nbsp;on its own.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 10:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057618#M7078</guid>
      <dc:creator>talha_uyar</dc:creator>
      <dc:date>2020-07-03T10:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a guide for MCAL WDG module</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057619#M7079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From what I know the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Wdg_Init() will enable the WDOG on its own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hung.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2020 10:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1057619#M7079</guid>
      <dc:creator>hungnguyenphi</dc:creator>
      <dc:date>2020-07-03T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a guide for MCAL WDG module</title>
      <link>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1231963#M9916</link>
      <description>&lt;P&gt;Hello hungnguyenphi,&lt;/P&gt;&lt;P&gt;I have a followup question for your explanation above,&amp;nbsp;&lt;SPAN&gt;Wdg_SetTriggerCondition(TIME_OUT) How do we calculate the value for "TIME_OUT".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Venkatesh Kulkarni&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 09:16:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Is-there-a-guide-for-MCAL-WDG-module/m-p/1231963#M9916</guid>
      <dc:creator>venkatesh_kulka</dc:creator>
      <dc:date>2021-02-17T09:16:00Z</dc:date>
    </item>
  </channel>
</rss>

