<?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 DMA as double buffer in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350275#M17258</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;/P&gt;&lt;P&gt;I'm writing a code to output sound tones on DAC, with DMA. Due to precision that I need on tones, I need to use a dual buffer to process and output data via DMA (ping pong buffer).&lt;/P&gt;&lt;P&gt;Well, I've tried to process data and change the source address at DMA OnComplete event, but I haven't enough time to process all data. In some DMAs, we have a hardware trigger to do ping pong buffer; the DMA present in KL25Z can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 16:29:20 GMT</pubDate>
    <dc:creator>wendersonolivei</dc:creator>
    <dc:date>2014-08-11T16:29:20Z</dc:date>
    <item>
      <title>DMA as double buffer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350275#M17258</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;/P&gt;&lt;P&gt;I'm writing a code to output sound tones on DAC, with DMA. Due to precision that I need on tones, I need to use a dual buffer to process and output data via DMA (ping pong buffer).&lt;/P&gt;&lt;P&gt;Well, I've tried to process data and change the source address at DMA OnComplete event, but I haven't enough time to process all data. In some DMAs, we have a hardware trigger to do ping pong buffer; the DMA present in KL25Z can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 16:29:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350275#M17258</guid>
      <dc:creator>wendersonolivei</dc:creator>
      <dc:date>2014-08-11T16:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: DMA as double buffer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350276#M17259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can use DMA channel link function, such as DMA CH0 as half low buffer and DMA CH1 as half top buffer.&lt;/P&gt;&lt;P&gt;DMA CH0 &amp;lt;=&amp;gt; DMA CH1.&lt;/P&gt;&lt;P&gt;When DMA CH0 finish the transfer link to DMA CH1 for transfer; and when DMA CH1 finish transfer, link to DMA CH0 start.&lt;/P&gt;&lt;P&gt;There need to use DMA continuous mode. &lt;/P&gt;&lt;P&gt;And in each DMA interrupt, the CPU can load new data to each DMA channel related data array.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 06:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350276#M17259</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-08-12T06:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: DMA as double buffer</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350277#M17260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 10:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/DMA-as-double-buffer/m-p/350277#M17260</guid>
      <dc:creator>wendersonolivei</dc:creator>
      <dc:date>2014-08-12T10:46:07Z</dc:date>
    </item>
  </channel>
</rss>

