<?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: LPC1788 2x SDRAM chips in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518335#M2608</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Dec 04 23:20:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all the user manual is no bloody help at connecting SDRAM at all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Download and read AN10935.pdf from NXP site (search). This is for an ARM9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;device with a slightly different EMC controller but it has much better background.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second on the 1778/1788 you MUST connect A0 to A12 (from the CPU) to A0 to A12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on any and all SDRAM parts (1 or more) [Maybe A0 to A11 or A10 on smaller SDRAM chips,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but up to A12 for the Micron MT48LC16M16 devices]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also you MUST connect A13 cpu to BA0 mem and A14 cpu to BA1 mem. The UM really sucks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;about explaining this -- cost us 500 euro in useless PCB's!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't worry about A0/A1 for 16 bit/32 memory, the cpu takes the address asked for in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a read or write operation and puts the correct signals as required on these hardware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pins. [AN10935 gives a bit of background -- or you can just take it as what you have to do.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now -- data bus width.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can choose to send D0-D15 (and DQM0/1) to one chip and D16-D31 (and DQM2/3)to the other&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and configure your io pins and SDRAM setup for a 32bit wide data bus (and one chip select)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D0-D15 (and DQM0/1) to BOTH chips and have a 16 bit data bus (and two chip selects)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the second case, you can use the same SDRAM Clock (and enable) on both chips or use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the second pair for the other chip. The main difference is that one chip is not being&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;clocked while you access the other and you save a smidgeon of power.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given the EMC CLOCK DELAY, I would sugesst using CK0/CKE0 for both regardless of 16 or 32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bit data bus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, if you opt for the faster 32bit bus, you have to fit both chips up front.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the 16bit bus case, you don't have to fit the second chip unless you want the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extra memory. (Presumeably with a slight change to the SDRAM init code.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's for the hardware PCB connections, obviously, your code to setup will vary a bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;depending which tracking choices you make -- also read the app note about 'Row-Bank-Column'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as opposed to 'Bank-Row-Column'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search this forum (17xx) for SDRAM and EMC for sample code, and other SDRAM issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, the max clock speed for SDRAM is 80Mhz, so if you run the cpu at more than this,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you have to select emc clock as cpu clk / 2. I.e if you run cpu at 120 MHz, the mem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;needs to be set up for a 60 MHz clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps. Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:32:17 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:32:17Z</dc:date>
    <item>
      <title>LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518334#M2607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Imagineme on Tue Dec 04 03:21:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, i have the following&amp;nbsp; idea/question. I`m designing my own development board based on lpc1788 and i want to connect 1 SDRAM chip(MT48LC16M16A2P 256M (16Mx16)) and leave traces and pads on the PCB for connection a second one (the same). My question is the following can i configure them to work in 16 bit&amp;nbsp; manner, because i find same connections in which the 1st memory takes data lines 0:15 and the 2nd 16:31&amp;nbsp; but, this configuration has different Address line in 32-bit wide bus the address lines start from A2 and in 16-bit wide they start form A1.So i`m wondering if i can connect data lines 0-15 to both SDRAM chips&amp;nbsp; and use the separate&amp;nbsp; EMC_DYCS0; EMC_DYCS1 EMC_CKE0 EMC_CKE1 EMC_CLK0 EMC_CLK1 EMC_DQM0 and EMC_DQM1 to access them them in 16 bit manner. Thanks for your time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518334#M2607</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518335#M2608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Dec 04 23:20:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all the user manual is no bloody help at connecting SDRAM at all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Download and read AN10935.pdf from NXP site (search). This is for an ARM9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;device with a slightly different EMC controller but it has much better background.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second on the 1778/1788 you MUST connect A0 to A12 (from the CPU) to A0 to A12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on any and all SDRAM parts (1 or more) [Maybe A0 to A11 or A10 on smaller SDRAM chips,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but up to A12 for the Micron MT48LC16M16 devices]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also you MUST connect A13 cpu to BA0 mem and A14 cpu to BA1 mem. The UM really sucks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;about explaining this -- cost us 500 euro in useless PCB's!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't worry about A0/A1 for 16 bit/32 memory, the cpu takes the address asked for in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a read or write operation and puts the correct signals as required on these hardware&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pins. [AN10935 gives a bit of background -- or you can just take it as what you have to do.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now -- data bus width.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can choose to send D0-D15 (and DQM0/1) to one chip and D16-D31 (and DQM2/3)to the other&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and configure your io pins and SDRAM setup for a 32bit wide data bus (and one chip select)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;D0-D15 (and DQM0/1) to BOTH chips and have a 16 bit data bus (and two chip selects)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the second case, you can use the same SDRAM Clock (and enable) on both chips or use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the second pair for the other chip. The main difference is that one chip is not being&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;clocked while you access the other and you save a smidgeon of power.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given the EMC CLOCK DELAY, I would sugesst using CK0/CKE0 for both regardless of 16 or 32&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bit data bus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, if you opt for the faster 32bit bus, you have to fit both chips up front.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the 16bit bus case, you don't have to fit the second chip unless you want the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extra memory. (Presumeably with a slight change to the SDRAM init code.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's for the hardware PCB connections, obviously, your code to setup will vary a bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;depending which tracking choices you make -- also read the app note about 'Row-Bank-Column'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as opposed to 'Bank-Row-Column'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search this forum (17xx) for SDRAM and EMC for sample code, and other SDRAM issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, the max clock speed for SDRAM is 80Mhz, so if you run the cpu at more than this,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you have to select emc clock as cpu clk / 2. I.e if you run cpu at 120 MHz, the mem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;needs to be set up for a 60 MHz clock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps. Mike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518335#M2608</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518336#M2609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Wed Dec 05 03:15:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's an almost complete run-down on SDRAM connections, so I will only add two minor remarks :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CKEOUTx signals are paired with the DYCSx signals. So if you choose the two chip select option, you must use DYCS0/CKEOUT0 for one device, and DYCS1/CKEOUT1 for the second one. The clock can be common for both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you choose the 32-bit single chip select version, I think you still have the option of using only one device. Software configuration will be different of course, but the hardware connection of the SDRAM device at D0...D15 is the same, whether you have a second device at D16..D31 or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I've edited this post, because originally I referred to a signal of the LPC43xx...)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518336#M2609</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518337#M2610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Wed Dec 05 11:36:53 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the correction Rolf; I hadn't realised that the clock enables were aligned with the dynamic chip selects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Mea culpa)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518337#M2610</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518338#M2611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Imagineme on Thu Dec 06 05:52:58 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the detailed info.U both have been very helpful thanks again best of luck to both of you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518338#M2611</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518339#M2612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by SimonThome on Thu Dec 06 10:58:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would very much like to see a detailed application note from NXP from this family of MCUs for the SDRAM. Detailing various configurations and more importantly their recommended PCB layout and stack-up recommendations starting with 4 layer PCBs, including the LQFP packages!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I feel like I’m designing somewhat blindly here, even though I have used ideas from various other app notes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518339#M2612</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518340#M2613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Imagineme on Fri Dec 07 00:49:36 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have exactly the same feeling, when i was designed a board based on analog devices ADSP-21489&amp;nbsp; there was information about everything u just had to find and read.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518340#M2613</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518341#M2614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MikeSimmonds on Tue Dec 11 00:18:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I Totally agree!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Warning -- this is a bit of a rant against NXP and other chip companies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please ignore/skip if you don't like frank comment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP (and the others) want to make money.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this they need to sell chips.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Consumers will only buy chips that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (1) have the features they need for their project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (2) that they know how to develop with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) is down to market reasearch, user feedback, watching competitors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) NEEDS good clear COMPLETE well indexed documentation!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BAD/INADEQUATE DOCUMENTATION HITS YOUR BOTTOM LINE!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And because the devices are becoming increasing complex, we&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;need detailed (even cookbook level) application notes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RELEVANT to the part in question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If NXP want to promote their devices even more, Backgrounder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;articles need to be written. Accurate (debugged) sample code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is a must.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And remember to cover the 'corner cases'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. SDRAM interfacing is highly complex; it is one thing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to have bits in device registers that select 'command delayed'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;strategy or 'clock out delayed' strategy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But what the heck are these, why would a developer choose one&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;over the other, what do they ACTUALLY do?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The UM is totally silent on this -- developers NEED app notes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and backgrounders or they won't know how to develop with the device&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and so won't buy it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PCB designers need other equally vital information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If silicon bugs come to light -- PLEASE acknowledge these&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;quickly and explicitly. Almost all developers will not hold&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this against the company, but can use a work round, or it may&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;not be relevent in their current project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It saves them wasted time and frustration (sometimes to the point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that they abandon YOUR device and go with a rival -- bottom line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;again!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also note the Purchase departments in companies are usually technically&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ignorent -- it is the engineers that require this or that chip to be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;purchased.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Initial orders WILL be small (less than 10, 5) for evaluation etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the documentation/app notes/example code is sub-standard, NO MORE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;chips will be bought!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if the documentation and related matter are excelent, many more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;devices are purchased for the sucessful project's lifespan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, remember that today's hobyist/student is very soon tomorrow's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;engineer; their experience then will translate to YOUR devices being&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;recommended rather than a competitors with better documantation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for listening. Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: NXP staff, bump this up the food chain if at all possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518341#M2614</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518342#M2615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dave on Tue Dec 11 09:46:37 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's why I left ST Micro... (and will never use their parts again!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have to say, although NXP doesn't have a repository full of everything possible on each and every part they make, they do have a lot of documentation - you just have to do some digging to find it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Combining this with the generalized documentation available from Freescale and Micron, it wasn't too difficult to get my first prototype up and running...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although, I have to admit I was only about 50% confident until I actually got code written for it and ran some tests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure would be nice to go back to the days when user's manuals had everything you could possibly want in them...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518342#M2615</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518343#M2616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by alimicro on Mon May 13 12:05:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Hi have used below address as a reference for EMC:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;a href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.embedinfo.com%2Fen%2Flist.asp%3Fid%3D107" rel="nofollow" target="_blank"&gt;http://www.embedinfo.com/en/list.asp?id=107&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.embedinfo.com%2Fen%2Flist.asp%3Fid%3D107" rel="nofollow" target="_blank"&gt;http://www.embedinfo.com/en/list.asp?id=107&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;in this schematic have used 2xMT48lc16m16 which is obtain 64MB in 32bit structure.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I'am trying to change the CMSIS sample codes for OEM509 board but I can't&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;here is the SDRAMInit code:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;void SDRAMInit( void )&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;{&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;volatile uint32_t i;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;volatile unsigned long Dummy;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_16 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_17 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_18 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_19 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_20 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_24 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_28 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_29 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_30 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P2_31 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_0 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_1 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_2 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_3 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_4 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_5 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_6 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_7 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_8 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_9 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_10 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_11 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_12 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_13 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_14 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_15 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_16 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_17 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_18 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_19 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_20 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_21 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_22 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_23 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_24 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_25 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_26 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_27 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_28 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_29 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_30 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P3_31 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_0 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_1 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_2 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_3 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_4 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_5 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_6 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_7 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_8 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_9 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_10 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_11 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_12 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_13 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_14 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_IOCON-&amp;amp;gt;P4_25 = 0x21;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;//&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;EMC_Init();&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// Init SDRAM controller&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_SC-&amp;amp;gt;PCONP &amp;nbsp; &amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;|= 0x00000800;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;/*Init SDRAM controller*/&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_SC-&amp;amp;gt;EMCDLYCTL |= (8&amp;amp;lt;&amp;amp;lt;0);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;/*Set data read delay*/&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_SC-&amp;amp;gt;EMCDLYCTL |=(8&amp;amp;lt;&amp;amp;lt;8);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_SC-&amp;amp;gt;EMCDLYCTL |= (0x08 &amp;amp;lt;&amp;amp;lt;16);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;Control =1;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicReadConfig = 1;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRasCas0 = 0;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRasCas0 |=(3&amp;amp;lt;&amp;amp;lt;8);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRasCas0 |= (3&amp;amp;lt;&amp;amp;lt;0);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRP = P2C(SDRAM_TRP);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRAS = P2C(SDRAM_TRAS);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicSREX = P2C(SDRAM_TXSR);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicAPR = SDRAM_TAPR;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicDAL = SDRAM_TDAL+P2C(SDRAM_TRP);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicWR = SDRAM_TWR;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRC = P2C(SDRAM_TRC);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRFC = P2C(SDRAM_TRFC);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicXSR = P2C(SDRAM_TXSR);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRRD = P2C(SDRAM_TRRD);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicMRD = SDRAM_TMRD;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// 13 row, 9 - col, SDRAM&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicConfig0 = 0x0004680;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// JEDEC General SDRAM Initialization Sequence&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// DELAY to allow power and clocks to stabilize ~100 us&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// NOP&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicControl = 0x0183;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;for(i= 200*30; i;i--);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// PALL&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicControl = 0x0103;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRefresh = 2;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;for(i= 256; i; --i); // &amp;amp;gt; 128 clk&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicRefresh = P2C(SDRAM_REFRESH) &amp;amp;gt;&amp;amp;gt; 4;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// COMM&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp; &amp;nbsp; LPC_EMC-&amp;amp;gt;DynamicControl &amp;nbsp; &amp;nbsp;= 0x00000083; /* Issue MODE command */&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;Dummy = *((volatile uint32_t *)(SDRAM_BASE_ADDR | (0x32&amp;amp;lt;&amp;amp;lt;13)));&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;// NORM&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicControl = 0x0000;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;LPC_EMC-&amp;amp;gt;DynamicConfig0 |=(1&amp;amp;lt;&amp;amp;lt;19);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="Apple-tab-span" style="white-space: pre;"&amp;gt; &amp;lt;/span&amp;gt;for(i = 100000; i;i--);&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;&amp;nbsp;&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;}&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;with such a source code controller can write values less than 0x200000&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;above that it will be crazy. here is part of source code:&lt;/P&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h3&amp;gt;wr_ptr = (uint32_t *)SDRAM_BASE_ADDR;&amp;lt;/h3&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h3&amp;gt;*wr_ptr = 0xFFFF0A0A;&amp;lt;/h3&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h3&amp;gt;v1=(unsigned long)(*wr_ptr);&amp;lt;/h3&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h3&amp;gt;*wr_ptr = 0x00000012;&amp;lt;/h3&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h3&amp;gt;v2=(unsigned long)(*wr_ptr);&amp;lt;/h3&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;and results are:&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;v1=0x88C9760A&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;h4&amp;gt;v2=0x00000012&amp;lt;/h4&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;the datasheet is so mysterious and there is no forum and no discussion about it.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;please help me&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;BR /&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518343#M2616</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518344#M2617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wella-tabor on Tue May 14 01:44:52 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;em&amp;gt;BTW, the max clock speed for SDRAM is 80Mhz, so if you run the cpu at more than this,&amp;lt;/em&amp;gt;&lt;BR /&gt;&amp;lt;em&amp;gt; you have to select emc clock as cpu clk / 2. I.e if you run cpu at 120 MHz, the mem&amp;lt;/em&amp;gt;&lt;BR /&gt;&amp;lt;em&amp;gt; needs to be set up for a 60 MHz clock.&amp;lt;/em&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I saw this note in many threads but I cannot find any note in the Datasheet or UM. Anyway my CPU runs at 120MHz without any divider(1/2) for the&amp;nbsp; SDRAM. It passes the March B, C tests. Do you mean some particular SDRAM or in generally?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Best&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;em&amp;gt;&amp;lt;/em&amp;gt;&amp;lt;em&amp;gt;&lt;BR /&gt;&amp;lt;/em&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518344#M2617</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518345#M2618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Dave on Wed May 15 15:49:43 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;It's funny you should mention this subject...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There have been a few discussions about this (see list below), and although NXP sticks by their claim that the part cannot exceed 80Mhz on the EMC, a lot of engineers seem to be doing just that.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I finally decided to just take it under advisement, since all of the boards I have built to date have been running at 120Mhz, and I haven't had a failure...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Here's an incomplete list of some of the discussions:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.keil.com%2Fforum%2F19185%2F" rel="nofollow" target="_blank"&gt;http://www.keil.com/forum/19185/&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flpcware.com%2Fcontent%2Fforum%2Fsdram-working-prototype-not-production" rel="nofollow" target="_blank"&gt;http://lpcware.com/content/forum/sdram-working-prototype-not-production&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flpcware.com%2Fcontent%2Fforum%2Femc-clock" rel="nofollow" target="_blank"&gt;http://lpcware.com/content/forum/emc-clock&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Feel free to add more to this discussion.&amp;nbsp; ;-)&lt;/P&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518345#M2618</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1788 2x SDRAM chips</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518346#M2619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wella-tabor on Fri May 17 06:25:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is my topic to these discussions, MT48LC4M32B2B5. It can be running at 120MHz but this is at the room temperature. The note about datasheet is right, there is stated "min 12,5 ns". Let's see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:32:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1788-2x-SDRAM-chips/m-p/518346#M2619</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:32:24Z</dc:date>
    </item>
  </channel>
</rss>

