<?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: S32K144 Watchdog timeout difference by 1 sec in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K144-Watchdog-timeout-difference-by-1-sec/m-p/1707382#M26217</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122048"&gt;@emb02&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The LPO clock is very imprecise, it is expected that 1s configured will not be exactly 1s.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1692345933764.png" style="width: 665px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237034i77A16BED90157F62/image-dimensions/665x188?v=v2" width="665" height="188" role="button" title="danielmartynek_0-1692345933764.png" alt="danielmartynek_0-1692345933764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in this case there is 1s offset regardless of the WDOG TOVAL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reset can be delayed by the WDOG interrupt (128 BUS_CLK cycles) and by the RCM interrupt (up to 512 LPO clock cycles).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-WDOG-RCM-interrupt/ta-p/1107039" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-WDOG-RCM-interrupt/ta-p/1107039&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would say it must be an error of measurement, how exactly do you measure the timeout?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 18 Aug 2023 08:14:39 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-08-18T08:14:39Z</dc:date>
    <item>
      <title>S32K144 Watchdog timeout difference by 1 sec</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Watchdog-timeout-difference-by-1-sec/m-p/1706576#M26178</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using S32K144 internal watchdog timer to reset controller.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using internal oscillator and Watchdog Clock source is&amp;nbsp;WDOG_LPO_CLOCK = 128 KHz.&lt;/P&gt;&lt;P&gt;I'm using formula:&amp;nbsp;&lt;SPAN&gt;timeout (s) = 256 * (1 / clk) * TOVAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If Timeout = 1 sec then TOVAL = 500 but controller is resetting after 2 sec.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If Timeout = 3 sec then TOVAL = 1500 but controller is resetting after 4 sec.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If Timeout = 5 sec then TOVAL = 2500 but controller is resetting after 6 sec.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm getting difference of 1 sec always.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Clock settings:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clock.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236883i59B11DC5F0404274/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clock.png" alt="Clock.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Watch Dog settings for 5 sec:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WDOG.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/236884iD0381D5AF8E7D040/image-size/large?v=v2&amp;amp;px=999" role="button" title="WDOG.png" alt="WDOG.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me with this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 10:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Watchdog-timeout-difference-by-1-sec/m-p/1706576#M26178</guid>
      <dc:creator>emb02</dc:creator>
      <dc:date>2023-08-17T10:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Watchdog timeout difference by 1 sec</title>
      <link>https://community.nxp.com/t5/S32K/S32K144-Watchdog-timeout-difference-by-1-sec/m-p/1707382#M26217</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122048"&gt;@emb02&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The LPO clock is very imprecise, it is expected that 1s configured will not be exactly 1s.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1692345933764.png" style="width: 665px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237034i77A16BED90157F62/image-dimensions/665x188?v=v2" width="665" height="188" role="button" title="danielmartynek_0-1692345933764.png" alt="danielmartynek_0-1692345933764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in this case there is 1s offset regardless of the WDOG TOVAL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reset can be delayed by the WDOG interrupt (128 BUS_CLK cycles) and by the RCM interrupt (up to 512 LPO clock cycles).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-WDOG-RCM-interrupt/ta-p/1107039" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-WDOG-RCM-interrupt/ta-p/1107039&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would say it must be an error of measurement, how exactly do you measure the timeout?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 08:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K144-Watchdog-timeout-difference-by-1-sec/m-p/1707382#M26217</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-18T08:14:39Z</dc:date>
    </item>
  </channel>
</rss>

