<?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のトピックHomemade config to SDRAM, Wait states and READ strategy. Need advice.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Homemade-config-to-SDRAM-Wait-states-and-READ-strategy-Need/m-p/588372#M21806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;I have a LPC4337 and I want to use the AS4C2M32SA 64MB SDRAM on this costum PCB. All connections are correct.&lt;/P&gt;&lt;P&gt;I tried to use some examples with various configurations but now I wanted to make my own setup of the EMC and SDRAM.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By using the UM10503 manual I have made a EMC and SDRAM config function. It will compile but I am sure that I have misunderstood a few concepts and I hope someone is willing to help me out a little bit:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On page 622 in the manual it states:&lt;/P&gt;&lt;P&gt;"2. When the SDRAM is in the set mode state, issue an SDRAM read from an address&lt;/P&gt;&lt;P&gt;specific to the selected mode and the SDRAM memory organization."&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have calculated the address to be 0x2803200 (MODE=0x32 and OFFSET to be 12). HOW do i use this infomation&lt;/P&gt;&lt;P&gt;and when is it to be used? (before or after setting the SDRAM timings?).&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly I need to delay by one "wait state" to acess those timing registers. Right now I have using empty for-loops&lt;/P&gt;&lt;P&gt;as delay but is this the prober way to do this?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my config to this post.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337950"&gt;MyEMC.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 14:15:20 GMT</pubDate>
    <dc:creator>moller</dc:creator>
    <dc:date>2016-07-19T14:15:20Z</dc:date>
    <item>
      <title>Homemade config to SDRAM, Wait states and READ strategy. Need advice.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Homemade-config-to-SDRAM-Wait-states-and-READ-strategy-Need/m-p/588372#M21806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community!&lt;/P&gt;&lt;P&gt;I have a LPC4337 and I want to use the AS4C2M32SA 64MB SDRAM on this costum PCB. All connections are correct.&lt;/P&gt;&lt;P&gt;I tried to use some examples with various configurations but now I wanted to make my own setup of the EMC and SDRAM.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By using the UM10503 manual I have made a EMC and SDRAM config function. It will compile but I am sure that I have misunderstood a few concepts and I hope someone is willing to help me out a little bit:&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On page 622 in the manual it states:&lt;/P&gt;&lt;P&gt;"2. When the SDRAM is in the set mode state, issue an SDRAM read from an address&lt;/P&gt;&lt;P&gt;specific to the selected mode and the SDRAM memory organization."&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have calculated the address to be 0x2803200 (MODE=0x32 and OFFSET to be 12). HOW do i use this infomation&lt;/P&gt;&lt;P&gt;and when is it to be used? (before or after setting the SDRAM timings?).&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly I need to delay by one "wait state" to acess those timing registers. Right now I have using empty for-loops&lt;/P&gt;&lt;P&gt;as delay but is this the prober way to do this?&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached my config to this post.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337950"&gt;MyEMC.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 14:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Homemade-config-to-SDRAM-Wait-states-and-READ-strategy-Need/m-p/588372#M21806</guid>
      <dc:creator>moller</dc:creator>
      <dc:date>2016-07-19T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Homemade config to SDRAM, Wait states and READ strategy. Need advice.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Homemade-config-to-SDRAM-Wait-states-and-READ-strategy-Need/m-p/588373#M21807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general this topic is covered in various software implementations for the LPC1800/4300, also some app notes are available (mostly valid for LPC1800/4300 as well):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/documents/application_note/AN10935.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1"&gt;http://cache.nxp.com/documents/application_note/AN10935.pdf?fsrch=1&amp;amp;sr=1&amp;amp;pageNum=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the software side I recommend to have a look into the following packages and into the attachment (relevant files only):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpcopen_2_12_keil_iar_hitex_eva_4350.zip"&gt;http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpcopen_2_12_keil_iar_hitex_eva_4350.zip&lt;/A&gt;&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>Wed, 20 Jul 2016 12:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Homemade-config-to-SDRAM-Wait-states-and-READ-strategy-Need/m-p/588373#M21807</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2016-07-20T12:56:10Z</dc:date>
    </item>
  </channel>
</rss>

