<?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: Watchdog does not trigger reset on s32k</title>
    <link>https://community.nxp.com/t5/S32K/Watchdog-does-not-trigger-reset-on-s32k/m-p/1458032#M15428</link>
    <description>&lt;P&gt;The issue was due to optimization level. For above test i was using optimization of -Os. Once i switched to -O0, it would work every time.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 14:14:55 GMT</pubDate>
    <dc:creator>zainali</dc:creator>
    <dc:date>2022-05-13T14:14:55Z</dc:date>
    <item>
      <title>Watchdog does not trigger reset on s32k</title>
      <link>https://community.nxp.com/t5/S32K/Watchdog-does-not-trigger-reset-on-s32k/m-p/1458008#M15426</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to setup watchdog for s32k144. For that i am using sdk. The sequence to setup is watchdog is defined below:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zainali_1-1652449326022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179781i47FEE2173936A477/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zainali_1-1652449326022.png" alt="zainali_1-1652449326022.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;WDOG_DRV_Init(INST_WATCHDOG, &amp;amp;watchdog0_Config0); // To initialize the watchodog in main.&lt;/LI&gt;&lt;LI&gt;WDOG_DRV_Trigger(INST_WATCHDOG); // Trigger watchdog in main loop.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now the problem is that if i comment "WDOG_DRV_Trigger(INST_WATCHDOG);" then the MCU does not restart. But if i do run code in debug mode and add breakpoint on "WDOG_DRV_Init" function then watchdog resets MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what might be wrong with my configuration as my watchdog only perform reset when i am in debug mode plus i add breakpoint on "WDOG_DRV_Init".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 13:45:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Watchdog-does-not-trigger-reset-on-s32k/m-p/1458008#M15426</guid>
      <dc:creator>zainali</dc:creator>
      <dc:date>2022-05-13T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Watchdog does not trigger reset on s32k</title>
      <link>https://community.nxp.com/t5/S32K/Watchdog-does-not-trigger-reset-on-s32k/m-p/1458032#M15428</link>
      <description>&lt;P&gt;The issue was due to optimization level. For above test i was using optimization of -Os. Once i switched to -O0, it would work every time.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 14:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Watchdog-does-not-trigger-reset-on-s32k/m-p/1458032#M15428</guid>
      <dc:creator>zainali</dc:creator>
      <dc:date>2022-05-13T14:14:55Z</dc:date>
    </item>
  </channel>
</rss>

