<?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: fs23 wdg questions in Power Management</title>
    <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991355#M3897</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The manual describes: "At power-on reset, the first successful watchdog refresh must be sent within less than 256 ms, which is the default watchdog period. If not, the watchdog error counter will be incremented (see section 20.2.2 Watchdog error counter)."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on this description, I conducted an experiment where after the system is powered on, I did not execute the wd refresh and observed how long it would take for the system to reset. My code was similar to this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Std_ReturnType Sbc_fs23_WdRefresh(void) 
{ 
    Std_ReturnType eReturnValue = E_OK; 
    uint16 u16WdToken = 0U; 
    while(1); 
......
do not do any code
......
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Through monitoring the device reset, I found that it reset after approximately 850ms. Why is it not 256ms but 850ms?What FS23 factors are related to device reboot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;below is the waveform I measured, the green line is level of reset pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gumu_0-1731235658734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309516i97D315CBFFAE1419/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gumu_0-1731235658734.png" alt="gumu_0-1731235658734.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;gumu_0-1731235658734.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sun, 10 Nov 2024 10:53:40 GMT</pubDate>
    <dc:creator>gumu</dc:creator>
    <dc:date>2024-11-10T10:53:40Z</dc:date>
    <item>
      <title>fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990161#M3890</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we are currently debugging the FS23 and would like to ask a question about the watchdog: By default, can the watchdog be permanently disabled through software? Is it done by setting the window to infinite? If it can be disabled, but I saw in the chip manual that it states:&lt;/P&gt;&lt;P&gt;“At power-on reset, the first good watchdog refresh must be sent in less than 256 ms, which is the default watchdog period. If not, the watchdog error counter will be incremented (see section 20.2.2 Watchdog error counter). ”&lt;/P&gt;&lt;P&gt;This mentions that after POR, the watchdog must be refreshed correctly within 256 ms; if the watchdog is disabled, then this 256 ms timeout becomes meaningless, right?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 11:54:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990161#M3890</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-07T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990174#M3891</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I’ve encountered a phenomenon where, after powering on the system, it does not restart even if the watchdog is not refreshed. Therefore, I think it may be due to the FS23 disabling the watchdog during initialization. However, I do not fully understand the details regarding how to disable the watchdog.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 12:09:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990174#M3891</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-07T12:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990388#M3892</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The watchdog disable (WDW_PERIOD = 0b0000) is effective only when the INIT phase is closed, so it requires at least one good watchdog refresh within the 256ms of the INIT timeout.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BRs, Tomas&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 17:19:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990388#M3892</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-11-07T17:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990393#M3893</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I suppose that in this case the FS23 is in Debug mode (VDBG &amp;gt; VDBG_MODE (min: 3.5V; typ: 4.5V; max: 5.5V)) where&amp;nbsp;no watchdog refresh is required as the watchdog is configured with infinite timeout and the watchdog window&amp;nbsp;is fully opened. Also the&amp;nbsp;RSTB eight-second timer is disabled and the Fail-safe mode entry is disabled via the fault error counter.&lt;/P&gt;
&lt;P&gt;BRs, Tomas&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 17:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990393#M3893</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-11-07T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990707#M3895</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Tomas,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your answer! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After the system powers on and enters the INIT state, if the watchdog is set to infinite during the INIT state and then a good watchdog refresh is performed to exit the INIT state, does that mean the watchdog is effectively disabled? If my understanding is correct, how does the FS23 exit the infinite mode? Is it through the&amp;nbsp;Sbc_fs23_WdChangeWindowDuration()&amp;nbsp;interface?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 03:11:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1990707#M3895</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-08T03:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991355#M3897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The manual describes: "At power-on reset, the first successful watchdog refresh must be sent within less than 256 ms, which is the default watchdog period. If not, the watchdog error counter will be incremented (see section 20.2.2 Watchdog error counter)."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Based on this description, I conducted an experiment where after the system is powered on, I did not execute the wd refresh and observed how long it would take for the system to reset. My code was similar to this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Std_ReturnType Sbc_fs23_WdRefresh(void) 
{ 
    Std_ReturnType eReturnValue = E_OK; 
    uint16 u16WdToken = 0U; 
    while(1); 
......
do not do any code
......
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Through monitoring the device reset, I found that it reset after approximately 850ms. Why is it not 256ms but 850ms?What FS23 factors are related to device reboot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;below is the waveform I measured, the green line is level of reset pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gumu_0-1731235658734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309516i97D315CBFFAE1419/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gumu_0-1731235658734.png" alt="gumu_0-1731235658734.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;gumu_0-1731235658734.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2024 10:53:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991355#M3897</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-10T10:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991791#M3899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Each time the watchdog is not properly refreshed, the watchdog error counter is incremented by 2. When is reaches its configurable limit (6 by default), the fault error counter is incremented by 1 and the RSTB is asserted (WD_RSTB_IMPACT = 1 by default). This corresponds to 3 * 256ms = 768ms.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 634px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309717iDF71198CB8910CCD/image-dimensions/634x283?v=v2" width="634" height="283" role="button" title="1.png" alt="1.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 639px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309718i529F4B5A7F05E58F/image-dimensions/639x190?v=v2" width="639" height="190" role="button" title="2.png" alt="2.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;2.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 643px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309719i7D2A0027EB2B9FDD/image-dimensions/643x615?v=v2" width="643" height="615" role="button" title="3.png" alt="3.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;3.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BRs, Tomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 07:55:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991791#M3899</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-11-11T07:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991956#M3900</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your support!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like to ask, in your explanation, 'This corresponds to 3 * 256ms = 768ms.' In the init state, the default timeout is 256ms, but the watchdog timeout period is 64ms. If the watchdog is not correctly refreshed during the init state, is 256ms considered the watchdog timeout period?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tnanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:02:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991956#M3900</guid>
      <dc:creator>gumu</dc:creator>
      <dc:date>2024-11-11T12:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: fs23 wdg questions</title>
      <link>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991969#M3901</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If you change the watchdog window period from the default value of 256ms to 64ms ((WDW_PERIOD = 0b0011)) during the INIT phase, and the watchdog is not correctly refreshed during the 256ms INIT phase, then the watchdog window period remains 256ms.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-11-11 133131.png" style="width: 657px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309768i29751CF88218E998/image-dimensions/657x395?v=v2" width="657" height="395" role="button" title="Screenshot 2024-11-11 133131.png" alt="Screenshot 2024-11-11 133131.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot 2024-11-11 133131.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;BRs, Tomas&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs23-wdg-questions/m-p/1991969#M3901</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-11-11T12:32:07Z</dc:date>
    </item>
  </channel>
</rss>

