<?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>topic Re: K64F watchdog timeout value in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723279#M44280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show your entire config structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually are assigning "1" to you're prescaler value in the config then it will be divided by 2 in the driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using KSDK 1.3.0 and the ENUM to divide by 1 in the driver is:&amp;nbsp;kWdogClkPrescalerDivide1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enum value of that is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2018 21:11:08 GMT</pubDate>
    <dc:creator>jschepler</dc:creator>
    <dc:date>2018-02-08T21:11:08Z</dc:date>
    <item>
      <title>K64F watchdog timeout value</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723278#M44279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble converting millisecond to the watchdog timeout value when using MCUXpresso watchdog driver.&lt;/P&gt;&lt;P&gt;Please validate my math.&lt;/P&gt;&lt;P&gt;One tick of the watchdog = 1 ms. With the given configuration&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Watchdog clock = kWDOG_LpoClockSource = 1KHz&lt;/LI&gt;&lt;LI&gt;Watchdog prescaler = 1&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Therefore when I setup the watchdog I do&lt;/P&gt;&lt;P&gt;wdog_config_t config;&lt;/P&gt;&lt;P&gt;&amp;nbsp;WDOG_GetDefaultConfig(&amp;amp;config);&lt;/P&gt;&lt;P&gt;config.timeoutValue = 1000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should make the watchdog timeout in 1 second but it seem to be timing out alot sooner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 22:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723278#M44279</guid>
      <dc:creator>unknowncoder</dc:creator>
      <dc:date>2018-02-06T22:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: K64F watchdog timeout value</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723279#M44280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show your entire config structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you actually are assigning "1" to you're prescaler value in the config then it will be divided by 2 in the driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using KSDK 1.3.0 and the ENUM to divide by 1 in the driver is:&amp;nbsp;kWdogClkPrescalerDivide1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The enum value of that is 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2018 21:11:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723279#M44280</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2018-02-08T21:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: K64F watchdog timeout value</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723280#M44281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Desmond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please tell us how did you see &lt;STRONG&gt;it time out alot sooner&lt;/STRONG&gt;?&lt;BR /&gt;Maybe you can toggle a pin and then WDOG_Refresh it only once. Measure the Reset_b pin waveform and observe if the voltage will low after 1ms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 07:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723280#M44281</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-02-11T07:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: K64F watchdog timeout value</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723281#M44282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This problem has been resolved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There some some incorrect timer calculation occurring in the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 16:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64F-watchdog-timeout-value/m-p/723281#M44282</guid>
      <dc:creator>unknowncoder</dc:creator>
      <dc:date>2018-02-11T16:07:19Z</dc:date>
    </item>
  </channel>
</rss>

