<?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: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
    <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109404#M4388</link>
    <description>&lt;P&gt;如您所说，把&lt;SPAN&gt;WD disable 之后，回读WD_WINDOW 结果为0x03(默认值),后看了代码发现&lt;/SPAN&gt;应该是没有配置INIT和 WD相关寄存器，却执行FS65_WD_Refresh() 导致的异常复位。通过分析Demo 代码可以看出，上电后首先读取 MODE 寄存器获取当前MODE，如果返回是 INIT mode才会对INIT 和WD相关寄存器进行配置。从Debug仿真结果来看，上电读到MODE 为 Normal mode。请问这是什么原因，读取MODE寄存器之前是否还需要进行其他的操作？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FS65_Init.png" style="width: 970px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341081i2F167420BA3ED157/image-size/large?v=v2&amp;amp;px=999" role="button" title="FS65_Init.png" alt="FS65_Init.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FS65_GetMode.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341076iE6F6C974E224131B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FS65_GetMode.png" alt="FS65_GetMode.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 09:50:58 GMT</pubDate>
    <dc:creator>Wangfangyuanx</dc:creator>
    <dc:date>2025-06-03T09:50:58Z</dc:date>
    <item>
      <title>FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109220#M4384</link>
      <description>&lt;P&gt;I referred to the Demo program on the official website(&lt;A href="https://www.nxp.com/design/design-center/software/analog-expert-software-and-tools/sdk-analog-expert-drivers/fs6500-fs4500-system-basis-chip-embedded-software-driver:FS6500-FS4500-SW-Driver" target="_blank"&gt;Embedded SW: FS65/FS45 SW Driver | NXP Semiconductors&lt;/A&gt;) and ported it to the S32K314 MCU. In the chip initialization function, whenever the FS65_WD_Refresh() function is executed, the MCU resets directly. I measured the RESTB pin and found that whenever the FS65_WD_Refresh() function is executed, the RSTB pin sends a low-level pulse of 10ms. But isn't this function supposed to be a watchdog feeding operation? Why does it perform a reset operation?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PixPin_2025-06-03_14-45-14.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341023i1A6AEE4DCB29BCF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PixPin_2025-06-03_14-45-14.png" alt="PixPin_2025-06-03_14-45-14.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 06:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109220#M4384</guid>
      <dc:creator>Wangfangyuanx</dc:creator>
      <dc:date>2025-06-03T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109228#M4385</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;在初始化阶段配置好相关的INIT的寄存器以后需要在256ms以内刷新一次WD,看下面的例子：&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="guoweisun_0-1748934020826.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341028i2A7B6DFFEB0410D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="guoweisun_0-1748934020826.png" alt="guoweisun_0-1748934020826.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 07:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109228#M4385</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2025-06-03T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109252#M4386</link>
      <description>该如何修改代码呢，这块驱动代码是移植的官网的 S6500/FS4500 Generic SW Driver with Examples 这个Demo，从代码上看INIT相关的的寄存器是在 FS65_Init()函数中进行配置，在FS65_Init()函数的最后执行了FS65_WD_Refresh();这期间应该是在256ms之内的</description>
      <pubDate>Tue, 03 Jun 2025 07:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109252#M4386</guid>
      <dc:creator>Wangfangyuanx</dc:creator>
      <dc:date>2025-06-03T07:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109263#M4387</link>
      <description>&lt;P&gt;假如您执行了配置&lt;SPAN&gt;Init寄存器，然后也在256ms刷新了WD他就会自&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;动进入normal模式。&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;这时候需要您正常的喂狗，喂狗错误一样会出问题&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;或者您在INIT 的阶段把WD disable掉看看有什么发生。操作WD_WINDOW寄存器&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="guoweisun_0-1748936445242.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341033i35D0D2AA63B72A83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="guoweisun_0-1748936445242.png" alt="guoweisun_0-1748936445242.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 07:41:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109263#M4387</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2025-06-03T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109404#M4388</link>
      <description>&lt;P&gt;如您所说，把&lt;SPAN&gt;WD disable 之后，回读WD_WINDOW 结果为0x03(默认值),后看了代码发现&lt;/SPAN&gt;应该是没有配置INIT和 WD相关寄存器，却执行FS65_WD_Refresh() 导致的异常复位。通过分析Demo 代码可以看出，上电后首先读取 MODE 寄存器获取当前MODE，如果返回是 INIT mode才会对INIT 和WD相关寄存器进行配置。从Debug仿真结果来看，上电读到MODE 为 Normal mode。请问这是什么原因，读取MODE寄存器之前是否还需要进行其他的操作？&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FS65_Init.png" style="width: 970px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341081i2F167420BA3ED157/image-size/large?v=v2&amp;amp;px=999" role="button" title="FS65_Init.png" alt="FS65_Init.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FS65_GetMode.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/341076iE6F6C974E224131B/image-size/large?v=v2&amp;amp;px=999" role="button" title="FS65_GetMode.png" alt="FS65_GetMode.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 09:50:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109404#M4388</guid>
      <dc:creator>Wangfangyuanx</dc:creator>
      <dc:date>2025-06-03T09:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: FS6500 execute  FS65_WD_Refresh() and  enters ResetHandle.</title>
      <link>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109488#M4389</link>
      <description>&lt;P&gt;&lt;SPAN&gt;---上电读到MODE 为 Normal mode。请问这是什么原因，读取MODE寄存器之前是否还需要进行其他的操作？&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;---&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;一开始上电就是初始化阶段不可能是normal模式的。&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;12.1.6 Normal&lt;BR /&gt;In this mode, all device functions are available. This mode is entered by a SPI command from the INIT phase by writing in the INIT_INT register. While in normal mode, the device can be set to low-power mode (LPOFF) using secured SPI command. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;读取MODE寄存器是让你了解SBC在哪个阶段，不是什么特殊的步骤&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 11:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Power-Management/FS6500-execute-FS65-WD-Refresh-and-enters-ResetHandle/m-p/2109488#M4389</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2025-06-03T11:24:08Z</dc:date>
    </item>
  </channel>
</rss>

