<?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のトピックeDMA mem2mem transfer and ADC with flex scan</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eDMA-mem2mem-transfer-and-ADC-with-flex-scan/m-p/1169619#M58542</link>
    <description>&lt;P&gt;Hi, I'm workin with a KW41Z and use eDMA for ADC with flex transfer. I have a buffer with 5 channel and 32 value per channel. The 2 DMA's are working. Now I like to copy the adc results from the first Buffer to a second one with 5 channel and 3200 values per channel. Therefore I initialized an additional DMA with a tcd pool (scatter/gather). The tcd queue size is 2. In the callback function of the DMA I calculate the next dest address and set the new tcd values.&lt;/P&gt;&lt;P&gt;The problem I have is that only the values of the first block were copied. When I stop the scatter/gather dma the second block is also copied once.&lt;/P&gt;&lt;P&gt;Could someone help me. I don't know what the problem is. Attached you find the Dma.c and dma.h files.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the problem.&lt;/P&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 14:17:13 GMT</pubDate>
    <dc:creator>lschoenfeld</dc:creator>
    <dc:date>2020-10-19T14:17:13Z</dc:date>
    <item>
      <title>eDMA mem2mem transfer and ADC with flex scan</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eDMA-mem2mem-transfer-and-ADC-with-flex-scan/m-p/1169619#M58542</link>
      <description>&lt;P&gt;Hi, I'm workin with a KW41Z and use eDMA for ADC with flex transfer. I have a buffer with 5 channel and 32 value per channel. The 2 DMA's are working. Now I like to copy the adc results from the first Buffer to a second one with 5 channel and 3200 values per channel. Therefore I initialized an additional DMA with a tcd pool (scatter/gather). The tcd queue size is 2. In the callback function of the DMA I calculate the next dest address and set the new tcd values.&lt;/P&gt;&lt;P&gt;The problem I have is that only the values of the first block were copied. When I stop the scatter/gather dma the second block is also copied once.&lt;/P&gt;&lt;P&gt;Could someone help me. I don't know what the problem is. Attached you find the Dma.c and dma.h files.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the problem.&lt;/P&gt;&lt;P&gt;Sorry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 14:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eDMA-mem2mem-transfer-and-ADC-with-flex-scan/m-p/1169619#M58542</guid>
      <dc:creator>lschoenfeld</dc:creator>
      <dc:date>2020-10-19T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: eDMA mem2mem transfer and ADC with flex scan</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/eDMA-mem2mem-transfer-and-ADC-with-flex-scan/m-p/1169901#M58543</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have the&amp;nbsp;scatter_gather example. It works well. You can use this example and create different arrays to&amp;nbsp;simulate the different channel. Make it works, then move this project to your application.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 days after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 00:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/eDMA-mem2mem-transfer-and-ADC-with-flex-scan/m-p/1169901#M58543</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2020-10-20T00:55:35Z</dc:date>
    </item>
  </channel>
</rss>

