<?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>i.MX Processors中的主题 eDMA ping-pong buffer sorting</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/eDMA-ping-pong-buffer-sorting/m-p/1991978#M230723</link>
    <description>&lt;P&gt;Good day to all!&lt;BR /&gt;I use IMX8ULPIEC processor and i&amp;nbsp;&lt;SPAN&gt;programming SAI interface under m-33 core.&lt;BR /&gt;I receive data in the format ABC_ABC_ABC_ABC... via eDma using the &lt;STRONG&gt;&lt;EM&gt;SAI_TransferReceiveLoopEDMA()&lt;/EM&gt;&lt;/STRONG&gt; function and thus receive a ping-pong buffer for two arrays storing ABCABCABC alternately.&lt;BR /&gt;However, I would like the data after reception to look like this: AAAA......BBBB......CCCC...(end) and also issued alternately in two buffers as in the ping-pong buffer.&lt;BR /&gt;Is it possible to do this within one eDMA stream without stopping reception? Are there any examples of similar packaging?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2024 12:54:40 GMT</pubDate>
    <dc:creator>Sandroom</dc:creator>
    <dc:date>2024-11-11T12:54:40Z</dc:date>
    <item>
      <title>eDMA ping-pong buffer sorting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/eDMA-ping-pong-buffer-sorting/m-p/1991978#M230723</link>
      <description>&lt;P&gt;Good day to all!&lt;BR /&gt;I use IMX8ULPIEC processor and i&amp;nbsp;&lt;SPAN&gt;programming SAI interface under m-33 core.&lt;BR /&gt;I receive data in the format ABC_ABC_ABC_ABC... via eDma using the &lt;STRONG&gt;&lt;EM&gt;SAI_TransferReceiveLoopEDMA()&lt;/EM&gt;&lt;/STRONG&gt; function and thus receive a ping-pong buffer for two arrays storing ABCABCABC alternately.&lt;BR /&gt;However, I would like the data after reception to look like this: AAAA......BBBB......CCCC...(end) and also issued alternately in two buffers as in the ping-pong buffer.&lt;BR /&gt;Is it possible to do this within one eDMA stream without stopping reception? Are there any examples of similar packaging?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 12:54:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/eDMA-ping-pong-buffer-sorting/m-p/1991978#M230723</guid>
      <dc:creator>Sandroom</dc:creator>
      <dc:date>2024-11-11T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: eDMA ping-pong buffer sorting</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/eDMA-ping-pong-buffer-sorting/m-p/1994639#M230864</link>
      <description>&lt;P&gt;I figured out the problem.&lt;BR /&gt;I had to change the function &lt;STRONG&gt;SAI_TransferReceiveLoopEDMA()&lt;/STRONG&gt; a little, called it &lt;STRONG&gt;SAI_TransferReceiveLoopEDMASetuped()&lt;/STRONG&gt;.&lt;BR /&gt;If someone encounters a similar problem, I am attaching a file with the source code of the modified function and its application.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:42:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/eDMA-ping-pong-buffer-sorting/m-p/1994639#M230864</guid>
      <dc:creator>Sandroom</dc:creator>
      <dc:date>2024-11-14T12:42:58Z</dc:date>
    </item>
  </channel>
</rss>

