<?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 Using DMA with eTPU UARTs in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-DMA-with-eTPU-UARTs/m-p/383139#M12437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am considering using DMA to transfer data for an eTPU UART interrupt on a MCF5233 processor.&amp;nbsp; I am wondering if there are any code examples to do this, or any code examples using DMA with the eTPU at all.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, I am wondering if there is a reliable way to use DMA on more than one channel at once since all eTPU interrupts are OR'ed together to one DMA request to DMA controller 3.&amp;nbsp; With one eTPU channel using DMA, you can set the DMA source register to the relevant address in SRAM with data for that channel and it is no problem.&amp;nbsp; If multiple channels use DMA, then you could set the DMA source register to a block of RAM that includes the data for all of the channels, but I can't find a way to tell which channel generated the DMA request.&amp;nbsp; You could look at the DTRS bits to see which channels have generated a request, but I think that could lead to race conditions where the DMA transfers the data from SRAM before you have a chance to read DTRS.&amp;nbsp; Is there a solution for this or is it recommended to only use DMA for one eTPU channel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 11:38:27 GMT</pubDate>
    <dc:creator>tmelm</dc:creator>
    <dc:date>2014-12-01T11:38:27Z</dc:date>
    <item>
      <title>Using DMA with eTPU UARTs</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-DMA-with-eTPU-UARTs/m-p/383139#M12437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am considering using DMA to transfer data for an eTPU UART interrupt on a MCF5233 processor.&amp;nbsp; I am wondering if there are any code examples to do this, or any code examples using DMA with the eTPU at all.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically, I am wondering if there is a reliable way to use DMA on more than one channel at once since all eTPU interrupts are OR'ed together to one DMA request to DMA controller 3.&amp;nbsp; With one eTPU channel using DMA, you can set the DMA source register to the relevant address in SRAM with data for that channel and it is no problem.&amp;nbsp; If multiple channels use DMA, then you could set the DMA source register to a block of RAM that includes the data for all of the channels, but I can't find a way to tell which channel generated the DMA request.&amp;nbsp; You could look at the DTRS bits to see which channels have generated a request, but I think that could lead to race conditions where the DMA transfers the data from SRAM before you have a chance to read DTRS.&amp;nbsp; Is there a solution for this or is it recommended to only use DMA for one eTPU channel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 11:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Using-DMA-with-eTPU-UARTs/m-p/383139#M12437</guid>
      <dc:creator>tmelm</dc:creator>
      <dc:date>2014-12-01T11:38:27Z</dc:date>
    </item>
  </channel>
</rss>

