<?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 RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299211#M36069</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I've had a look at some SDK examples i downloaded some time ago, and found out that SEMC_SDRAMCR2 value was set to 0x00010920 which decodes to very small Active to Active SDRAM delay which is out of spec of SDRAM datasheet used in the board:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* #1.106, command: write_value, address: SEMC_SDRAMCR2, value: 0x10920, size: 4 */
0x40, 0x2F, 0x00, 0x48, 0x00, 0x01, 0x09, 0x20,&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Is this 'acceptable' overclocking or just a mistake nobody noticed for long time somehow?(i had copied this to use with other board which has similar SDRAM chip by other vendor but it even passed the tests despite this too small ACT2ACT value btw so i'm really curious about this configuration value)&lt;BR /&gt;&lt;BR /&gt;By my calculation, f.e. for 60ns delay (as per datasheet) ACT2ACT bits should be set to 0x07 for 133Mhz chip operation (giving 8 cycles 7.5 ns each)&lt;BR /&gt;&lt;BR /&gt;I really want to know is this an error in SDK examples or some errata case in RT1062 Reference Manual&lt;BR /&gt;&lt;BR /&gt;Thanks is advance!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jan 2026 11:31:24 GMT</pubDate>
    <dc:creator>Pencioner</dc:creator>
    <dc:date>2026-01-23T11:31:24Z</dc:date>
    <item>
      <title>RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299211#M36069</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;I've had a look at some SDK examples i downloaded some time ago, and found out that SEMC_SDRAMCR2 value was set to 0x00010920 which decodes to very small Active to Active SDRAM delay which is out of spec of SDRAM datasheet used in the board:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* #1.106, command: write_value, address: SEMC_SDRAMCR2, value: 0x10920, size: 4 */
0x40, 0x2F, 0x00, 0x48, 0x00, 0x01, 0x09, 0x20,&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Is this 'acceptable' overclocking or just a mistake nobody noticed for long time somehow?(i had copied this to use with other board which has similar SDRAM chip by other vendor but it even passed the tests despite this too small ACT2ACT value btw so i'm really curious about this configuration value)&lt;BR /&gt;&lt;BR /&gt;By my calculation, f.e. for 60ns delay (as per datasheet) ACT2ACT bits should be set to 0x07 for 133Mhz chip operation (giving 8 cycles 7.5 ns each)&lt;BR /&gt;&lt;BR /&gt;I really want to know is this an error in SDK examples or some errata case in RT1062 Reference Manual&lt;BR /&gt;&lt;BR /&gt;Thanks is advance!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 11:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299211#M36069</guid>
      <dc:creator>Pencioner</dc:creator>
      <dc:date>2026-01-23T11:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299343#M36071</link>
      <description>&lt;P&gt;Okay i can see that maybe this is a confusion, like, i have taken the Ref/Active to Ref/Active though, not Active(a) to Active(b) (see screenshot from datasheet), so maybe this is all right. Would still like to have this confirmed &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 15:40:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299343#M36071</guid>
      <dc:creator>Pencioner</dc:creator>
      <dc:date>2026-01-23T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299382#M36073</link>
      <description>&lt;P&gt;Sorry for "speaking with myself" (second answer on own message), but together with some examples which has DCD data setting ACT2ACT to 2 clocks (as in original post) i also found that some examples which use the&amp;nbsp;SEMC_ConfigureSDRAM() call, populate the&amp;nbsp;semc_sdram_config_t structure with the value of 60ns... and as it has both variants of interpretation in the examples, the answer is much desired, because different examples in SDK are contradicting each other. Of course, leaving higher value is safest but this drops performance of memories, nobody wants it.&lt;BR /&gt;&lt;BR /&gt;F.e.:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nxp/SDK_2_16_100_MIMXRT1062xxxxB/boards/evkbmimxrt1060/driver_examples/semc/sdram/semc_sdram.c:    sdramconfig.tAct2Act_Ns            = 60;
nxp/SDK_2_16_100_MIMXRT1062xxxxB/devices/MIMXRT1062/drivers/fsl_semc.c:    timing |= SEMC_SDRAMCR2_ACT2ACT(SEMC_ConvertTiming(config-&amp;gt;tAct2Act_Ns, clkSrc_Hz)) | SEMC_SDRAMCR2_ITO(idle);
nxp/SDK_2_16_100_MIMXRT1062xxxxB/devices/MIMXRT1062/drivers/fsl_semc.h:    uint8_t tAct2Act_Ns;                          /*!&amp;lt; Active to active wait time in unit of nanosecond. */&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 17:02:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299382#M36073</guid>
      <dc:creator>Pencioner</dc:creator>
      <dc:date>2026-01-23T17:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299510#M36077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245221"&gt;@Pencioner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you please confirm if I am understanding correctly your main inquiry? From your previous comments, I understood a concern about the very small Active to Active SDRAM delay. However, you also found that this delay is different in different SDK examples. Where exactly do you see these differences?&lt;/P&gt;
&lt;P&gt;I can't assure how the design team was designing these examples, but as you mention, incrementing the delay is safest, but not fastest. It is likely that a weighing process was considered to achieve a compromise between speed and reliability, and that is what they arrived to.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 23:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299510#M36077</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2026-01-23T23:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299825#M36078</link>
      <description>&lt;P&gt;Hi Edwin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll sum up because yes with my own comments over the post, it became a little bit messy.&lt;/P&gt;&lt;P&gt;So, SDK examples for RT1062 EVK board specify SDRAM timing in two places:&lt;BR /&gt;1) DCD, if you define some variables, the build script will include DCD into the image. And, by the way, i used those slightly modified DCD values in my SDRAM initialization, including the ACT2ACT specified as 2 (CR2 value 0x01090A) and it passed memory tests with a bunch of static and LFSR patterns, so i believe this value is correct (and in W9825G6JB datasheet there is a timing called Active(a) to Active(b) which is 2 tCK, as opposed to Ref/Active to Ref/Active time which is 60ns)&lt;BR /&gt;2) in the semc_sdram.c file where it fills up the semc_sdram_config_t struct, and calls an SDK function, but there they set a tAct2Act_Ns member to 60 so then it calculates the ACT2ACT as for 60ns which is higher like 5 times or so. And now i believe this is a mistake, which comes from slightly confusing description in Winbond datasheet&lt;BR /&gt;&lt;BR /&gt;And while of course safe values is good so maybe 60ns which translates to 10 tCK clocks is OK for examples but this effectively kills performance, so i'd rather set the value which is correct for the chip&lt;BR /&gt;&lt;BR /&gt;I assume as the memory of whole 32Mbytes of SDRAM pass 64 complex pattern tests using the SDRAMCR2 value of 0x01090A, then 60ns as in semc_sdram.c is wrong and 2 clocks setting as in DCD is right. But i'd like you to have a look and maybe fix the SDK examples (or, if you can confirm that DCD value iw wrong, then fix the dcd.c files in examples)&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jan 2026 12:32:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2299825#M36078</guid>
      <dc:creator>Pencioner</dc:creator>
      <dc:date>2026-01-24T12:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302437#M36100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245221"&gt;@Pencioner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for clearing things up!&lt;/P&gt;
&lt;P&gt;I understand your concerns. I will pass them on to the SDK, since it makes sense that there could've been a misunderstanding between the "&lt;SPAN&gt;Active(a) to Active(b) which is 2 tCK" and the "Ref/Active to Ref/Active time which is 60ns".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;That said, it is also likely that the code for the&amp;nbsp;&lt;SPAN&gt;semc example&amp;nbsp;&lt;/SPAN&gt;was designed with evaluation in mind, not performance. Especially because these values are exemplified in a manner that the developer can easily adjust them to their needs, by just changing the value of "&lt;SPAN&gt;sdramconfig.tAct2Act_Ns&lt;/SPAN&gt;" in BOARD_InitSEMC().&lt;/P&gt;
&lt;P&gt;Either way, thank you for reporting this!&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 20:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302437#M36100</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2026-01-28T20:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302440#M36102</link>
      <description>Thanks! One more tiny thing to add to it - the Reference Manual especially notes that ACT2ACT bits "helps to meet tRRD timing requirement", and of course tRRD is "Active (a) to Active (b)"&lt;BR /&gt;&lt;BR /&gt;Is it OK to mark your answer as accepted solution? Or should I wait for SDK team?</description>
      <pubDate>Wed, 28 Jan 2026 21:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302440#M36102</guid>
      <dc:creator>Pencioner</dc:creator>
      <dc:date>2026-01-28T21:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: RT1060 SDRAMCR2 configuration in DCD within SDK examples, seems to not be right</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302447#M36103</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245221"&gt;@Pencioner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Got it, tiny but very relevant detail!&lt;/P&gt;
&lt;P&gt;If you don't have any more inquiries or suggestions, I invite you to mark the case as solved. It is quite unlikely that a revision of the SDK that implements this suggestion is released in the near future, since each revision undergoes a series of validations and tests that require time.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 21:35:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1060-SDRAMCR2-configuration-in-DCD-within-SDK-examples-seems/m-p/2302447#M36103</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2026-01-28T21:35:40Z</dc:date>
    </item>
  </channel>
</rss>

