<?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 Re: Question about I.MX6 SDMA Interrupt Generation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238314#M19420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have customized platform of SabreSD&lt;STRONG&gt; I.MX 6Q&lt;/STRONG&gt;.&lt;BR /&gt;As you said, "" &lt;EM&gt;Generally it is possible to mask (disable) some channles in the INTRMASK - in order to skip possible overflow of data for some active channel.&lt;/EM&gt; ""&lt;BR /&gt;Now, question regarding &lt;STRONG&gt;SDMAARM_INTRMASK&lt;/STRONG&gt; register [&lt;EM&gt;Chapter 55 (SDMA), pg 4871, of I.MX6Q reference manual&lt;/EM&gt;].&lt;BR /&gt;It state that:: "" &lt;EM style="text-decoration: underline;"&gt;The Interrupt Mask Register contains 32 interrupt generation mask bits. If bit HIMASK[i] is set, the HI[i] bit is set and an interrupt is sent to the ARM platform when a DMA request error is detected on channel i (for example, EVTERR[i] is set).""&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On our platform, when i read this register values:: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Code start */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;stat = readl_relaxed(sdma-&amp;gt;regs + &lt;STRONG&gt;SDMA_H_INTRMSK&lt;/STRONG&gt;);&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Code end&amp;nbsp; */&lt;BR /&gt;I got value always '&lt;STRONG&gt;&lt;EM&gt;stat=0&lt;/EM&gt;&lt;/STRONG&gt;'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, even though there is no masking bit 'set', ARM Platform got interrupt &amp;amp; EVTERR[i] bit is set.&lt;BR /&gt;Reason to ask this, we are facing problem of Audio lost &amp;amp; only log we got that EVTERR[i] is set &amp;amp; "overflow of data" occurs for (i) DMA channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have created discussion here: &lt;A _jive_internal="true" href="https://community.nxp.com/message/380162"&gt;https://community.freescale.com/message/380162&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is SDMA &lt;EM&gt;disable/stop&lt;/EM&gt; the &lt;STRONG&gt;DMA channel&lt;/STRONG&gt; in case it found overflow of data for that channel?&lt;/P&gt;&lt;P&gt;Is there any way by which SDMA continue with its execution &amp;amp; don't stop the DMA Channel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply us !!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Ankit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 13:32:39 GMT</pubDate>
    <dc:creator>_at</dc:creator>
    <dc:date>2014-03-21T13:32:39Z</dc:date>
    <item>
      <title>Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238309#M19415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a technical question in Chapter 41 (SDMA) of I.MX6SL reference manual:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shall the generated interrupt status due to the "&lt;STRONG&gt;Done 3&lt;/STRONG&gt;" instruction be masked with &lt;STRONG&gt;INTRMASK&lt;/STRONG&gt; register before triggerring the interrupt signal to the ARM platform or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 13:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238309#M19415</guid>
      <dc:creator>ahmedabdelhalee</dc:creator>
      <dc:date>2013-12-02T13:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238310#M19416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The SDMA has ability to "warn the ARM platform when an incoming DMA request was&lt;/P&gt;&lt;P&gt;detected and it triggers a channel that is already pending or being serviced." SDMAARM_EVTERR is used for it.&lt;/P&gt;&lt;P&gt;If such kind of events are needed to be served / tracked, it is required to unmask (enable) corresponding events &lt;/P&gt;&lt;P&gt;in SDMAARM_INTRMASK. Generally it is possible to mask (disable) some channles in the INTRMASK - in order &lt;BR /&gt;to skip possible overflow of data for some active channel.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "If any of the INTRMASK bits is set, the EVTERR register should also be scanned, or at least cleared, since CHNERR[i]&lt;/P&gt;&lt;P&gt;conditions generate interrupts which are indistinguishable from H[i] interrupts."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 08:45:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238310#M19416</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-12-06T08:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238311#M19417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Yuri for your response about channel overflow condition, but I wanted also to know whether the masking through "SDMA_INTRMASK" register affects the generated interrupt via execution of "Done 3" instruction or once the "Done 3" instruction is decoded by SDMA, an interrupt is generated to the ARM platform regardless of the "SDMA_INTRMASK" register value (assuming no overflow in this case)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Dec 2013 13:56:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238311#M19417</guid>
      <dc:creator>ahmedabdelhalee</dc:creator>
      <dc:date>2013-12-07T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238312#M19418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;For "done 3" an interrupt is generated to the ARM platform regardless of the "SDMA_INTRMASK". &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 09:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238312#M19418</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-01-10T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238313#M19419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you :smileyhappy:..&amp;nbsp; this definitely answers my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 12:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238313#M19419</guid>
      <dc:creator>ahmedabdelhalee</dc:creator>
      <dc:date>2014-01-10T12:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238314#M19420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have customized platform of SabreSD&lt;STRONG&gt; I.MX 6Q&lt;/STRONG&gt;.&lt;BR /&gt;As you said, "" &lt;EM&gt;Generally it is possible to mask (disable) some channles in the INTRMASK - in order to skip possible overflow of data for some active channel.&lt;/EM&gt; ""&lt;BR /&gt;Now, question regarding &lt;STRONG&gt;SDMAARM_INTRMASK&lt;/STRONG&gt; register [&lt;EM&gt;Chapter 55 (SDMA), pg 4871, of I.MX6Q reference manual&lt;/EM&gt;].&lt;BR /&gt;It state that:: "" &lt;EM style="text-decoration: underline;"&gt;The Interrupt Mask Register contains 32 interrupt generation mask bits. If bit HIMASK[i] is set, the HI[i] bit is set and an interrupt is sent to the ARM platform when a DMA request error is detected on channel i (for example, EVTERR[i] is set).""&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On our platform, when i read this register values:: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Code start */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;stat = readl_relaxed(sdma-&amp;gt;regs + &lt;STRONG&gt;SDMA_H_INTRMSK&lt;/STRONG&gt;);&lt;/EM&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Code end&amp;nbsp; */&lt;BR /&gt;I got value always '&lt;STRONG&gt;&lt;EM&gt;stat=0&lt;/EM&gt;&lt;/STRONG&gt;'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, even though there is no masking bit 'set', ARM Platform got interrupt &amp;amp; EVTERR[i] bit is set.&lt;BR /&gt;Reason to ask this, we are facing problem of Audio lost &amp;amp; only log we got that EVTERR[i] is set &amp;amp; "overflow of data" occurs for (i) DMA channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have created discussion here: &lt;A _jive_internal="true" href="https://community.nxp.com/message/380162"&gt;https://community.freescale.com/message/380162&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is SDMA &lt;EM&gt;disable/stop&lt;/EM&gt; the &lt;STRONG&gt;DMA channel&lt;/STRONG&gt; in case it found overflow of data for that channel?&lt;/P&gt;&lt;P&gt;Is there any way by which SDMA continue with its execution &amp;amp; don't stop the DMA Channel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply us !!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-Ankit. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 13:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238314#M19420</guid>
      <dc:creator>_at</dc:creator>
      <dc:date>2014-03-21T13:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about I.MX6 SDMA Interrupt Generation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238315#M19421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; "If part or whole data is not in the FIFO, an external burst read access is &lt;BR /&gt;performed to provide the &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;missing data. The SDMA is stalled as long as the &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;required read data is not &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;complete."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Yuri.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 07:33:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-I-MX6-SDMA-Interrupt-Generation/m-p/238315#M19421</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-04-21T07:33:40Z</dc:date>
    </item>
  </channel>
</rss>

