<?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 interrupt on Major Loop complete without the XFER_DONE bit being set in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734089#M114240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with the EDMA on the MIMXRT1050-EVK prior to getting in our hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a couple of arrays and use memory2memory transfers to mimic what our hardware would send to us via the SPI ports. I have 2 files to mimic 2 devices and trigger a transfer using the PIT timer though the XBAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that when the DMA requests occur within a microsecond of each other I will get an interrupt but the XFER_DONE in the CSR is not set. About every 1.1 seconds I get 3 interrupts without the XFER_DONE being set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set one PIT to 10 us, and the other to 11 us...if I set them both to 10, I will not get any XFR_DONE bit set on the second channel, but every interrupt will occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this would happen? I can't seem to find anything in documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 22:46:45 GMT</pubDate>
    <dc:creator>cashreuser</dc:creator>
    <dc:date>2018-04-13T22:46:45Z</dc:date>
    <item>
      <title>DMA interrupt on Major Loop complete without the XFER_DONE bit being set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734089#M114240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with the EDMA on the MIMXRT1050-EVK prior to getting in our hardware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a couple of arrays and use memory2memory transfers to mimic what our hardware would send to us via the SPI ports. I have 2 files to mimic 2 devices and trigger a transfer using the PIT timer though the XBAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that when the DMA requests occur within a microsecond of each other I will get an interrupt but the XFER_DONE in the CSR is not set. About every 1.1 seconds I get 3 interrupts without the XFER_DONE being set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set one PIT to 10 us, and the other to 11 us...if I set them both to 10, I will not get any XFR_DONE bit set on the second channel, but every interrupt will occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this would happen? I can't seem to find anything in documentation on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 22:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734089#M114240</guid>
      <dc:creator>cashreuser</dc:creator>
      <dc:date>2018-04-13T22:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: DMA interrupt on Major Loop complete without the XFER_DONE bit being set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734090#M114241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P&gt;do you means it generate the DMA interrupt, but don't see the DONE flag in CSR register is set? could you share me the CSR register contents, also where to check CSR register? does it entry of DMA interrupt service routine?&lt;/P&gt;&lt;P&gt;is it function EDMA_HandleIRQ()? or others?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 17:11:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734090#M114241</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2018-04-24T17:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: DMA interrupt on Major Loop complete without the XFER_DONE bit being set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734091#M114242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem. &lt;BR /&gt;I had 3 DMA in scatter gather mode going at the same time. I tried to do some processing in the interrupts, so the other TCDs would start executing. When I left the first interrupt, and the other interrupt fired, the DMA would show that the transfer was in progress.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved the processing outside the interrupt and all is good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 19:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734091#M114242</guid>
      <dc:creator>cashreuser</dc:creator>
      <dc:date>2018-04-24T19:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: DMA interrupt on Major Loop complete without the XFER_DONE bit being set</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734092#M114243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good to hear that Cash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing your solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 20:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DMA-interrupt-on-Major-Loop-complete-without-the-XFER-DONE-bit/m-p/734092#M114243</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2018-04-24T20:33:19Z</dc:date>
    </item>
  </channel>
</rss>

