<?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 RT Crossover MCUsのトピックRe: issue with repeated eDMA receive within interrupt</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1366280#M16999</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;1) Can you please help advise how to make scatter-gather work?&lt;BR /&gt;-- To provide the fastest possible support, I'd highly recommend you to refer to the scatter_gather demo (~\driver_examples\edma\scatter_gather) in the SDK library&lt;BR /&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks 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>Thu, 04 Nov 2021 03:54:22 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2021-11-04T03:54:22Z</dc:date>
    <item>
      <title>issue with repeated eDMA receive within interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1364127#M16937</link>
      <description>&lt;P&gt;Can I safely use &lt;STRONG&gt;SPDIF_TransferSendEDMA&lt;/STRONG&gt; within the eDMA callback interrupt?&lt;BR /&gt;&lt;BR /&gt;Or is there a more basic way to trigger the same sized transfer over and over within the callback?&lt;BR /&gt;&lt;BR /&gt;It seems that a lot of what SPDIF_TransferSendEDMA is redundant if essentially all the setup is the same each call.&lt;BR /&gt;&lt;BR /&gt;Note: we cant use&amp;nbsp;SPDIF_TransferSendEDMA&amp;nbsp; within non-interrupt context for performance reasons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 08:05:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1364127#M16937</guid>
      <dc:creator>avbot</dc:creator>
      <dc:date>2021-10-30T08:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: issue with repeated eDMA receive within interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1364249#M16942</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) Can I safely use SPDIF_TransferSendEDMA within the eDMA callback interrupt?&lt;BR /&gt;Or is there a more basic way to trigger the same sized transfer over and over within the callback?&lt;BR /&gt;-- In my opinion, I'd highly recommend you to use the scatter-gather feature to configure the DMA to prepare the next transfer automatically, then you can activate the DMA easily in the callback function when completing the previous DMA transfer.&lt;BR /&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks 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>Mon, 01 Nov 2021 02:51:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1364249#M16942</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-11-01T02:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: issue with repeated eDMA receive within interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1365366#M16985</link>
      <description>&lt;P&gt;Thanks Jeremy, can you please help advise how to make scattergather work?&lt;BR /&gt;I am first trying on the Rx side and tried to modify SPDIF_TransferReceiveEDMA and then calling it once to make a perpetual scatter gather. But it still only triggers the interrupt once. Here is what I have tried..&lt;BR /&gt;&lt;BR /&gt;&amp;gt;make&amp;nbsp;SPDIF_XFER_QUEUE_SIZE=1 so that next TCD is same as one just sent.&lt;BR /&gt;&amp;gt;set scattergather mode like this on each of left and right.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;handle-&amp;gt;dmaRightHandle-&amp;gt;base-&amp;gt;TCD[handle-&amp;gt;dmaLeftHandle-&amp;gt;channel].DLAST_SGA = handle-&amp;gt;dmaRightHandle-&amp;gt;base-&amp;gt;TCD[handle-&amp;gt;dmaLeftHandle-&amp;gt;channel].DLAST_SGA; //self&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;handle-&amp;gt;dmaRightHandle-&amp;gt;base-&amp;gt;TCD[handle-&amp;gt;dmaRightHandle-&amp;gt;channel].CSR = DMA_CSR_ESG_MASK | DMA_CSR_INTMAJOR_MASK;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;Please help. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 23:51:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1365366#M16985</guid>
      <dc:creator>avbot</dc:creator>
      <dc:date>2021-11-02T23:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: issue with repeated eDMA receive within interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1366280#M16999</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;1) Can you please help advise how to make scatter-gather work?&lt;BR /&gt;-- To provide the fastest possible support, I'd highly recommend you to refer to the scatter_gather demo (~\driver_examples\edma\scatter_gather) in the SDK library&lt;BR /&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks 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>Thu, 04 Nov 2021 03:54:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1366280#M16999</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-11-04T03:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: issue with repeated eDMA receive within interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1366284#M17000</link>
      <description>&lt;P&gt;Hi Jeremy, I have reviewed that reference (and the other eDMA references) in great detail.&lt;BR /&gt;It does not directly apply because it is a one shot demo. What the confusion is for me as I have tried to get across in my post is how to make it continuous. Its not obvious from the comments in the code how to do this.&lt;BR /&gt;I would really appreciate if you can provide specific advice on this. Project is waiting for this solution so hoping you can assist soon. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 04:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/issue-with-repeated-eDMA-receive-within-interrupt/m-p/1366284#M17000</guid>
      <dc:creator>avbot</dc:creator>
      <dc:date>2021-11-04T04:00:01Z</dc:date>
    </item>
  </channel>
</rss>

