<?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: &amp;quot;automatic&amp;quot; DMA re-start after major loop completion (major loop linking on itself) in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701393#M7512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- And if I use 2 TCD's linked to each other, either the scatter/gather feature or by using two DMA channels, does the linked DMA re-start by itself ? (or need I to issue also a EDMA_StartTransfer command?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Which one of the two solutions needs less ressources (bus occupation, cpu ...)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 08:48:25 GMT</pubDate>
    <dc:creator>felixb_</dc:creator>
    <dc:date>2017-09-11T08:48:25Z</dc:date>
    <item>
      <title>"automatic" DMA re-start after major loop completion (major loop linking on itself)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701391#M7510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I use a FRDM-K64F board with kinetis SDK 2.2. I would like to fill continuously a circular 16 Bytes buffer with ADC data with a first DMA process. I used a second DMA channel triggered by the minor loop of the first DMA in order to change the ADC multiplexer setting after each ADC conversion.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As I need a continuous data acquisition, I linked my first DMA channel (major loop) to itself. After major loop completion, the DMA engine reload the settings, but don’t start by himself. I need to issue a EDMA_StartTransfer command (in the interrupt routine) to restart the first DMA.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My question is : Is that possible to set the DMA engine so that the first DMA re-start automatically, (i.e. without issuing the EDMA_StartTransfer command in the interrupt routine)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for you answer&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Félix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 13:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701391#M7510</guid>
      <dc:creator>felixb_</dc:creator>
      <dc:date>2017-08-18T13:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: "automatic" DMA re-start after major loop completion (major loop linking on itself)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701392#M7511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi felix B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, sorry, but even with a normal DMA configuration, when Major loop happen, then DMA_SERQ_SERQ bit is cleared automatically, EDMA_StartTransfer API is to set this bit again, so you have to enable it in the interrupt handler again if you want it to be continuously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information could help you, please let me know if I can help you in any other question related.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 22:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701392#M7511</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-08-28T22:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: "automatic" DMA re-start after major loop completion (major loop linking on itself)</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701393#M7512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- And if I use 2 TCD's linked to each other, either the scatter/gather feature or by using two DMA channels, does the linked DMA re-start by itself ? (or need I to issue also a EDMA_StartTransfer command?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Which one of the two solutions needs less ressources (bus occupation, cpu ...)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 08:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/quot-automatic-quot-DMA-re-start-after-major-loop-completion/m-p/701393#M7512</guid>
      <dc:creator>felixb_</dc:creator>
      <dc:date>2017-09-11T08:48:25Z</dc:date>
    </item>
  </channel>
</rss>

