<?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: Using Frame buffer in SDram</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580530#M20249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by askar on Mon May 05 21:11:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your fine description,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I will have no problem in normal operation when short burst size of SDram will be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:07:11 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:07:11Z</dc:date>
    <item>
      <title>Using Frame buffer in SDram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580528#M20247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by askar on Mon May 05 04:54:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know,&amp;nbsp; if we put frame buffer in sdram and meanwhile we use sdram for seconds, for example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;moving large blocks of data from one location to another, would this affect the performance of LCD controller?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or we will have a steady display on LCD?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580528#M20247</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Frame buffer in SDram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580529#M20248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Mon May 05 07:02:07 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi askar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The LCD controller is one of the Bus master in LPC4350 and has the highest priority to access EMC port. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If there are&amp;nbsp; bus masters with same priority,&amp;nbsp; LPC4350 uses round Robin bus arbitration method. In this controller we can not prioritize bus master’s access to a slave port. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see below the fix&amp;nbsp; priority level from high to low.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.LCD controller&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;gt;Highest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.CPU S-bus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.CPU I/D-bus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4.Other bus masters&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;gt;Lowest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, if LCD controller and other bus request simultaneous access, LCD controller will be granted access. Although the LCD controller has highest priority, however it can still be stalled if another lower priority access has started that has a long burst length . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid starvation, short&amp;nbsp; burst size should be used to tune overall performance.For example if&amp;nbsp; you are using GPDMA, an another bus master on this multilayer bus to access EMC port, I would like to have a smaller bust size to avoid any starvation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid data underflow&amp;nbsp; the LCD controller&amp;nbsp; also has a large FIFO&amp;nbsp; (16x64 bit). So the&amp;nbsp; LCD FIFO needs to buffer enough data to keep the LCD refreshed - smoothly - even when the system is under load. In some cases, system events can occur that cause the LCD FIFO fill to be delayed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the CPU might be doing a burst read from SDRAM (memcpy, or maybe an LDM operation with a stack pop), but this may get stalled due to a SDRAM refresh cycle. If multiple stalls like this happen, it can cause delays to the LCD refresh cycle and the LCD FIFO will eventually underflow and you may get a display glitch/tear. In general if you are using 16 bits SDRAM data interface with multiple bus masters, there are more chances of tearing than with 32 bit SDRAM data interface.&amp;nbsp; Please find below link which has bandwidth calculator&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flcd-bandwidth-calculator-lpc18xx-and-lpc43xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/nxpfile/lcd-bandwidth-calculator-lpc18xx-and-lpc43xx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This calculator is a good tool to check loading on the EMC bus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580529#M20248</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using Frame buffer in SDram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580530#M20249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by askar on Mon May 05 21:11:44 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi mc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your fine description,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I will have no problem in normal operation when short burst size of SDram will be used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:07:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580530#M20249</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using Frame buffer in SDram</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580531#M20250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mc on Fri May 09 11:21:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi asker,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Normally yes, there should not be any problem. Please check the bandwidth using BW calculator as well. For example, if you use 24bit per pixel,pixel depth with a LCD of 800x460 pixel resolution,there will be overwhelming traffic from/to SDRAM.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:07:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Using-Frame-buffer-in-SDram/m-p/580531#M20250</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:07:12Z</dc:date>
    </item>
  </channel>
</rss>

