<?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>Kinetis MicrocontrollersのトピックS32DS Unlocking the watch Dog timer</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32DS-Unlocking-the-watch-Dog-timer/m-p/904984#M53152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am currently working with the S32DS Eval board ,using&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM&lt;/P&gt;&lt;P&gt;Version: 2.0&lt;BR /&gt;Build id: 170810&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I am trying to configure the watch dog timer&lt;/P&gt;&lt;P&gt;the below is the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;BR /&gt; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;BR /&gt; PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;BR /&gt; WDOG_DRV_Init(INST_WATCHDOG1, &amp;amp;Window_watchdog);&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the watch dog is configured with the&amp;nbsp; below parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const wdog_user_config_t Window_watchdog = {&lt;BR /&gt; .clkSource = WDOG_LPO_CLOCK,&lt;BR /&gt; .opMode = {&lt;BR /&gt; false, /* Wait Mode*/&lt;BR /&gt; false, /* Stop Mode*/&lt;BR /&gt; true /* Debug Mode*/&lt;BR /&gt; },&lt;BR /&gt; .updateEnable = true,&lt;BR /&gt; .intEnable = true,&lt;BR /&gt; .winEnable = false,&lt;BR /&gt; .windowValue = 16384,&lt;BR /&gt; .timeoutValue = 16384,&lt;BR /&gt; .prescalerEnable = false&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I run the program , the program enters the WDOG_DRV_Init and gets into an never ending loop as the watch dog is not being unlocked as can be seen in the below snapshot.&lt;/P&gt;&lt;P&gt;I make use of the&amp;nbsp;&amp;nbsp;(base)-&amp;gt;CNT = FEATURE_WDOG_UNLOCK_VALUE; to unlock the watchdog.&lt;/P&gt;&lt;P&gt;Could you please let know if I am missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83594i9DAF1D5003E39E5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2019 14:52:36 GMT</pubDate>
    <dc:creator>satish_k_singh</dc:creator>
    <dc:date>2019-05-22T14:52:36Z</dc:date>
    <item>
      <title>S32DS Unlocking the watch Dog timer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32DS-Unlocking-the-watch-Dog-timer/m-p/904984#M53152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am currently working with the S32DS Eval board ,using&amp;nbsp;&lt;/P&gt;&lt;P&gt;S32 Design Studio for ARM&lt;/P&gt;&lt;P&gt;Version: 2.0&lt;BR /&gt;Build id: 170810&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I am trying to configure the watch dog timer&lt;/P&gt;&lt;P&gt;the below is the sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;BR /&gt; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;BR /&gt; PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;BR /&gt; WDOG_DRV_Init(INST_WATCHDOG1, &amp;amp;Window_watchdog);&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the watch dog is configured with the&amp;nbsp; below parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const wdog_user_config_t Window_watchdog = {&lt;BR /&gt; .clkSource = WDOG_LPO_CLOCK,&lt;BR /&gt; .opMode = {&lt;BR /&gt; false, /* Wait Mode*/&lt;BR /&gt; false, /* Stop Mode*/&lt;BR /&gt; true /* Debug Mode*/&lt;BR /&gt; },&lt;BR /&gt; .updateEnable = true,&lt;BR /&gt; .intEnable = true,&lt;BR /&gt; .winEnable = false,&lt;BR /&gt; .windowValue = 16384,&lt;BR /&gt; .timeoutValue = 16384,&lt;BR /&gt; .prescalerEnable = false&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I run the program , the program enters the WDOG_DRV_Init and gets into an never ending loop as the watch dog is not being unlocked as can be seen in the below snapshot.&lt;/P&gt;&lt;P&gt;I make use of the&amp;nbsp;&amp;nbsp;(base)-&amp;gt;CNT = FEATURE_WDOG_UNLOCK_VALUE; to unlock the watchdog.&lt;/P&gt;&lt;P&gt;Could you please let know if I am missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83594i9DAF1D5003E39E5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 14:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/S32DS-Unlocking-the-watch-Dog-timer/m-p/904984#M53152</guid>
      <dc:creator>satish_k_singh</dc:creator>
      <dc:date>2019-05-22T14:52:36Z</dc:date>
    </item>
  </channel>
</rss>

