<?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: SDRAM and NOR Flash Sample / Reference code for Understanding the functionality</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDRAM-and-NOR-Flash-Sample-Reference-code-for-Understanding-the/m-p/872038#M34791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="313949" data-username="gauravmore" href="https://community.nxp.com/people/gauravmore"&gt;Gaurav More&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;As I mentioned before, the lpcopen_3_02_lpcxpresso_mcb4357 has provided the sample code for the SDRAM and Nor Flash interface, they're the periph_memtest and misc_spifi_tst demos (Fig 1).&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/73060i4CADCB82DD697726/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;P style="text-align: center;"&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;During the startup process,&amp;nbsp; MCU will execute the Board_SystemInit() (In the board_sysinit.c )prior to jumping to the main().&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73061i7444AD1458D39502/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 2&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;In the Board_SystemInit(), the Board_SetupExtMemory() will initialize the EMC module to manipulate the SDRAM.&lt;BR /&gt;The thread (&lt;A href="https://community.nxp.com/thread/389100"&gt;Placing data into different RAM blocks&lt;/A&gt;&amp;nbsp;)demonstrates how to place data into different RAM blocks.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2019 11:18:15 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2019-02-19T11:18:15Z</dc:date>
    <item>
      <title>SDRAM and NOR Flash Sample / Reference code for Understanding the functionality</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDRAM-and-NOR-Flash-Sample-Reference-code-for-Understanding-the/m-p/872037#M34790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;Hi Jeremy,&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am using &lt;STRONG&gt;LPC4367&lt;/STRONG&gt; controller with &lt;STRONG&gt;MCU Xpresso 10.3.0_2200&lt;/STRONG&gt;. I am using SDRAM and NOR Flash interface in one of our projects. I was working with Evaluation board &lt;STRONG&gt;OM13088&lt;/STRONG&gt; but it that board no SDRAM and NOR flash interface is avialable.&amp;nbsp; I am using SDRAM and NOR flash both interfaced with EMC lines aviable in LPC4367 controller.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I refered the code in &lt;SPAN&gt;e lpcopen_3_02_lpcxpresso_mcb4357 and also refered&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;periph_memtest and misc_spifi_tst demos&lt;/SPAN&gt;.&lt;/SPAN&gt;&amp;nbsp;But there is no EMC init routine avialable. Is there any sample code or a reference code for SDRAM with proper intitiatilization routine.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Also I want to allocate one of my Buffer to SDRAM address, I got the information related to it in MCU expresso User guie but still I want to know that as we use&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;__at(Address) attribute in Keil to allocate the array or a buffer like&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;uint16_t Buffer[1024]&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;__at(0x28000000)&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In the similar way, how we can use it in MCU Expresso .&amp;nbsp;To conclude I want the sample or a reference code for SDRAM and NOR flash with proper EMC init routine which is not avaialable in the existing reference code&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I need this since i want to test my development board which is ready. So please consider it on higher priority. Mean while i am trying to refere other forums as well for my understanding.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Gaurav More&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:33:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDRAM-and-NOR-Flash-Sample-Reference-code-for-Understanding-the/m-p/872037#M34790</guid>
      <dc:creator>gauravmore</dc:creator>
      <dc:date>2019-02-19T08:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: SDRAM and NOR Flash Sample / Reference code for Understanding the functionality</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SDRAM-and-NOR-Flash-Sample-Reference-code-for-Understanding-the/m-p/872038#M34791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="313949" data-username="gauravmore" href="https://community.nxp.com/people/gauravmore"&gt;Gaurav More&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;As I mentioned before, the lpcopen_3_02_lpcxpresso_mcb4357 has provided the sample code for the SDRAM and Nor Flash interface, they're the periph_memtest and misc_spifi_tst demos (Fig 1).&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/73060i4CADCB82DD697726/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;P style="text-align: center;"&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fig 1&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;During the startup process,&amp;nbsp; MCU will execute the Board_SystemInit() (In the board_sysinit.c )prior to jumping to the main().&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73061i7444AD1458D39502/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;Fig 2&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;BR /&gt;In the Board_SystemInit(), the Board_SetupExtMemory() will initialize the EMC module to manipulate the SDRAM.&lt;BR /&gt;The thread (&lt;A href="https://community.nxp.com/thread/389100"&gt;Placing data into different RAM blocks&lt;/A&gt;&amp;nbsp;)demonstrates how to place data into different RAM blocks.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2019 11:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SDRAM-and-NOR-Flash-Sample-Reference-code-for-Understanding-the/m-p/872038#M34791</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-02-19T11:18:15Z</dc:date>
    </item>
  </channel>
</rss>

