<?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: ECC Sram test in S32K</title>
    <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1498042#M16737</link>
    <description>&lt;P&gt;Here you may find example code:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K14x-SRAM-ECC-Injection/ta-p/1129181" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K14x-SRAM-ECC-Injection/ta-p/1129181&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 13:02:13 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2022-07-29T13:02:13Z</dc:date>
    <item>
      <title>ECC Sram test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1497004#M16704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using S32K11x MCU for my project. I am using ECC reporting for safety mechanism, so I did initializations &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;as follows&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&amp;nbsp; Do you have any idea how i can check this sample function working correctly?&lt;/P&gt;&lt;P&gt;ERM-&amp;gt;SR0 = ERM_SR0_SBC0_MASK | ERM_SR0_NCE0_MASK&lt;/P&gt;&lt;P&gt;ERM-&amp;gt;CR0 = ERM_CR0_ESCIE0_MASK | ERM_CR0_ENCIE0_MASK&lt;/P&gt;&lt;P&gt;EIM-&amp;gt;EICHDn[0].WORD0 = 0x00000000; /* CHKBIT[31-25] remain unmodified */&lt;BR /&gt;EIM-&amp;gt;EICHDn[0].WORD1 = 0x00000003;&lt;/P&gt;&lt;P&gt;EIM-&amp;gt;EICHEN |= EIM_EICHEN_EICH0EN_MASK; /* Error Injection Channel 0 Enable (SRAM_L)*/&lt;BR /&gt;EIM-&amp;gt;EIMCR |= EIM_EIMCR_GEIEN_MASK; /* Global Error Injection Enable */&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 06:11:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1497004#M16704</guid>
      <dc:creator>smt87</dc:creator>
      <dc:date>2022-07-28T06:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Sram test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1498042#M16737</link>
      <description>&lt;P&gt;Here you may find example code:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K14x-SRAM-ECC-Injection/ta-p/1129181" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K14x-SRAM-ECC-Injection/ta-p/1129181&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 13:02:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1498042#M16737</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-07-29T13:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Sram test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1498554#M16762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I used this code. But I am using S32K116 and after the following code is run, system is generating error. What is the problem here? What can i do to solve this?&lt;/P&gt;&lt;P&gt;/* ERM_SR */&lt;BR /&gt;ERM-&amp;gt;SR0 |= ERM_SR0_SBC0(1U) | /* w1c SRAM_L Single-Bit Correction flag */&lt;BR /&gt;ERM_SR0_NCE0(1U); /* w1c SRAM_L Non-Correctable Error flag */&lt;/P&gt;&lt;P&gt;/* ERM_CR */&lt;BR /&gt;ERM-&amp;gt;CR0 |= ERM_CR0_ESCIE0(1U) | /* Enable SRAM_L Single Correction Interrupt Notification */&lt;BR /&gt;ERM_CR0_ENCIE0(1U); /* Enable SRAM_L Non-Correctable Interrupt Notification */&lt;/P&gt;&lt;P&gt;/* Write the EICHDn_WORD registers before executing the two-stage-enable mechanism */&lt;BR /&gt;/* A write to any of this field clears the corresponding EICHEN[EICHnEN] enable bits */&lt;/P&gt;&lt;P&gt;/* SRAM_L */&lt;BR /&gt;EIM-&amp;gt;EICHDn[0].WORD0 = 0x00000000; /* CHKBIT[31-25] remain unmodified */&lt;BR /&gt;EIM-&amp;gt;EICHDn[0].WORD1 = 0x00000003; /* B0_3DATA_MASK[0-1] bits of the read data bus are inverted */&lt;/P&gt;&lt;P&gt;/* enable interrupts at core level */&lt;BR /&gt;Nvic::setPriority(ERM_fault_IRQn, system::ERM_IRQ_PRIO);&lt;BR /&gt;Nvic::enableInterrupt(ERM_fault_IRQn);&lt;/P&gt;&lt;P&gt;EIM-&amp;gt;EICHEN |= EIM_EICHEN_EICH0EN(1U); /* Error Injection Channel 0 Enable (SRAM_L)*/&lt;/P&gt;&lt;P&gt;EIM-&amp;gt;EIMCR |= EIM_EIMCR_GEIEN(1U); /* Global Error Injection Enable */&lt;BR /&gt;(void)EIM-&amp;gt;EIMCR; /* Read-after_write */&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 06:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1498554#M16762</guid>
      <dc:creator>smt87</dc:creator>
      <dc:date>2022-08-01T06:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Sram test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1499322#M16798</link>
      <description>&lt;P&gt;Intention of ECC error injection is to generated error response or what you actually want to achieve?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1499322#M16798</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2022-08-02T07:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: ECC Sram test</title>
      <link>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1499327#M16800</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Actually this code is not wroking. I have one question that are these initialized codes true for S32k116?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ECC-Sram-test/m-p/1499327#M16800</guid>
      <dc:creator>smt87</dc:creator>
      <dc:date>2022-08-02T07:36:57Z</dc:date>
    </item>
  </channel>
</rss>

