<?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: Buffer picture data from sd card in SDRAM, or not? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558322#M15581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Oct 17 01:24:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you need to have the display buffer in a memory which is in the ARM memory mapped area. The DMA of the LCD controller cannot read from an SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For LPC1800/4300: you could read directly from a qSPI memory, because the SPIFI converts this serial flash into a memory mapped flash. Depending on the display size and color depth the speed of the SPIFI could be sufficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case of the SD card you need to copy the picture data into SDRAM first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:43:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:43:24Z</dc:date>
    <item>
      <title>Buffer picture data from sd card in SDRAM, or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558321#M15580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Martin84 on Wed Oct 09 14:44:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when interfacing an LCD and using SDRAM as framebuffer, how to store pictures in the embedded system? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to use an SD card on which the picture data is stored. What is the most efficient way to read the picture data? Should I first buffer the data over the SD/MMC DMA in SDRAM and then work with this data or is it easier to work directly with this data from SD card?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the best way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have some experience and can help me? :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&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 18:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558321#M15580</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer picture data from sd card in SDRAM, or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558322#M15581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Thu Oct 17 01:24:27 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you need to have the display buffer in a memory which is in the ARM memory mapped area. The DMA of the LCD controller cannot read from an SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For LPC1800/4300: you could read directly from a qSPI memory, because the SPIFI converts this serial flash into a memory mapped flash. Depending on the display size and color depth the speed of the SPIFI could be sufficient.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case of the SD card you need to copy the picture data into SDRAM first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558322#M15581</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer picture data from sd card in SDRAM, or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558323#M15582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Martin84 on Thu Oct 17 05:11:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok THANK YOU :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I copy the picture data from SD Card to SDRAM? Do I have to do it manually or is there an DMA between SD and SDRAM?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the picture of AHB-Matrix there is a connection between SD/MMC-Master and EMC-Slave, so I would guess that it is possible to copy the data per DMA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give me another hint? :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&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 18:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558323#M15582</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer picture data from sd card in SDRAM, or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558324#M15583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Fri Oct 25 01:57:17 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to be able to read from an SD card (e.g. a BMP) you need to run a software which is able to handle the file system on the SD card.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A relatively complex example can be found here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://http://www.lpcware.com/system/files/lpcopen_1_03a_4370_lpcxpresso_lpclink2.zip"&gt;http://www.lpcware.com/system/files/lpcopen_1_03a_4370_lpcxpresso_lpclink2.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\lpcopen_v1.03\applications\lpc18xx_43xx\examples\periph\periph_sdmmc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example which reads/write in raw mode can be found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .\lpcopen_v1.03\applications\lpc18xx_43xx\examples\misc\app_sdmmc_meas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The data copy job can of course be done using the DMA feature, the AHB connection of SD/MMC and SDRAM ensures that this is done fast and efficiently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558324#M15583</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Buffer picture data from sd card in SDRAM, or not?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558325#M15584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Martin84 on Fri Oct 25 02:09:45 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi bavarian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your reply :-) Yes, I want to use a file system. So that's the reply I needed. First, the copy job will be initialized in software and then it will be done by DMA :-)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your "every friday" support ;-) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&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 18:43:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Buffer-picture-data-from-sd-card-in-SDRAM-or-not/m-p/558325#M15584</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:43:26Z</dc:date>
    </item>
  </channel>
</rss>

