<?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: S32K388 HSE No Response Error in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091036#M48402</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response. Will the same solution be needed for my S32K358 board which I have configured to run in A clocking configuration as well? Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Fri, 02 May 2025 18:37:22 GMT</pubDate>
    <dc:creator>darknite2023</dc:creator>
    <dc:date>2025-05-02T18:37:22Z</dc:date>
    <item>
      <title>S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2087520#M48188</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am running HSE FW 2.49.0 on my S32K388 devkit. HSE initializes without issues and Hse_Ip_GetHseStatus() returns:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt; hse -s&lt;/STRONG&gt;&lt;BR /&gt;HSE Status (0x960):&lt;BR /&gt;- RNG Init successful&lt;BR /&gt;- Host Debugger enabled + active&lt;BR /&gt;- HSE Init successful&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;However, a service request to read HSE FW info or a request for a random number errors out with "no response (bb55bb55)" and the system then resets and reset cause is reported as &lt;STRONG&gt;HSE SWT Timeout&lt;/STRONG&gt;! All HSE related variables are mapped into non cacheable region of memory. The same code works fine on my S32K358 dev kit running HSE FW 2.40.0.&lt;/P&gt;&lt;P&gt;My projects are non autosar.&lt;/P&gt;&lt;P&gt;I have checked HSE FW 2.49.0 release notes for S32K388 as well the reference manual and found no pertaining errata.&lt;/P&gt;&lt;P&gt;It would be great if someone could shed some light on why this is not work or might be failing?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Apr 2025 02:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2087520#M48188</guid>
      <dc:creator>darknite2023</dc:creator>
      <dc:date>2025-04-26T02:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2089310#M48291</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222269"&gt;@darknite2023&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have S32K388 EVB here with HSE firmware 2.49.0 FULL_MEM version installed. I have no problem to generate random number.&lt;/P&gt;
&lt;P&gt;Can you share your project? Please provide built project with elf file. I can check it on my side. &lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 11:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2089310#M48291</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-04-29T11:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2089717#M48315</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Thanks for response.&amp;nbsp;My project contains a lot of proprietary code that I will need to clean before I can share it and it will take me a day or 2 to get that done. While I am happy to do that, was wondering if you could provide/share your project that works? Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 00:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2089717#M48315</guid>
      <dc:creator>darknite2023</dc:creator>
      <dc:date>2025-04-30T00:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090147#M48351</link>
      <description>&lt;P&gt;I tested it in very minimalist and quick way without any project, just by using a debugger. &lt;/P&gt;
&lt;P&gt;I simply created own descriptor (hseSrvDescriptor_t) in RAM memory like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1746006796579.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335826iF6F199230742202C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1746006796579.png" alt="lukaszadrapa_0-1746006796579.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;First word 0x300 is ID of HSE_SRV_ID_GET_RANDOM_NUM, second word is reserved and then there's hseGetRandomNumSrv_t structure. You can take a look at HSE service API reference manual. First word selects DRG3 class, second word selects length of random number (16 bytes) and last word sets pointer where HSE will write the random number. &lt;/P&gt;
&lt;P&gt;Then I trigger the service by writing address of the descriptor (0x20400000) to transmit register TR[1] in MU_0. The result is that receive register RR[1] contains return value from HSE 0x55A5AA33 which is HSE_SRV_RSP_OK (operation was successful) and random number is available at 0x2040050:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1746007122722.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335833i3D10297A50C10280/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1746007122722.png" alt="lukaszadrapa_1-1746007122722.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, I'm sure the HSE_SRV_ID_GET_RANDOM_NUM works as expected regardless of drivers, software, etc.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The data cache must be disabled for this test, of course. &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_2-1746007518978.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/335835i293DA56A92F0214B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_2-1746007518978.png" alt="lukaszadrapa_2-1746007518978.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 10:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090147#M48351</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-04-30T10:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090770#M48387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;Attached, please find my project that attempts to request a random number from the HSE and it keeps failing. Please let know where I went wrong. Thanks.&lt;/P&gt;&lt;P&gt;Regards/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 23:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090770#M48387</guid>
      <dc:creator>darknite2023</dc:creator>
      <dc:date>2025-05-01T23:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090937#M48394</link>
      <description>&lt;P&gt;The code is correct, it's caused by clocks. I can see that you are using clock option A. In this case, it's necessary to program new DCF record to UTEST to change HSE_CLK_MODE_AND_GSKT_CTRL. This will ensure that internal clocks are correctly synchronized. &lt;/P&gt;
&lt;P&gt;You can find file S32K3xx_DCF_clients.xlxs in S32K3 reference manual. &lt;/P&gt;
&lt;P&gt;And you can find there that dcf_client_utest_misc contains HSE_CLK_MODE_AND_GSKT_CTRL which can have following values:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1746190379596.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/336074i0A601700196531EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1746190379596.png" alt="lukaszadrapa_0-1746190379596.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it must be set to 1x. It is not default value, so we need to reprogram it. &lt;/P&gt;
&lt;P&gt;Here is a screenshot from my debugger where I already added new DCF record:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_1-1746190536855.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/336075i269048F43AD694A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_1-1746190536855.png" alt="lukaszadrapa_1-1746190536855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The yellow record is original record programmed in factory. I programmed new record (in red) on first available address where I changed&amp;nbsp; HSE_CLK_MODE_AND_GSKT_CTRL accordingly. And then the RNG service works as expected. &lt;/P&gt;
&lt;P&gt;You can use attached script to program the record. Just check if 0x1B000770 is first available position in your UTEST. &lt;/P&gt;
&lt;P&gt;Or next option is to program the record by your application. &lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 13:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2090937#M48394</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-05-02T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091036#M48402</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response. Will the same solution be needed for my S32K358 board which I have configured to run in A clocking configuration as well? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 18:37:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091036#M48402</guid>
      <dc:creator>darknite2023</dc:creator>
      <dc:date>2025-05-02T18:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091217#M48411</link>
      <description>&lt;P&gt;It's not needed in case of clock option A on S32K358 because it is default state:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1746421171913.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/336141iA175F1D639782570/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1746421171913.png" alt="lukaszadrapa_0-1746421171913.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 05:00:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091217#M48411</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2025-05-05T05:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K388 HSE No Response Error</title>
      <link>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091919#M48459</link>
      <description>Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37795"&gt;@lukaszadrapa&lt;/a&gt;.&lt;BR /&gt;Thanks for the quick response and clarifying that a similar change is not needed on S32K358.&lt;BR /&gt;After programming the DCF record with the value provided by you, HSE services are no longer timing out on S32K388. Many thanks.</description>
      <pubDate>Tue, 06 May 2025 06:23:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K388-HSE-No-Response-Error/m-p/2091919#M48459</guid>
      <dc:creator>darknite2023</dc:creator>
      <dc:date>2025-05-06T06:23:37Z</dc:date>
    </item>
  </channel>
</rss>

