<?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: LPC4078 FIFO overruns when reading from SD card in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-FIFO-overruns-when-reading-from-SD-card/m-p/548224#M13612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by schisanoa on Sat Jun 07 10:02:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi akrylic, I don't have the answer to your question, but I have a question for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having some trouble with the same example code(app_sdmmc_meas), I never pass this function correctly: Chip_SDMMC_Acquire, and I'm working with the LPC4088 dev kit, so it should work without modification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you tell me what version of the LPCopen you used for the porting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of SD card are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the DMA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your information&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alessio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:30:27 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:30:27Z</dc:date>
    <item>
      <title>LPC4078 FIFO overruns when reading from SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-FIFO-overruns-when-reading-from-SD-card/m-p/548223#M13611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by akrylik on Tue Jun 03 04:31:06 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi NXP Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've ported the app_sdmmc_meas project to the LPC4078 and it works perfectly but only as long as I keep the transfer speed (SDC_TRAN_CLOCK_RATE) below 6.5MHz.&amp;nbsp; However, if I increase the transfer speed passed 6.5MHz then the reads always fail with the SDC_STATUS_RXOVERRUN error even though DMA is being used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any ideas of about why the LPC4078 is not keeping up? My system clock is running at 120MHz and the peripheral clock is 60MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW, porting app_sdmmc_meas to the LPC4078 was very easy and only required me to update the IOCONF settings of the SD/MMC pins like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;/* Initialize SD/MMC */
STATIC void initAppSDMMC()
{
memset(&amp;amp;sdCardInfo, 0, sizeof(sdCardInfo));
sdCardInfo.evsetup_cb = setupEvWakeup;
sdCardInfo.waitfunc_cb = waitEvIRQDriven;
sdCardInfo.msdelay_func = waitMs;

// SD_CLK
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 19, (IOCON_FUNC2 | IOCON_MODE_INACT));
// SD_CMD
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 20, (IOCON_FUNC2 | IOCON_MODE_INACT));
// SD_PWR
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 21, (IOCON_FUNC2 | IOCON_MODE_INACT));
// DAT lines
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 22, (IOCON_FUNC2 | IOCON_MODE_INACT));
Chip_IOCON_PinMuxSet(LPC_IOCON, 2, 11, (IOCON_FUNC2 | IOCON_MODE_INACT));
Chip_IOCON_PinMuxSet(LPC_IOCON, 2, 12, (IOCON_FUNC2 | IOCON_MODE_INACT));
Chip_IOCON_PinMuxSet(LPC_IOCON, 2, 13, (IOCON_FUNC2 | IOCON_MODE_INACT));

Chip_SDC_Init(LPC_SDC);
}&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:30:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-FIFO-overruns-when-reading-from-SD-card/m-p/548223#M13611</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 FIFO overruns when reading from SD card</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-FIFO-overruns-when-reading-from-SD-card/m-p/548224#M13612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by schisanoa on Sat Jun 07 10:02:32 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi akrylic, I don't have the answer to your question, but I have a question for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having some trouble with the same example code(app_sdmmc_meas), I never pass this function correctly: Chip_SDMMC_Acquire, and I'm working with the LPC4088 dev kit, so it should work without modification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you tell me what version of the LPCopen you used for the porting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What kind of SD card are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the DMA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your information&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alessio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-FIFO-overruns-when-reading-from-SD-card/m-p/548224#M13612</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:30:27Z</dc:date>
    </item>
  </channel>
</rss>

