<?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>Power ManagementのトピックRe: fs24: switch debug mode to normal mode</title>
    <link>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945454#M3722</link>
    <description>&lt;P&gt;Hello Kun,&lt;/P&gt;
&lt;P&gt;In Debug mode no watchdog refresh is required as the watchdog is disabled along with other safety features.&lt;/P&gt;
&lt;P&gt;When not using the Debug mode, the FS24 needs to be initialized during the first 256ms (INIT state) after power up and the MCU must send a good WD refresh to get out of this INIT state and close it. If the good WD refresh is not sent before those 256ms, the WD error counter is incremented. Incrementing will eventually lead the device to generate RSTB pulses and main state machine transition to Fail-safe state which I guess happens in your case. &lt;BR /&gt;&lt;BR /&gt;So please make sure that you are using the following sequence to get properly to the Normal mode and then periodically refresh the watchdog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 766px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296628iFBF2001FDFEFAC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would also recommend you to take a closer look at our AN14183 - FS2400 product guidelines which includes among others a lot of information about various operating modes and code examples like the one above. Please note that this AN14183 is classified as a secure file requiring an NDA.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 547px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296629iCE81DCEDF57C0318/image-dimensions/547x295?v=v2" width="547" height="295" role="button" title="2.png" alt="2.png" /&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, 02 Sep 2024 11:02:46 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2024-09-02T11:02:46Z</dc:date>
    <item>
      <title>fs24: switch debug mode to normal mode</title>
      <link>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945335#M3720</link>
      <description>&lt;P&gt;hello,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to get to Normal mode from Debug mode following the&amp;nbsp;&lt;SPAN&gt;Application Note.&amp;nbsp; But set the WD period to 0x0000 seems not take effect,&amp;nbsp; it causes the MCU reset continuously.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kk211911_1-1725266764897.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296590i8AF89C7E3C2F396D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kk211911_1-1725266764897.jpeg" alt="kk211911_1-1725266764897.jpeg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kk211911_2-1725266764903.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296589i8B7C32079E4A3AD0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kk211911_2-1725266764903.jpeg" alt="kk211911_2-1725266764903.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The register value before switch mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_M_STATUS:&amp;nbsp; 0x3C05&amp;nbsp;&amp;nbsp;&amp;nbsp; （Both&amp;nbsp;&lt;SPAN&gt;NORMAL_S and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;INIT_S is 0x01?&lt;/SPAN&gt;）&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_FS_WDW_CFG: 0x120 :&amp;nbsp; Default&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;256ms&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;REG_M_SYS1_CFG: 0x4808:&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;DBG_MODE is set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REG_FS_I_WD_CFG: 0x5080&lt;/P&gt;&lt;P&gt;Is there anything missing while switch Debug mode to Normal mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 08:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945335#M3720</guid>
      <dc:creator>kk211911</dc:creator>
      <dc:date>2024-09-02T08:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: fs24: switch debug mode to normal mode</title>
      <link>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945454#M3722</link>
      <description>&lt;P&gt;Hello Kun,&lt;/P&gt;
&lt;P&gt;In Debug mode no watchdog refresh is required as the watchdog is disabled along with other safety features.&lt;/P&gt;
&lt;P&gt;When not using the Debug mode, the FS24 needs to be initialized during the first 256ms (INIT state) after power up and the MCU must send a good WD refresh to get out of this INIT state and close it. If the good WD refresh is not sent before those 256ms, the WD error counter is incremented. Incrementing will eventually lead the device to generate RSTB pulses and main state machine transition to Fail-safe state which I guess happens in your case. &lt;BR /&gt;&lt;BR /&gt;So please make sure that you are using the following sequence to get properly to the Normal mode and then periodically refresh the watchdog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 766px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296628iFBF2001FDFEFAC91/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would also recommend you to take a closer look at our AN14183 - FS2400 product guidelines which includes among others a lot of information about various operating modes and code examples like the one above. Please note that this AN14183 is classified as a secure file requiring an NDA.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 547px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296629iCE81DCEDF57C0318/image-dimensions/547x295?v=v2" width="547" height="295" role="button" title="2.png" alt="2.png" /&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, 02 Sep 2024 11:02:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945454#M3722</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-09-02T11:02:46Z</dc:date>
    </item>
    <item>
      <title>回复： fs24: switch debug mode to normal mode</title>
      <link>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945739#M3724</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Tomas：&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you very much,&amp;nbsp; all my test procedures following AN14183 chapter 7.3,&amp;nbsp; but when i set&amp;nbsp; WD period to infinite,&amp;nbsp; it can not&amp;nbsp; take effect, did i miss any procedure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kk211911_1-1725327140569.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296702i022D11D35714723B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kk211911_1-1725327140569.png" alt="kk211911_1-1725327140569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 01:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/fs24-switch-debug-mode-to-normal-mode/m-p/1945739#M3724</guid>
      <dc:creator>kk211911</dc:creator>
      <dc:date>2024-09-03T01:33:54Z</dc:date>
    </item>
  </channel>
</rss>

