<?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>S32KのトピックRe: What does it mean HSE_SWT_RST on S32K311!!!</title>
    <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1959538#M41226</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the precious information, but I still don't understand why in my situation there is a HSE_SWT_RST reset. What is the cause?&amp;nbsp;What's wrong with the HSE?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 06:41:55 GMT</pubDate>
    <dc:creator>enricoantonioli</dc:creator>
    <dc:date>2024-09-23T06:41:55Z</dc:date>
    <item>
      <title>What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955147#M40975</link>
      <description>&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;Where can I found information about&amp;nbsp;HSE_SWT_RST reset?&lt;/P&gt;&lt;P&gt;With the following clock configuration:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;PLL_PHI0_CLK=120MHz&lt;/LI&gt;&lt;LI&gt;CORE_CLK=PLL_PHI0_CLK/1=120MHz&lt;/LI&gt;&lt;LI&gt;AIPS_PLAT_CLK=PLL_PHI0_CLK/2=60MHz&lt;/LI&gt;&lt;LI&gt;AIPS_SLOW_CLK=PLL_PHI0_CLK/4=30MHz&lt;/LI&gt;&lt;LI&gt;HSE_CLK=PLL_PHI0_CLK/1=120MHz&lt;/LI&gt;&lt;LI&gt;DCM_CLK=PLL_PHI0_CLK/4=30MHz&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;at power on&amp;nbsp;I occasionally get the reset&amp;nbsp;HSE_SWT_RST.&lt;/P&gt;&lt;P&gt;What is the cause?&lt;/P&gt;&lt;P&gt;I probably need to reduce the HSE clock to 60 MHz&amp;nbsp;or change the value of HSE_CLK_MODE_AND_GSKT_CTRL to 10 of the dcf_client_utest_misc client.&lt;/P&gt;&lt;P&gt;Where can I find documentation that explains this?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 11:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955147#M40975</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-16T11:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955775#M41016</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the information, it seems that the problem is due to incorrect clock configuration.&lt;/P&gt;
&lt;P&gt;The HSE_CLK_MODE_AND_GSKT_CTRL (bit 30-29) must be set to 1x if you want to use HSE_CLK equal to 120 MHZ. On the other hand, if HSE_CLK_MODE_AND_GSKT_CTRL was set to 00, it is necessary to change HSE_CLK to 60 MHZ. Refer to&amp;nbsp;S32K3xx_DCF_clients file attached to the&amp;nbsp;S32K3xx Reference Manual.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This must be done by writing to dcf in UTEST memory using Flash controller.&amp;nbsp;You can check the following article, it might be a good reference.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Restrict-the-debug-access-with-a-password-when-HSE-is-not/ta-p/1735073" target="_blank" rel="noopener"&gt;[S32K3] Restrict the debug access with a password when HSE is not used&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 17:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1955775#M41016</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-09-17T17:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1958391#M41165</link>
      <description>&lt;P&gt;HI Vane,&lt;/P&gt;&lt;P&gt;first of all, thank you very much for your quick reply.&lt;/P&gt;&lt;P&gt;At the moment I have reduced the HSE_CLOCK to 60 MHz because in the HSE there isn't programmed a firmware.&amp;nbsp;I will activate HSE soon.&lt;/P&gt;&lt;P&gt;What does HSE_SWT_RST mean? Is it a reset due to an internal HSE watchdog or what? What I don't understand is why this reset occurs if no firmware is programmed into the HSE memory? If I understand correctly, at power on the HSE processor executes the SBAF code and then stops in a WFI. So who triggers the HSE_SWT_RST reset?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 05:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1958391#M41165</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-20T05:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1958997#M41201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What does HSE_SWT_RST mean?&lt;/STRONG&gt; It stands for HSE Software Watchdog Timer Reset.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Is it a reset due to an internal HSE watchdog or what?&lt;/STRONG&gt; The HSE CPU is mainly composed of Arm Cortex-M0+, which one of its essential peripherals is the watchdog.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VaneB_0-1726858111822.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300437iABBBA04CB001B71C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VaneB_0-1726858111822.png" alt="VaneB_0-1726858111822.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So yes, it is trigger by HSE SWT as the name implies.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why this reset occurs if no firmware is programmed into the HSE memory?&lt;/STRONG&gt; The HSE CPU, even if the HSE firmware is not loaded, is active because it contains the SBAF code.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 18:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1958997#M41201</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-09-20T18:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1959538#M41226</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the precious information, but I still don't understand why in my situation there is a HSE_SWT_RST reset. What is the cause?&amp;nbsp;What's wrong with the HSE?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 06:41:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1959538#M41226</guid>
      <dc:creator>enricoantonioli</dc:creator>
      <dc:date>2024-09-23T06:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean HSE_SWT_RST on S32K311!!!</title>
      <link>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1960114#M41260</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/131701"&gt;@enricoantonioli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The HSE_SWT_RST is usually caused by wrong clock configuration.&lt;/P&gt;
&lt;P&gt;It was found out that it is possible to configure 120MHz HSE_CLK only during reset by DCF record. It cannot be done later by software for some reasons. That means it is necessary to set PLL_ENABLE in BCW (Boot Configuration Word) in IVT, it is necessary to program crystal oscillator configuration flag in UTEST at 0x1B000050 (see section 32.4.3.2 Crystal oscillator configuration flag in the S32K3 RM), it is necessary to program the dcf_client_utest_misc - HSE_CLK_MODE_AND_GSKT_CTRL equal to 10 or 11.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 20:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/What-does-it-mean-HSE-SWT-RST-on-S32K311/m-p/1960114#M41260</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-09-23T20:00:02Z</dc:date>
    </item>
  </channel>
</rss>

