<?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 MIMXRT1180-EVK semc_cm33 SDK example Write &amp;amp; Read Compare Failed in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-EVK-semc-cm33-SDK-example-Write-amp-Read-Compare/m-p/2323794#M36261</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;we are currently testing the MIMXRT1180-EVK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, the evkmimxrt1180_semc_cm33 SDK example fails, i.e., it prints:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2026-02-26 um 11.16.34.png" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377901i212BB4CAFA712DE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2026-02-26 um 11.16.34.png" alt="Bildschirmfoto 2026-02-26 um 11.16.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From other posts, I have seen that the init code might use wrong timing information:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;status_t BOARD_InitSEMC(void)
{
    semc_config_t config;
    semc_sdram_config_t sdramconfig;
    uint32_t clockFrq = EXAMPLE_SEMC_CLK_FREQ;

    /* Initializes the MAC configure structure to zero. */
    memset(&amp;amp;config, 0, sizeof(semc_config_t));
    memset(&amp;amp;sdramconfig, 0, sizeof(semc_sdram_config_t));

    /* Initialize SEMC. */
    SEMC_GetDefaultConfig(&amp;amp;config);
    config.dqsMode = kSEMC_Loopbackdqspad; /* For more accurate timing. */
    SEMC_Init(SEMC, &amp;amp;config);

    /* Configure SDRAM. */
    sdramconfig.csxPinMux           = kSEMC_MUXCSX0;
    sdramconfig.address             = 0x80000000;
    sdramconfig.memsize_kbytes      = 32 * 1024;           /* 64MB = 2*32*1024*1KBytes*/
    sdramconfig.portSize            = kSEMC_PortSize16Bit; /*two 16-bit SDRAMs make up 32-bit portsize*/
    sdramconfig.burstLen            = kSEMC_Sdram_BurstLen8;
    sdramconfig.columnAddrBitNum    = kSEMC_SdramColunm_9bit;
    sdramconfig.casLatency          = kSEMC_LatencyThree;
    sdramconfig.tPrecharge2Act_Ns   = 15; /* tRP 15ns */
    sdramconfig.tAct2ReadWrite_Ns   = 15; /* tRCD 15ns */
    sdramconfig.tRefreshRecovery_Ns = 70; /* Use the maximum of the (Trfc , Txsr). */
    sdramconfig.tWriteRecovery_Ns   = 2;  /* tWR 2ns */
    sdramconfig.tCkeOff_Ns =
        42; /* The minimum cycle of SDRAM CLK off state. CKE is off in self refresh at a minimum period tRAS.*/
    sdramconfig.tAct2Prechage_Ns       = 40; /* tRAS 40ns */
    sdramconfig.tSelfRefRecovery_Ns    = 70;
    sdramconfig.tRefresh2Refresh_Ns    = 60;
    sdramconfig.tAct2Act_Ns            = 2;
    sdramconfig.tPrescalePeriod_Ns     = 160 * (1000000000 / clockFrq);
    sdramconfig.refreshPeriod_nsPerRow = 64 * 1000000 / 8192; /* 64ms/8192 */
    sdramconfig.refreshUrgThreshold    = sdramconfig.refreshPeriod_nsPerRow;
    sdramconfig.refreshBurstLen        = 1;
    sdramconfig.delayChain             = 2;

    return SEMC_ConfigureSDRAM(SEMC, kSEMC_SDRAM_CS0, &amp;amp;sdramconfig, clockFrq);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the board is a W9825G6KH-J5. From the data sheet, i do not really see an issue with the parameters.&lt;/P&gt;&lt;P&gt;Any suggestions what could be the reason that the out-of-the-box SDK example fails?&lt;/P&gt;&lt;P&gt;Background is we want to use the SDRAM for FreeRTOS heap, debugging boiling it down that the SDRAM is not correctly initialized / writable, which is confirmed by the SDK example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Reposted in the correct forum; delete the other post)&lt;/P&gt;</description>
    <pubDate>Thu, 26 Feb 2026 13:36:07 GMT</pubDate>
    <dc:creator>SteffenLindner</dc:creator>
    <dc:date>2026-02-26T13:36:07Z</dc:date>
    <item>
      <title>MIMXRT1180-EVK semc_cm33 SDK example Write &amp; Read Compare Failed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-EVK-semc-cm33-SDK-example-Write-amp-Read-Compare/m-p/2323794#M36261</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;we are currently testing the MIMXRT1180-EVK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, the evkmimxrt1180_semc_cm33 SDK example fails, i.e., it prints:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2026-02-26 um 11.16.34.png" style="width: 710px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377901i212BB4CAFA712DE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bildschirmfoto 2026-02-26 um 11.16.34.png" alt="Bildschirmfoto 2026-02-26 um 11.16.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From other posts, I have seen that the init code might use wrong timing information:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;status_t BOARD_InitSEMC(void)
{
    semc_config_t config;
    semc_sdram_config_t sdramconfig;
    uint32_t clockFrq = EXAMPLE_SEMC_CLK_FREQ;

    /* Initializes the MAC configure structure to zero. */
    memset(&amp;amp;config, 0, sizeof(semc_config_t));
    memset(&amp;amp;sdramconfig, 0, sizeof(semc_sdram_config_t));

    /* Initialize SEMC. */
    SEMC_GetDefaultConfig(&amp;amp;config);
    config.dqsMode = kSEMC_Loopbackdqspad; /* For more accurate timing. */
    SEMC_Init(SEMC, &amp;amp;config);

    /* Configure SDRAM. */
    sdramconfig.csxPinMux           = kSEMC_MUXCSX0;
    sdramconfig.address             = 0x80000000;
    sdramconfig.memsize_kbytes      = 32 * 1024;           /* 64MB = 2*32*1024*1KBytes*/
    sdramconfig.portSize            = kSEMC_PortSize16Bit; /*two 16-bit SDRAMs make up 32-bit portsize*/
    sdramconfig.burstLen            = kSEMC_Sdram_BurstLen8;
    sdramconfig.columnAddrBitNum    = kSEMC_SdramColunm_9bit;
    sdramconfig.casLatency          = kSEMC_LatencyThree;
    sdramconfig.tPrecharge2Act_Ns   = 15; /* tRP 15ns */
    sdramconfig.tAct2ReadWrite_Ns   = 15; /* tRCD 15ns */
    sdramconfig.tRefreshRecovery_Ns = 70; /* Use the maximum of the (Trfc , Txsr). */
    sdramconfig.tWriteRecovery_Ns   = 2;  /* tWR 2ns */
    sdramconfig.tCkeOff_Ns =
        42; /* The minimum cycle of SDRAM CLK off state. CKE is off in self refresh at a minimum period tRAS.*/
    sdramconfig.tAct2Prechage_Ns       = 40; /* tRAS 40ns */
    sdramconfig.tSelfRefRecovery_Ns    = 70;
    sdramconfig.tRefresh2Refresh_Ns    = 60;
    sdramconfig.tAct2Act_Ns            = 2;
    sdramconfig.tPrescalePeriod_Ns     = 160 * (1000000000 / clockFrq);
    sdramconfig.refreshPeriod_nsPerRow = 64 * 1000000 / 8192; /* 64ms/8192 */
    sdramconfig.refreshUrgThreshold    = sdramconfig.refreshPeriod_nsPerRow;
    sdramconfig.refreshBurstLen        = 1;
    sdramconfig.delayChain             = 2;

    return SEMC_ConfigureSDRAM(SEMC, kSEMC_SDRAM_CS0, &amp;amp;sdramconfig, clockFrq);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the board is a W9825G6KH-J5. From the data sheet, i do not really see an issue with the parameters.&lt;/P&gt;&lt;P&gt;Any suggestions what could be the reason that the out-of-the-box SDK example fails?&lt;/P&gt;&lt;P&gt;Background is we want to use the SDRAM for FreeRTOS heap, debugging boiling it down that the SDRAM is not correctly initialized / writable, which is confirmed by the SDK example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Reposted in the correct forum; delete the other post)&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2026 13:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-EVK-semc-cm33-SDK-example-Write-amp-Read-Compare/m-p/2323794#M36261</guid>
      <dc:creator>SteffenLindner</dc:creator>
      <dc:date>2026-02-26T13:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1180-EVK semc_cm33 SDK example Write &amp; Read Compare Failed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-EVK-semc-cm33-SDK-example-Write-amp-Read-Compare/m-p/2326074#M36282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/260239"&gt;@SteffenLindner&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reaching out! I am wondering if you have already set up the board properly as shown below, please kindly clarify.&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorKan_Li_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Courier New'; font-size: 10pt; white-space: pre-wrap;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;Board settings&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;============&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;1. Remove R203, R205-R227 resisters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;2. Populate R151-R165, R168-R188 with 0ohm resisters.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;3. Remove resistors R2114, R2115, R2118, R2119, R2122, R2123, R2126, R2127, R2130, R2131, R332, R333, to &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt; disconnect HyperRAM interface.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;4. Populate these resistors with 0ohm resistor, such as R1329, R2594, R2595, R189-R196, R198, R200-R202, R204.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;5. Remove these resistors, such as R2596, R2597, R228-R235, R238, R240, R242, R244, R246, R248, R250, R252.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 08:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1180-EVK-semc-cm33-SDK-example-Write-amp-Read-Compare/m-p/2326074#M36282</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2026-03-04T08:52:12Z</dc:date>
    </item>
  </channel>
</rss>

