<?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: Application Software containing ICU and CAN, is get stuck into Hardfault for S32k344 in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2012772#M9849</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235647"&gt;@RushikeshK_DC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In general, hardfaults are caused by the lack of enabling the clocks required by each component. This is done in the &lt;STRONG&gt;Mcu&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuModuleConfiguration&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;McuModeSettingConf&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;McuPeripheral&lt;/STRONG&gt; tab, where all peripheral clocks are listed.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1733997926882.png" style="width: 829px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315598iD3A41046ADEF70C0/image-dimensions/829x676?v=v2" width="829" height="676" role="button" title="dragostoma_0-1733997926882.png" alt="dragostoma_0-1733997926882.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe the eMIOS instance you are using does not have the related clock enabled. In the first phase, try to follow existing models configured to work using ICU, which are delivered with the toolbox. If you still cannot get your application to work, you can attach the archive with the model and the related configuration to try to help you solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 10:07:25 GMT</pubDate>
    <dc:creator>dragostoma</dc:creator>
    <dc:date>2024-12-12T10:07:25Z</dc:date>
    <item>
      <title>Application Software containing ICU and CAN, is get stuck into Hardfault for S32k344</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2007039#M9835</link>
      <description>&lt;P&gt;I have application software containing the CAN, ICU, DIO, PWM out,&amp;nbsp; configuration. Here the Can Rx is on interrupt and ICU also have interrupt.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is, as we include the ICU configuration in application the application is stuck in Hard-Fault, when i am sending any CAN message. As we remove the ICU configuration the application works fine. I not able to find any reason for this.&lt;/P&gt;&lt;P&gt;Someone pls help me. Does the interrupt priority create this type of issue?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 12:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2007039#M9835</guid>
      <dc:creator>RushikeshK_DC</dc:creator>
      <dc:date>2024-12-04T12:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Application Software containing ICU and CAN, is get stuck into Hardfault for S32k344</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2012772#M9849</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/235647"&gt;@RushikeshK_DC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In general, hardfaults are caused by the lack of enabling the clocks required by each component. This is done in the &lt;STRONG&gt;Mcu&lt;/STRONG&gt; tab -&amp;gt; &lt;STRONG&gt;McuModuleConfiguration&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;McuModeSettingConf&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;McuPeripheral&lt;/STRONG&gt; tab, where all peripheral clocks are listed.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1733997926882.png" style="width: 829px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315598iD3A41046ADEF70C0/image-dimensions/829x676?v=v2" width="829" height="676" role="button" title="dragostoma_0-1733997926882.png" alt="dragostoma_0-1733997926882.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe the eMIOS instance you are using does not have the related clock enabled. In the first phase, try to follow existing models configured to work using ICU, which are delivered with the toolbox. If you still cannot get your application to work, you can attach the archive with the model and the related configuration to try to help you solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 10:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2012772#M9849</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-12-12T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Application Software containing ICU and CAN, is get stuck into Hardfault for S32k344</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2013565#M9855</link>
      <description>thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt; for your replay,&lt;BR /&gt;but in my case all the required clocks are enable and if the ICU test independently works fine on interrupt but when it is integrate with application, application get stops when some message is get transmitted over can. I can't share the application but i can share the mex file if it is ok for you.&lt;BR /&gt;&lt;BR /&gt;thank you!</description>
      <pubDate>Fri, 13 Dec 2024 11:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Application-Software-containing-ICU-and-CAN-is-get-stuck-into/m-p/2013565#M9855</guid>
      <dc:creator>RushikeshK_DC</dc:creator>
      <dc:date>2024-12-13T11:14:43Z</dc:date>
    </item>
  </channel>
</rss>

