<?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のトピックDoes EMC memories have priorities?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782342#M31441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I recently came across a strange behavior. I have a custom board with LPC4088 interfacing to&lt;/P&gt;&lt;OL style="list-style-type: lower-roman;"&gt;&lt;LI&gt;Nor-flash(SST39vf3201C) connected to CS3&lt;/LI&gt;&lt;LI&gt;SRAM(CY62157EV30LL-45ZSXI) connected to CS1 &amp;amp;&lt;/LI&gt;&lt;LI&gt;FPGA connected to CS0.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I use USB bootloader which is in internal flash &amp;amp; user application is stored in EMC Nor-flash. In normal condition user application works fine but when I use LCD it slows down too much. So I checked signals in oscilloscope &amp;amp; found out that SRAM is read too much, so flash does not get time to execute. In short SRAM making flash slow.&lt;/P&gt;&lt;P&gt;In ARM PrimeCell Multiport Memory Controller reference manual I read&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The memory controller AHB memory ports are prioritized. If a master connected to a HIGH priority port performs continuous transactions, lower priority ports are not able to access the bus until the higher priority port has completed its transactions.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Lower priority AHB memory ports can be locked out indefinitely if a higher priority AHB memory port continually performs memory requests&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I replicate the same thing in evaluation board of LPC4088 with same Nor-flash connected to CS0 &amp;amp; SDRAM(instead of SRAM) connected to DYCS0, everything works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there priorities between EMC memories?&lt;/P&gt;&lt;P&gt;Does it mean I have to swap CS lines of FPGA &amp;amp; Nor-flash in order to make things normal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any useful suggestions are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Priyank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2018 11:01:23 GMT</pubDate>
    <dc:creator>priyankb</dc:creator>
    <dc:date>2018-11-20T11:01:23Z</dc:date>
    <item>
      <title>Does EMC memories have priorities?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782342#M31441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I recently came across a strange behavior. I have a custom board with LPC4088 interfacing to&lt;/P&gt;&lt;OL style="list-style-type: lower-roman;"&gt;&lt;LI&gt;Nor-flash(SST39vf3201C) connected to CS3&lt;/LI&gt;&lt;LI&gt;SRAM(CY62157EV30LL-45ZSXI) connected to CS1 &amp;amp;&lt;/LI&gt;&lt;LI&gt;FPGA connected to CS0.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I use USB bootloader which is in internal flash &amp;amp; user application is stored in EMC Nor-flash. In normal condition user application works fine but when I use LCD it slows down too much. So I checked signals in oscilloscope &amp;amp; found out that SRAM is read too much, so flash does not get time to execute. In short SRAM making flash slow.&lt;/P&gt;&lt;P&gt;In ARM PrimeCell Multiport Memory Controller reference manual I read&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The memory controller AHB memory ports are prioritized. If a master connected to a HIGH priority port performs continuous transactions, lower priority ports are not able to access the bus until the higher priority port has completed its transactions.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Lower priority AHB memory ports can be locked out indefinitely if a higher priority AHB memory port continually performs memory requests&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I replicate the same thing in evaluation board of LPC4088 with same Nor-flash connected to CS0 &amp;amp; SDRAM(instead of SRAM) connected to DYCS0, everything works properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there priorities between EMC memories?&lt;/P&gt;&lt;P&gt;Does it mean I have to swap CS lines of FPGA &amp;amp; Nor-flash in order to make things normal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any useful suggestions are appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Priyank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 11:01:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782342#M31441</guid>
      <dc:creator>priyankb</dc:creator>
      <dc:date>2018-11-20T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does EMC memories have priorities?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782343#M31442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the application note AN11508, you will find some recommendation for Shared EMC configuration (page 17):&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN11508.pdf" title="https://www.nxp.com/docs/en/application-note/AN11508.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN11508.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77704i164F47F858A38F9C/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&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>Thu, 22 Nov 2018 18:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782343#M31442</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2018-11-22T18:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Does EMC memories have priorities?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782344#M31443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sol,&lt;/P&gt;&lt;P&gt;Thank you for the reply. I read this application note, but it is still not clear if I must use bus buffers if only static memories are used. Since in my project all the memories are static.&lt;/P&gt;&lt;P&gt;I also read this in application note AN10950:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;When using a mixture of dynamic and static memories it is recommended that all signals being used in the static memory bus are buffered prior to arriving at memory devices.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So the question is even if i do not use dynamic memories, is bus buffers necessary for multiple static memory implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Priyank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 05:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Does-EMC-memories-have-priorities/m-p/782344#M31443</guid>
      <dc:creator>priyankb</dc:creator>
      <dc:date>2018-11-23T05:41:02Z</dc:date>
    </item>
  </channel>
</rss>

