<?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: Hardfault on MKV56 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hardfault-on-MKV56/m-p/1552265#M64291</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/121849"&gt;@anup_gandra&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;The main causes of a hard fault in this part are due to writing to a read-only register or that not meeting the voltage and current operating requirements. Could you please start by ruling out these two possible causes?&lt;/P&gt;
&lt;P&gt;Hope it helps you. Please let me know if you have more questions about it.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;Best regards, &lt;BR /&gt;Leonardo&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 23:36:48 GMT</pubDate>
    <dc:creator>_Leo_</dc:creator>
    <dc:date>2022-11-10T23:36:48Z</dc:date>
    <item>
      <title>Hardfault on MKV56</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hardfault-on-MKV56/m-p/1546186#M64242</link>
      <description>&lt;P&gt;We are using MKV56 in one of our projects where we control current through MOSFET's with PWM.&amp;nbsp; &amp;nbsp;Some of the mkv56 (15 out of 100) are triggering hardfault at higher currents (220 Amps and above).&lt;/P&gt;&lt;P&gt;Similar observation when we use s32k144 also.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are some observations:&lt;/P&gt;&lt;P&gt;1. Some times hardfault triggers with PC address from SRAM ITC in MKV56&lt;/P&gt;&lt;P&gt;2. With increase in temperature of the board current cutoff where hardfault triggers increases. After some point hardfault doesn't even trigger.&lt;/P&gt;&lt;P&gt;3. With small change in code , like removing incrementing of variable also makes hardfault triggering go away. Very random behaviour w.r.t small code change (unused code change also causes hardfault triggering to disappear).&lt;/P&gt;&lt;P&gt;4. Adding one or two lines of code to debug exact reason for hardfault makes the hardfault source to change and location from where hardfault triggers also changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached clock config, linker files for reference&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 08:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hardfault-on-MKV56/m-p/1546186#M64242</guid>
      <dc:creator>anup_gandra</dc:creator>
      <dc:date>2022-10-31T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hardfault on MKV56</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hardfault-on-MKV56/m-p/1552265#M64291</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/121849"&gt;@anup_gandra&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;The main causes of a hard fault in this part are due to writing to a read-only register or that not meeting the voltage and current operating requirements. Could you please start by ruling out these two possible causes?&lt;/P&gt;
&lt;P&gt;Hope it helps you. Please let me know if you have more questions about it.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;Best regards, &lt;BR /&gt;Leonardo&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 23:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Hardfault-on-MKV56/m-p/1552265#M64291</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2022-11-10T23:36:48Z</dc:date>
    </item>
  </channel>
</rss>

