<?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: Problems with SPD/eMcem_Init() in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2247763#M54779</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;, sorry for the delay to respond, I tried for a few days to work with RTD 6.0.0, but to avoid work, with errors that were happening, I decided to download and install RTD 4.0.0, and eMcem worked perfectly, thank you very much for your help.&lt;/P&gt;&lt;P&gt;Now I have another doubt, I’m using the BIST for self-test, and I’m using the NXP’s own example - SPD_Demo as support, but after calling Bist_Run(BIST_SAFETYBOOT_CFG); the micro resets, as expected, but when it returns , it needs to return with the reasonReset == MCU_ST_DONE_RESET flag, but it always returns as MCU_POWER_ON_RESET, so the behavior is always call Bist_Run(BIST_SAFETYBOOT_CFG); and reset.&lt;BR /&gt;&lt;BR /&gt;Here are some prints of my settings:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_0-1764020634481.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/367041i4D2FB5F60F5D5782/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_0-1764020634481.png" alt="brunoGT88_0-1764020634481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do I need to configure any peripherals in the RTD,&amp;nbsp; MCAL or in the SDP to work?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 21:45:07 GMT</pubDate>
    <dc:creator>brunoGT88</dc:creator>
    <dc:date>2025-11-24T21:45:07Z</dc:date>
    <item>
      <title>Problems with SPD/eMcem_Init()</title>
      <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2206074#M54543</link>
      <description>&lt;P&gt;i'm using MR-CANHUBK344, RTD 6.0.0 and SPD 1.0.5, when I call eMcem_Init(&amp;amp;eMcem_Config_0), within the function eMcem_Init in line:&lt;BR /&gt;/* Validate state */&lt;BR /&gt;if( (Std_ReturnType)E_OK == eMcem_CheckState( EMCEM_INIT_ID ) )&lt;/P&gt;&lt;P&gt;within the function eMcem_CheckState in line:&lt;/P&gt;&lt;P&gt;if( EMCEM_S_LOCKED == eMcem_DriverState )&lt;/P&gt;&lt;P&gt;the program goes to &lt;SPAN&gt;MemManage_Handler&lt;/SPAN&gt;, I don’t know how to solve it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My int main(void)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_1-1763382617999.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365905i7568D66654C1F38F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_1-1763382617999.png" alt="brunoGT88_1-1763382617999.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Std_ReturnType eMcem_Init( const eMcem_ConfigType *pConfigPtr )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_2-1763382649977.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365906iD4E023ACE11E766D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_2-1763382649977.png" alt="brunoGT88_2-1763382649977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;static Std_ReturnType eMcem_CheckState( uint8 u8FuncId )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_3-1763382675752.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365907i3048D71B52719E6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_3-1763382675752.png" alt="brunoGT88_3-1763382675752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;void MemManage_Handler(void)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_4-1763382703983.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365908iF2745A925F724F1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_4-1763382703983.png" alt="brunoGT88_4-1763382703983.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 12:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2206074#M54543</guid>
      <dc:creator>brunoGT88</dc:creator>
      <dc:date>2025-11-17T12:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SPD/eMcem_Init()</title>
      <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2206227#M54551</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/256974"&gt;@brunoGT88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;According to the SPD 1.0.5 release notes, the drivers are compatible only with RTD 4.0.0 and RTD 5.0.0.&lt;BR /&gt;Therefore, using RTD 6.0.0 may lead to compatibility issues.&lt;/P&gt;
&lt;P&gt;If you encounter a MemManage fault, it is most likely related to MPU (Memory Protection Unit) configuration.&lt;BR /&gt;Try the following steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Disable the MPU in the startup code (&lt;CODE&gt;system.c&lt;/CODE&gt;), or&lt;/LI&gt;
&lt;LI&gt;Remove the &lt;CODE&gt;MPU_ENABLE&lt;/CODE&gt; definition from the preprocessor settings.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1763409256466.png" style="width: 526px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/365944i25CD62CBADCB5C3A/image-dimensions/526x275?v=v2" width="526" height="275" role="button" title="danielmartynek_0-1763409256466.png" alt="danielmartynek_0-1763409256466.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Which MemManage fault is reported in the Configurable Fault Status Register (CFSR)?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register?lang=en#Cihgghei" target="_blank"&gt;https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/System-control-block/Configurable-Fault-Status-Register?lang=en#Cihgghei&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Where is eMcem_DriverState located in memory?&lt;/P&gt;
&lt;P&gt;What are the attributes of the MPU region that contains it?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 19:59:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2206227#M54551</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-11-17T19:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SPD/eMcem_Init()</title>
      <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2247763#M54779</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160001"&gt;@danielmartynek&lt;/a&gt;&amp;nbsp;, sorry for the delay to respond, I tried for a few days to work with RTD 6.0.0, but to avoid work, with errors that were happening, I decided to download and install RTD 4.0.0, and eMcem worked perfectly, thank you very much for your help.&lt;/P&gt;&lt;P&gt;Now I have another doubt, I’m using the BIST for self-test, and I’m using the NXP’s own example - SPD_Demo as support, but after calling Bist_Run(BIST_SAFETYBOOT_CFG); the micro resets, as expected, but when it returns , it needs to return with the reasonReset == MCU_ST_DONE_RESET flag, but it always returns as MCU_POWER_ON_RESET, so the behavior is always call Bist_Run(BIST_SAFETYBOOT_CFG); and reset.&lt;BR /&gt;&lt;BR /&gt;Here are some prints of my settings:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="brunoGT88_0-1764020634481.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/367041i4D2FB5F60F5D5782/image-size/medium?v=v2&amp;amp;px=400" role="button" title="brunoGT88_0-1764020634481.png" alt="brunoGT88_0-1764020634481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do I need to configure any peripherals in the RTD,&amp;nbsp; MCAL or in the SDP to work?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 21:45:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2247763#M54779</guid>
      <dc:creator>brunoGT88</dc:creator>
      <dc:date>2025-11-24T21:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SPD/eMcem_Init()</title>
      <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2248152#M54794</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/256974"&gt;@brunoGT88&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please create a new thread whenever the follow-up is unrelated to the original issue. This helps keep the discussion organized and clear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2248152#M54794</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-11-25T08:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with SPD/eMcem_Init()</title>
      <link>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2248167#M54795</link>
      <description>&lt;P&gt;Ok, Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 08:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-with-SPD-eMcem-Init/m-p/2248167#M54795</guid>
      <dc:creator>brunoGT88</dc:creator>
      <dc:date>2025-11-25T08:24:42Z</dc:date>
    </item>
  </channel>
</rss>

