<?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: Using MQX MFS with DMA KSDK 1.2.0 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-MQX-MFS-with-DMA-KSDK-1-2-0/m-p/595274#M16632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jschepler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, DMA has nothing to do with MFS. That's why can't get any hints with DMA in MFS user guider.&lt;/P&gt;&lt;P&gt;So I think maybe your question is whether the ESDHC driver supports DMA. The short answer is yes, it does.&amp;nbsp; eSDHC drivers were reworked to leverage the ADMA peripheral module in classic MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get maximum performance and really offload the CPU the application has to do bulk operations. I mean if the application reads/writes a file byte by byte the DMA is not of much use. It pays off the most if the application reads/writes data by blocks at least of cluster size and the best performance is achieved if the file offset is sector (or even better cluster) aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2016 13:03:47 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2016-07-22T13:03:47Z</dc:date>
    <item>
      <title>Using MQX MFS with DMA KSDK 1.2.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-MQX-MFS-with-DMA-KSDK-1-2-0/m-p/595273#M16631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done searching through the forum on this topic, but the results were from many years ago.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Does anyone know the procedure of using DMA within the MQX OS with MFS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will be writing to an SD card and would like to unload the processor as much as possible.&amp;nbsp; I searched for "DMA" in the MQX RTOS MFS User's Guide rev 2.9 and came back with 0 hits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The processor is in the K64F family.&amp;nbsp; The processor reference manual has information on DMA and SDHC, but I don't know how to use the DMA portion with MQX when writing to an SD card using MFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 13:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-MQX-MFS-with-DMA-KSDK-1-2-0/m-p/595273#M16631</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2016-07-21T13:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Using MQX MFS with DMA KSDK 1.2.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Using-MQX-MFS-with-DMA-KSDK-1-2-0/m-p/595274#M16632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jschepler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, DMA has nothing to do with MFS. That's why can't get any hints with DMA in MFS user guider.&lt;/P&gt;&lt;P&gt;So I think maybe your question is whether the ESDHC driver supports DMA. The short answer is yes, it does.&amp;nbsp; eSDHC drivers were reworked to leverage the ADMA peripheral module in classic MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get maximum performance and really offload the CPU the application has to do bulk operations. I mean if the application reads/writes a file byte by byte the DMA is not of much use. It pays off the most if the application reads/writes data by blocks at least of cluster size and the best performance is achieved if the file offset is sector (or even better cluster) aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Using-MQX-MFS-with-DMA-KSDK-1-2-0/m-p/595274#M16632</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-07-22T13:03:47Z</dc:date>
    </item>
  </channel>
</rss>

