<?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>Kinetis MicrocontrollersのトピックRe: DMA vs eDMA?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044830#M56867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost all K and KV parts have eDMA and most KL, KE and KM parts have DMA (with some exceptions like KE1xF, KL28 and KL82, and more).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To know which, it is simplest to search for the registers DMA_CR or DMA_SAR0 in the user's manual. If you find DMA_CR it is eDMA and if you find DMA_SAR0 it is DMA. Both DMA and eDMA have basic DMA support for software triggered and peripheral triggered transfers. eDMA is more power-ful since it can link DMA channels together, generate half buffer and full buffer interrupts, do free running DMA to a randomly located circular buffer and also transfer in a descending address order (backwards)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DMA can't do half buffer interrupts and it can only do free running DMA in a circular buffer if the buffer is modulo aligned and of a modulo size (64, 128, 256, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have eDMA in our chip you can do more, although 90% of the time the more basic DMA is OK too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. Free-running DMA UART on KL27 explanation videos:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10" target="test_blank"&gt;https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11" target="test_blank"&gt;https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both DMA and eDMA are simulated in the uTasker project for better understanding and testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eDMA is also used in i.MX RT parts which means that much Kinetis eDMA peripheral/DMA code is reusable there too (in fact many peripheral and DMA drivers can be literally shared between Kinetis and i.MX RT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2020 20:26:31 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2020-05-05T20:26:31Z</dc:date>
    <item>
      <title>DMA vs eDMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044829#M56866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are the terms DMA and eDMA used interchangeably? &amp;nbsp;If not, is there a list of which Kinetis parts have eDMA, and which have DMA? &amp;nbsp;It would seem likely that DMA is a subset or predecessor to eDMA, but none of the documentation supports that idea. &amp;nbsp;The K60DN/DXVLL 100 pin reference manual has separate chapters on each, but the only list of peripheral features (which is in the data sheet, not the reference manual) only lists a DMA module. &amp;nbsp;The K Series Selector Guide says that every K series part has DMA, and doesn't breathe a word about eDMA. &amp;nbsp;The MCUXpresso K60 Tower Module SDK has two examples for eDMA, and nothing for DMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, what's the story?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 17:28:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044829#M56866</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-05T17:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: DMA vs eDMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044830#M56867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost all K and KV parts have eDMA and most KL, KE and KM parts have DMA (with some exceptions like KE1xF, KL28 and KL82, and more).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To know which, it is simplest to search for the registers DMA_CR or DMA_SAR0 in the user's manual. If you find DMA_CR it is eDMA and if you find DMA_SAR0 it is DMA. Both DMA and eDMA have basic DMA support for software triggered and peripheral triggered transfers. eDMA is more power-ful since it can link DMA channels together, generate half buffer and full buffer interrupts, do free running DMA to a randomly located circular buffer and also transfer in a descending address order (backwards)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;DMA can't do half buffer interrupts and it can only do free running DMA in a circular buffer if the buffer is modulo aligned and of a modulo size (64, 128, 256, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have eDMA in our chip you can do more, although 90% of the time the more basic DMA is OK too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg. Free-running DMA UART on KL27 explanation videos:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10" target="test_blank"&gt;https://www.youtube.com/watch?v=dNZvvouiqis&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=10&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11" target="test_blank"&gt;https://www.youtube.com/watch?v=GaoWE-tMRq4&amp;amp;list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&amp;amp;index=11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both DMA and eDMA are simulated in the uTasker project for better understanding and testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eDMA is also used in i.MX RT parts which means that much Kinetis eDMA peripheral/DMA code is reusable there too (in fact many peripheral and DMA drivers can be literally shared between Kinetis and i.MX RT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 20:26:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044830#M56867</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-05-05T20:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: DMA vs eDMA?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044831#M56868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Mark!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish the manuals could say that someplace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 23:47:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-vs-eDMA/m-p/1044831#M56868</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2020-05-05T23:47:54Z</dc:date>
    </item>
  </channel>
</rss>

