<?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: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1596516#M20542</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;I've attached the clocks in this reply. I don't want to claim that I've replicated this with examples code because I don't have any example code to share with you regarding this issue. But i remember having the same error with example code (with slightly mods). The issue there was that I had changed optimization level and the same issue occurred.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;/P&gt;&lt;P&gt;kyf.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 10:51:53 GMT</pubDate>
    <dc:creator>kyf</dc:creator>
    <dc:date>2023-02-09T10:51:53Z</dc:date>
    <item>
      <title>Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1587214#M20198</link>
      <description>&lt;P&gt;Hello NXP team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting hard fault error at Clock_Ip_InitClock() function. If I recompile the code with different optimization this may go away and if I change the code for example add a new variable or something insignificant the hardfault error may not happen again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kyf_0-1674575634473.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/208249iD7439313256194DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="kyf_0-1674575634473.png" alt="kyf_0-1674575634473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get interrupted many times while debugging other code and I can't find the reason why this is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you ever had any similar report ?&lt;BR /&gt;Can I do anything to find out the real reason for the hard fault error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;kyf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 15:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1587214#M20198</guid>
      <dc:creator>kyf</dc:creator>
      <dc:date>2023-01-24T15:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1587350#M20204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201680"&gt;@kyf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When executing the code examples, do you get the &lt;SPAN&gt;hard fault error&lt;/SPAN&gt; in the Clock_Ip_InitClock() function or is this only presented in your code?&lt;/P&gt;
&lt;P&gt;Also, can you tell us the MCU that you are using? And also, which software?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 21:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1587350#M20204</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-01-24T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1593074#M20428</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;, thank you for replying to my request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using S32K344 with RTD v2.0. I'm working my project at the moment with the S32K3x4EVBQ172 devboard.&lt;BR /&gt;&lt;BR /&gt;I've noticed last time that I've got this error, just only by adding some extra lines of code for example some nop instructions the error did ceased to occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Can you guide me in order to narrow down the cause of this issue ?&lt;/P&gt;&lt;P&gt;If you need any extra information from my side please let me know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;kyf&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 10:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1593074#M20428</guid>
      <dc:creator>kyf</dc:creator>
      <dc:date>2023-02-03T10:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1595051#M20497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201680"&gt;@kyf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you help me by sharing the settings you made to the clocks?&lt;BR /&gt;Does this error happen to you in any of the examples provided with the RTD?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 22:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1595051#M20497</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-02-07T22:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1596516#M20542</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;I've attached the clocks in this reply. I don't want to claim that I've replicated this with examples code because I don't have any example code to share with you regarding this issue. But i remember having the same error with example code (with slightly mods). The issue there was that I had changed optimization level and the same issue occurred.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;/P&gt;&lt;P&gt;kyf.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 10:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1596516#M20542</guid>
      <dc:creator>kyf</dc:creator>
      <dc:date>2023-02-09T10:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1596835#M20554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201680"&gt;@kyf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I understood, this problem started when the optimization was changed. Am I correct?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 20:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1596835#M20554</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-02-09T20:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597147#M20563</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp; Yes, this happens only after optimization level change. I have tried many times to delete the build folder and rebuild from scratch but the error keeps popping up. Unless I add any code to my project it does not disappear.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 08:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597147#M20563</guid>
      <dc:creator>kyf</dc:creator>
      <dc:date>2023-02-10T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597566#M20601</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201680"&gt;@kyf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could not replicate your problem using Clock_Ip_Example and all optimization levels.To be in the same context, could you try that example?&lt;/P&gt;
&lt;P&gt;It would also help me to know what optimization level you are using. And also, have you tested in different EVBs?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 19:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597566#M20601</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2023-02-10T19:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why this is happening ? Hard fault error at Clock_Ip_InitClock() function</title>
      <link>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597923#M20622</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;thank you for your efforts.&lt;BR /&gt;&lt;BR /&gt;Sadly, I can not share the project that I'm working and I haven't stored any copy of a project that I had this issue. If the same happens again I will store the project and all it's settings in order to sent it to you for testing.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;kyf&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 07:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Why-this-is-happening-Hard-fault-error-at-Clock-Ip-InitClock/m-p/1597923#M20622</guid>
      <dc:creator>kyf</dc:creator>
      <dc:date>2023-02-13T07:05:00Z</dc:date>
    </item>
  </channel>
</rss>

