<?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: LPC54608 SDRAM issue in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064336#M41101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carsten, The&amp;nbsp;SYSCON-&amp;gt;EMCDLYCTRL register is already set as you suggested. See line 20 of my SDRAM initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2020 10:18:02 GMT</pubDate>
    <dc:creator>gschelotto</dc:creator>
    <dc:date>2020-06-08T10:18:02Z</dc:date>
    <item>
      <title>LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064332#M41097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've designed a custom board with LPC54608J512BD208 and IS42S16160J-7TLI following the&amp;nbsp;OM13098 schematics (RevF) as a reference. Here's my current SDRAM connection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="sdram.png"&gt;&lt;IMG alt="sdram.png" src="https://community.nxp.com/t5/image/serverpage/image-id/112153iD3F9DC5BCDCE3EF1/image-size/large?v=v2&amp;amp;px=999" title="sdram.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Everything goes well with the board... except the SDRAM test. I've run the lpcxpresso54608_emc_sdram example provided by the SDK (v2.7.0) and the test fails at line 24 of the next of SDRAM_AddressBusCheck function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;status_t &lt;SPAN class="token function"&gt;SDRAM_AddressBusCheck&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;volatile&lt;/SPAN&gt; uint32_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;address&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; uint32_t bytes&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 uint32_t pattern &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x55555555&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 uint32_t size &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; bytes &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 uint32_t offset&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 uint32_t checkOffset&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;/* write the pattern to the power-of-two address. */&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;offset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; size&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;offset&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pattern&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
 address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;pattern&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;/* Read and check. */&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;offset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; size&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;offset&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; pattern&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; kStatus_Fail&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;pattern&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; kStatus_Fail&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;/* Change the data to the revert one address each time
 * and check there is no effect to other address. */&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;offset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; size&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; offset &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;offset&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;pattern&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;checkOffset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; checkOffset &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; size&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; checkOffset &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;checkOffset &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; offset&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;checkOffset&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; pattern&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; kStatus_Fail&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
 address&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;offset&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; pattern&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
 &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; kStatus_Success&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, address[0] =&amp;nbsp;0xaa2aaa2a so it does not match with the expected result (0x55555555). Previous loop (line 16) is terminated successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand, here's is the&amp;nbsp;IS42S16160J-7TLI SDRAM initialization&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;uint32_t dwtemp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; dwtemp&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 uint32_t emcFreq&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 emc_basic_config_t basicConfig&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 emcFreq &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;CLOCK_GetEmcClkFreq&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;assert&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;emcFreq &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Check the clock of emc&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;// Basic configuration.&lt;/SPAN&gt;
 basicConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;endian &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; kEMC_LittleEndian&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 basicConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fbClkSrc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; kEMC_IntloopbackEmcclk&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;// EMC Clock = CPU FREQ/2 here can fit CPU freq from 12M ~ 180M.&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;// If you change the divide to 0 and EMC clock is larger than 100M&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;// please take refer to emc.dox to adjust EMC clock delay.&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;//&lt;/SPAN&gt;

 basicConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;emcClkDiv &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;EMC_Init&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;EMC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;basicConfig&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;CONTROL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// EMC controller active&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;CONFIG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// EMC configuration register to 0 according to the DATASHEET&lt;/SPAN&gt;
 SYSCON&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;EMCDLYCTRL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00001010&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;// EMC Memory map selection: 4M x 16bits x 4 banks (banks = 4; row = 13; column = 9):&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMIC&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DYNAMICCONFIG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00001680&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;// EMC Delays configuration selection&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMIC&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DYNAMICRASCAS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000202&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// 2 RAS, 2 CAS latency&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICREADCONFIG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Command delayed strategy, using EMCCLKDELAY&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICRP &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 2 clock cycles - Precharge to activate delay min 20nS --&amp;gt; 2 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICRAS &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000002&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 3 clock cycles - Activate to precharge delay min 45ns --&amp;gt; 3 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICSREX &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000004&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 5 clock cycles - SelfRegister exit time delay min 70nS --&amp;gt; 5 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICAPR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000002&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 3 clock cycles //??????????&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICDAL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000004&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 0 ) -&amp;gt; 3 clock cycles - Data-in to activate delay 3.2 clocks at rounded to 4&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICWR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 2 clock cycles - Write recovery time 2 clock cycles&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICRC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000003&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 4 clock cycles - Active to active command period delay min 54ns --&amp;gt; 3.2 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICRFC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000003&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 4 clock cycles - Autorefresh to active comand period delay 54ns --&amp;gt; 3.2 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICXSR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000003&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 4 clock cycles - Exit self-refresh to active mode delay min 60ns --&amp;gt; 3.6 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICRRD &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 1 clock cycles - Activate A to activate B delay 14nS --&amp;gt; 1 clock at 60Mhz&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICMRD &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// ( n + 1 ) -&amp;gt; 2 clock cycles - Mode register to any command delay 2 clock cycles&lt;/SPAN&gt;

 &lt;SPAN class="comment token"&gt;// SDRAM initialization&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SDK_DelayAtLeastUs&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;// wait 100ms to have the supply stable&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICCONTROL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000183&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Issue NOP command&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SDK_DelayAtLeastUs&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;// Wait for some time to stabilization&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICCONTROL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000103&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Issue PALL command to precharge the SDRAM&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICREFRESH &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000001&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Autorefresh must be as short as possible to precharge quickly the SDRAM !!!!!OJO habia 2&lt;/SPAN&gt;
 &lt;SPAN class="token function"&gt;SDK_DelayAtLeastUs&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;// Wait for autorefresh command to execute at least two times&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICREFRESH &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x0000003A&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;//Configure the right autorefresh cycle to th SDRAM&lt;/SPAN&gt;

 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICCONTROL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000083&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Mode command for the SDRAM to configure the mode of operation&lt;/SPAN&gt;
 dwtemp &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;volatile&lt;/SPAN&gt; uint32_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0xA0000000&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x23&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Force a command with the command in the address contents 8 burst, 2 CAS latency&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMICCONTROL &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00000000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Normal command to SDRAM to operate&lt;/SPAN&gt;
 EMC&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;DYNAMIC&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;DYNAMICCONFIG &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0x00081680&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// Enable the buffers&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could anyone help me with this issue? I also attach the mcuxpresso ide project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064332#M41097</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2020-11-02T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064333#M41098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gaston,&lt;/P&gt;&lt;P&gt;From your description, I see that you use the similar SDRAM chip as the that of LPC54608 evaluation board and the example code in SDK package. I think the code is okay, because most of reading data are correct.&lt;/P&gt;&lt;P&gt;Regarding the issue that you write address[0]=0xaaaaaaaa, but you read as 0xaa2aaa2a, obviously, the D7 is read as 0 which should have been 1. I think it is a hardware issue, for high speed SDRAM access, you have to consider the signal integrity, in other words, 4 layers board, all data bus pins should connect to a serial resistor which locates as close as possible to the SDRAM data bus. BTW, if you decrease the SDRAM clock frequency, what is the result?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 06:32:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064333#M41098</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-06-08T06:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064334#M41099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gaston,&lt;/P&gt;&lt;P&gt;in all my designs with 54608, 54628 and SDRAM (and also on the NXP eval board!) I need to add:&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;EMCDLYCTRL = 0x1010; // Handles EMC clock=90 MHz !!!&lt;/P&gt;&lt;P&gt;to get the SDRAM to work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 06:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064334#M41099</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2020-06-08T06:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064335#M41100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun, I'm not sure is a Harware issue.The design includes a 4-layer PCB (one internal layer as solid GND) and the distribution is close enough (I hope) with the 22R resistors connected to the data bus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="sdram2.png"&gt;&lt;IMG alt="sdram2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/112204i10DBAD1C2F8835E1/image-size/large?v=v2&amp;amp;px=999" title="sdram2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed the sdram test fails at the mentioned line. However if I write (outside from the test routine) ~0x55555555 at 0xA0000000 and read back from the same address I get 0xAAAAAAAA as expected.&lt;/P&gt;&lt;P&gt;In fact, there is no problem if I write/read back a 32-bit word to/from any SDRAM address in this way:&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sdram&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x55555555&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    readData &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sdram&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;Why can't I pass the full test?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It's really puzzled me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tested it with lower EMC clks for example:&lt;/P&gt;&lt;P&gt;basicConfig.emcClkDiv = 1, 2, 3, 4, 5 and even 6 without success...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064335#M41100</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2020-11-02T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064336#M41101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carsten, The&amp;nbsp;SYSCON-&amp;gt;EMCDLYCTRL register is already set as you suggested. See line 20 of my SDRAM initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064336#M41101</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2020-06-08T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064337#M41102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry! Didn't see that one!&lt;/P&gt;&lt;P&gt;Have you tried with even more conservative values in this register ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:22:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064337#M41102</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2020-06-08T10:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064338#M41103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More conservative values? Could you provide any example?&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:29:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064338#M41103</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2020-06-08T10:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064339#M41104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Higher values for CMD_DELAY and FBCLK_DELAY ?&lt;/P&gt;&lt;P&gt;I use 0x1010 on 54608 running at 180 MHz and EMC at 90 MHz. I use the same value on projects with the 54628 running at 200 MHz and EMC at 100 MHz. This does not mean that it is a "universal value" that works for all. I could also be something else with the design/setup.&lt;/P&gt;&lt;P&gt;Have you tried all kinds of bit patterns to see if they work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112206iA7BC4F0E2BAF5D65/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064339#M41104</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2020-06-08T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064340#M41105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gaston,&lt;/P&gt;&lt;P&gt;pls try to adjust the setting of the EMC clock delay control register and check if you get improvement as Garsten said.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 03:39:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064340#M41105</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-06-10T03:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54608 SDRAM issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064341#M41106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class="" title=""&gt;At the end I have come to the conclusion that the PCB design (routing, stack-up) is not very suitable for the required SDRAM speeds.&lt;/SPAN&gt; &lt;SPAN title=""&gt;I will have to redo the design prioritizing this point.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;Xiangjun &amp;amp; Carsten, thank you both for the given support.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN title=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;BR /&gt;gaston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2020 07:05:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54608-SDRAM-issue/m-p/1064341#M41106</guid>
      <dc:creator>gschelotto</dc:creator>
      <dc:date>2020-07-20T07:05:26Z</dc:date>
    </item>
  </channel>
</rss>

