<?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>LPC Microcontrollers中的主题 Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548027#M13582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your rapid replies.&lt;/P&gt;&lt;P&gt;I have attached my setup (and my main where I do the actual testing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I am able to write 48 words and fails at the 49th word.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 08:41:13 GMT</pubDate>
    <dc:creator>moller</dc:creator>
    <dc:date>2016-07-08T08:41:13Z</dc:date>
    <item>
      <title>LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548021#M13576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the AS4C2M32SA-6TIN SDRAM to work with my LPC4337. I am not experienced with external memory.&lt;/P&gt;&lt;P&gt;I am able to write data to the first 32 addresses but the 33rd fails. I think the timings must be okay but something in my configuration is off. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently it is setup as: 2Mx32, 4BANKS, 11ROWS, 8COLS. Can someone verify this is the correct setup for this SDRAM?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, any ideas where I am failing to be able to access the whole 64 MB?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 09:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548021#M13576</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-07T09:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548022#M13577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your configuration is correct: 4 banks, 11 Rows, 8 columns&lt;/P&gt;&lt;P&gt;As far as I can see this SDRAM can be configured the same way as the SDRAM which is on the LPC1800/LPC4300 board from Keil (MCB1857/MCB4357). This is one of our reference boards in the LPCOpen package, so I would like to refer you to the schematic of this board and also to the configuration in the board layer of the LPCOpen package for the LPC4357.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NXP Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 10:39:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548022#M13577</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2016-07-07T10:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548023#M13578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thank you for the confirmation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found an example I have been following and I have attached my configuration file. If someone could help me identify why I can only write 32 words of data I would be greatful as I want to understand WHY I am having this problem. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sigurd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 11:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548023#M13578</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-07T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548024#M13579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Standard mistake in hardware: wrong connection of address lines&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;connect A0 - A10 from the SDRAM to A0 - A10 from the LPC4337&lt;/LI&gt;&lt;LI&gt;connect BA0 from the SDRAM to A13 from the LPC4337&lt;/LI&gt;&lt;LI&gt;connect BA1 from the SDRAM to A14 from the LPC4337&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard mistake in software:&amp;nbsp; wrong initialization. See some hot spots mentioned below&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configure the controoler for the right address mapping:&lt;BR /&gt;LPC_EMC-&amp;gt;DYNAMICCONFIG0 = 0x5300;&amp;nbsp; // BRC mapping&lt;BR /&gt;or&lt;BR /&gt;LPC_EMC-&amp;gt;DYNAMICCONFIG0 = 0x4300;&amp;nbsp; // RBC mapping&lt;/LI&gt;&lt;LI&gt;init all timing registers&lt;/LI&gt;&lt;LI&gt;Write to the SDRAM mode register:&lt;BR /&gt;/* Mode register: Burst Length: 4, Burst Type: Sequential, CAS Latency: 3&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;WR_MODE(((3 &amp;lt;&amp;lt; 4) | 2) &amp;lt;&amp;lt; 12);&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;At the end of the init function the buffers must be enabled:&lt;BR /&gt;LPC_EMC-&amp;gt;DYNAMICCONFIG0&amp;nbsp;&amp;nbsp; |= (1 &amp;lt;&amp;lt; 19);&amp;nbsp;&amp;nbsp; /* Enable buffer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; */&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 13:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548024#M13579</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2016-07-07T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548025#M13580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My address lines are correct.&lt;/P&gt;&lt;P&gt;I did not have the BRC/RBC address mappings but neither of them makes a huge difference.&lt;/P&gt;&lt;P&gt;Mode is already set to burst length 4, sequential with a CL of 3.&lt;/P&gt;&lt;P&gt;Only my static buffer was enabled before but enabling the dynamic buffer does not make a huge difference either. I still get errors when I read from the 33rd word to validate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 07:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548025#M13580</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-08T07:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548026#M13581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you attach your init function for the static &amp;amp; dynamic memory interface, then I will have a look.&lt;/P&gt;&lt;P&gt;Also interesting would be the EMC frequency (with 1:2 clock divider or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;NXP Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 08:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548026#M13581</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2016-07-08T08:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548027#M13582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your rapid replies.&lt;/P&gt;&lt;P&gt;I have attached my setup (and my main where I do the actual testing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I am able to write 48 words and fails at the 49th word.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 08:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548027#M13582</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-08T08:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4337 with AS4C2M32SA-6TIN 64MB SDRAM</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548028#M13583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And here is another main.c attached for testing which is the more correct one I guess (testing with 8-bit and 16-bit values)&lt;/P&gt;&lt;P&gt;I really want this to work so I hope someone is able to tell me where I am making huge mistakes and point them out.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 09:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4337-with-AS4C2M32SA-6TIN-64MB-SDRAM/m-p/548028#M13583</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-11T09:37:50Z</dc:date>
    </item>
  </channel>
</rss>

