<?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: Correct SDRAM settings for LPC54018 and W9864G6KH-6I in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508863#M49900</link>
    <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MCUXpresso SDK has&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;emc_sdram demo code which demonstrates&amp;nbsp;SDRAM usage. The demo code is for SDRAM W9812G6JB6I because this part equipped&amp;nbsp; on NXP EVB board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We don't have same code for W9864G6KH-6I and I don't have this part for test. User needs to check W9864G6KH-6I manual to do necessary revision.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I found one thread, this customer use&amp;nbsp;W9864G6KH-6I as well. Maybe you could refer it as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SDRAM-W9864G6KH-has-problem/m-p/921456" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SDRAM-W9864G6KH-has-problem/m-p/921456&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2022 14:57:33 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2022-08-19T14:57:33Z</dc:date>
    <item>
      <title>Correct SDRAM settings for LPC54018 and W9864G6KH-6I</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508796#M49894</link>
      <description>&lt;P&gt;Is there documentation available that explains these settings so that I can modify them to match the SDRAM part W9864G6KH-6I?&amp;nbsp; Some of them I can match up with the SDRAM datasheet but others are less clear to me.&amp;nbsp; Also for using a new SDRAM component are these defines the only thing that needs to be changed?&amp;nbsp; Or are there other code changes required elsewhere?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;#ifdef W9812G6JB6I&lt;BR /&gt;#define SDRAM_REFRESHPERIOD_NS (64 * 1000000 / 4096) /* 4096 rows/ 64ms */&lt;BR /&gt;#define SDRAM_TRP_NS (20u)&lt;BR /&gt;#define SDRAM_TRAS_NS (42u)&lt;BR /&gt;#define SDRAM_TSREX_NS (72u)&lt;BR /&gt;#define SDRAM_TAPR_NS (18u)&lt;BR /&gt;#define SDRAM_TWRDELT_NS (12u)&lt;BR /&gt;#define SDRAM_TRC_NS (60u)&lt;BR /&gt;#define SDRAM_RFC_NS (60u)&lt;BR /&gt;#define SDRAM_XSR_NS (67u)&lt;BR /&gt;#define SDRAM_RRD_NS (12u)&lt;BR /&gt;#define SDRAM_MRD_NCLK (2u)&lt;BR /&gt;#define SDRAM_RAS_NCLK (2u)&lt;BR /&gt;#define SDRAM_MODEREG_VALUE (0x33u)&lt;BR /&gt;#define SDRAM_DEV_MEMORYMAP (0x09u) /* 128Mbits (8M*16, 4banks, 12 rows, 9 columns)*/&lt;BR /&gt;#endif&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 13:03:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508796#M49894</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-19T13:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Correct SDRAM settings for LPC54018 and W9864G6KH-6I</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508863#M49900</link>
      <description>&lt;P&gt;HI&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MCUXpresso SDK has&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;emc_sdram demo code which demonstrates&amp;nbsp;SDRAM usage. The demo code is for SDRAM W9812G6JB6I because this part equipped&amp;nbsp; on NXP EVB board.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We don't have same code for W9864G6KH-6I and I don't have this part for test. User needs to check W9864G6KH-6I manual to do necessary revision.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I found one thread, this customer use&amp;nbsp;W9864G6KH-6I as well. Maybe you could refer it as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SDRAM-W9864G6KH-has-problem/m-p/921456" target="_blank"&gt;https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-SDRAM-W9864G6KH-has-problem/m-p/921456&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jun Zhang&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 14:57:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508863#M49900</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-08-19T14:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Correct SDRAM settings for LPC54018 and W9864G6KH-6I</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508873#M49901</link>
      <description>&lt;P&gt;Hi, Jun, I did see that thread but unfortunately they do not say which values they used to get their system working.&lt;/P&gt;&lt;P&gt;I am OK with entering the values myself based on the datasheet but it would be helpful to have documentation describing these items so I know I am matching them up correctly with the datasheet.&amp;nbsp; Specifically these items I am not sure how to specify:&lt;/P&gt;&lt;P&gt;#define SDRAM_MODEREG_VALUE&lt;BR /&gt;#define SDRAM_DEV_MEMORYMAP&lt;/P&gt;&lt;P&gt;I think the SDRAM_DEV_MEMORYMAP for my device should be 0x05 but I am not positive on that.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 15:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1508873#M49901</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-19T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Correct SDRAM settings for LPC54018 and W9864G6KH-6I</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1509032#M49913</link>
      <description>&lt;P&gt;I was able to get my system working.&amp;nbsp; Part of my problem involved an incorrect value capacitor placed on the clock line.&amp;nbsp; But I do still believe better documentation for those SDRAM settings would be helpful.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 12:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1509032#M49913</guid>
      <dc:creator>mitchkapa</dc:creator>
      <dc:date>2022-08-20T12:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Correct SDRAM settings for LPC54018 and W9864G6KH-6I</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1513110#M49985</link>
      <description>&lt;P&gt;Hi&amp;nbsp;mitchkapa&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For SDRAM general design, please refer&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/nxp/application-notes/AN12026.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/nxp/application-notes/AN12026.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It includes SDRAM connections and PCB design.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 10:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Correct-SDRAM-settings-for-LPC54018-and-W9864G6KH-6I/m-p/1513110#M49985</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-08-29T10:39:59Z</dc:date>
    </item>
  </channel>
</rss>

