<?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: S32k358 eMcem fault injection Issue</title>
    <link>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2363442#M58490</link>
    <description>&lt;P&gt;Hello&amp;nbsp;Konstanty,&lt;/P&gt;
&lt;P&gt;It has to be cleared in FCCU, try this:&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-c"&gt;&lt;CODE&gt;status = eMcem_Fccu_ClearFault( 5 ); // This line will clear STCU2 flag
status = eMcem_ClearFaults( EMCEM_DCM_NCF_5_STCU_NCF );
status = eMcem_ClearFaults( EMCEM_DCM_NCF_5_LMBIST_USER_CF );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;PRE&gt;Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. &lt;BR /&gt;NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.&lt;/PRE&gt;</description>
    <pubDate>Mon, 11 May 2026 13:16:08 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2026-05-11T13:16:08Z</dc:date>
    <item>
      <title>S32k358 eMcem fault injection Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2360006#M58339</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;in our current project im trying to use the eMcem fault injection feature using&amp;nbsp;eMcem_InjectFault(). Right now im only trying to inject a fault for&amp;nbsp;EMCEM_DCM_NCF_5_FAULT_MONITOR0,&amp;nbsp;EMCEM_DCM_NCF_5_FAULT_MONITOR1 &amp;amp;&amp;nbsp;EMCEM_DCM_NCF_5_DBG_ACTIVATION. It seems that the fault injection is working properly. For every single fault injection, i&amp;nbsp;also get the expected handler call.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem, however, is that as soon as I inject even the first error, the system stops working properly. Using eMcem_GetErrors(), I can see that au32Faults[2] = 0xA00 (type eMcem_FaultContainerType).&amp;nbsp;As far as I understand, these seem to be STCU_NCF (Fault 73) and STCU_BIST_USER_CF / LMBIST_USER_CF (Fault 75).&lt;/P&gt;&lt;P&gt;How are these all related?&lt;/P&gt;&lt;P&gt;What steps should be taken to ensure that the system functions properly without errors after fault injection?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code flow:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;eMcem_InjectFault&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;nFaultId&lt;/SPAN&gt;&lt;SPAN&gt;) // inject fault&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;FCCU_ALARM_ISR&lt;/SPAN&gt;&lt;SPAN&gt;() // p&lt;/SPAN&gt;&lt;SPAN&gt;olls FCCU_ALARM_ISR until handler callback sets flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Check if handler has set expected flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;eMcem_ClearFaults&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;nFaultId&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 May 2026 09:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2360006#M58339</guid>
      <dc:creator>Konstanty</dc:creator>
      <dc:date>2026-05-04T09:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32k358 eMcem fault injection Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2360073#M58346</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/138923"&gt;@Konstanty&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;This is expected, refer to the eMCEM User Manual:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1777898064105.png" style="width: 794px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/384265i49AC46100F8860CA/image-dimensions/794x500?v=v2" width="794" height="500" role="button" title="danielmartynek_0-1777898064105.png" alt="danielmartynek_0-1777898064105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 12:34:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2360073#M58346</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-05-04T12:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32k358 eMcem fault injection Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2362501#M58440</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;thank you for your quick response.&amp;nbsp;Unfortunately, that only helps me understand why these errors occur. However, I still don't know how to clear these errors after fault injection.&lt;/P&gt;&lt;P&gt;Clearing individual faults, such as eMcem_ClearFaults(EMCEM_DCM_NCF_5_STCU_NCF), does not seem to have any effect. When I read the faults after clearing them, the same values are still there (&lt;SPAN&gt;au32Faults[2] = 0xA00)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;How can I perform a fault injection in such a way that the system continues to function without any errors afterward?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Konstanty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2026 13:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2362501#M58440</guid>
      <dc:creator>Konstanty</dc:creator>
      <dc:date>2026-05-08T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32k358 eMcem fault injection Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2363442#M58490</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Konstanty,&lt;/P&gt;
&lt;P&gt;It has to be cleared in FCCU, try this:&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-c"&gt;&lt;CODE&gt;status = eMcem_Fccu_ClearFault( 5 ); // This line will clear STCU2 flag
status = eMcem_ClearFaults( EMCEM_DCM_NCF_5_STCU_NCF );
status = eMcem_ClearFaults( EMCEM_DCM_NCF_5_LMBIST_USER_CF );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;PRE&gt;Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. &lt;BR /&gt;NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 May 2026 13:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32k358-eMcem-fault-injection-Issue/m-p/2363442#M58490</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2026-05-11T13:16:08Z</dc:date>
    </item>
  </channel>
</rss>

