<?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のトピックUART RX SDMA problem on iMX6Q</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491583#M78891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a quite a strange issue with the subject.&lt;/P&gt;&lt;P&gt;It look like it only partially works.&lt;/P&gt;&lt;P&gt;I have UART4 configured for SDMA with&lt;/P&gt;&lt;P&gt; - RXTL set to 16 bytes&lt;/P&gt;&lt;P&gt; - TXTL set to 16 bytes&lt;/P&gt;&lt;P&gt; - DMA ageing turned on&lt;/P&gt;&lt;P&gt; - SDMA watermark level set to 16 bytes as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problem when transfer size is exactly 16 bytes, in this case SDMA interrupt does not trigger.&lt;/P&gt;&lt;P&gt;If I send from 1 to 15 bytes I receive RX interrupt and get the data correctly.&lt;/P&gt;&lt;P&gt;If I send 16 bytes I don't get RX interrupt at all.&lt;/P&gt;&lt;P&gt;If I send 16 bytes and then 1 extra byte after a delay I will get interrupt and read all 17 bytes ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it look like I can get DMA data ageing interrupt but can't get normal watermark based interrupt.&lt;/P&gt;&lt;P&gt;I tripple checked UART code and cannot find any issue, everything look completely fine.&lt;/P&gt;&lt;P&gt;Checked SDMA channel configuration and found no configuration error as well.&lt;/P&gt;&lt;P&gt;Can you please suggest where do I need to have a look to check fo SDMA possible watermark errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It look like only UART that suffers, other devices which use SDMA work completely fine.&lt;/P&gt;&lt;P&gt;My platform is Windows Embedded Compact 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alexey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2016 08:04:55 GMT</pubDate>
    <dc:creator>AlexeyT</dc:creator>
    <dc:date>2016-01-15T08:04:55Z</dc:date>
    <item>
      <title>UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491583#M78891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a quite a strange issue with the subject.&lt;/P&gt;&lt;P&gt;It look like it only partially works.&lt;/P&gt;&lt;P&gt;I have UART4 configured for SDMA with&lt;/P&gt;&lt;P&gt; - RXTL set to 16 bytes&lt;/P&gt;&lt;P&gt; - TXTL set to 16 bytes&lt;/P&gt;&lt;P&gt; - DMA ageing turned on&lt;/P&gt;&lt;P&gt; - SDMA watermark level set to 16 bytes as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problem when transfer size is exactly 16 bytes, in this case SDMA interrupt does not trigger.&lt;/P&gt;&lt;P&gt;If I send from 1 to 15 bytes I receive RX interrupt and get the data correctly.&lt;/P&gt;&lt;P&gt;If I send 16 bytes I don't get RX interrupt at all.&lt;/P&gt;&lt;P&gt;If I send 16 bytes and then 1 extra byte after a delay I will get interrupt and read all 17 bytes ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it look like I can get DMA data ageing interrupt but can't get normal watermark based interrupt.&lt;/P&gt;&lt;P&gt;I tripple checked UART code and cannot find any issue, everything look completely fine.&lt;/P&gt;&lt;P&gt;Checked SDMA channel configuration and found no configuration error as well.&lt;/P&gt;&lt;P&gt;Can you please suggest where do I need to have a look to check fo SDMA possible watermark errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It look like only UART that suffers, other devices which use SDMA work completely fine.&lt;/P&gt;&lt;P&gt;My platform is Windows Embedded Compact 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alexey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 08:04:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491583#M78891</guid>
      <dc:creator>AlexeyT</dc:creator>
      <dc:date>2016-01-15T08:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491584#M78892</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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; When DMA is applied, some issues may be caused by improper FIFO read &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;watermark level : say,&amp;nbsp; configure it so, that burst length is half of FIFO.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 05:22:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491584#M78892</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-01-18T05:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491585#M78893</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;I reduced watermark level in SDMA configuration to 8 bytes which is 1/2 of RXTL (keeping RXTL at 16 bytes).&lt;/P&gt;&lt;P&gt;It fixed the issue.&lt;/P&gt;&lt;P&gt;Tried other configuration variants but nothing else seem to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;P&gt;Alexey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 08:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491585#M78893</guid>
      <dc:creator>AlexeyT</dc:creator>
      <dc:date>2016-01-18T08:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491586#M78894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the similar&amp;nbsp;issue&amp;nbsp;on iMX6SoloLite, and I can't fix it with Alexey's way.&amp;nbsp;I configured below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;- TXTL set to 16 bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- TXTL set to 16 bytes&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- DMA ageing turned on&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- SDMA watermark level set to 8&amp;nbsp;bytes as well&lt;/P&gt;&lt;P&gt;but&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SDMA interrupt didn't&amp;nbsp;trigger with exact&amp;nbsp;16 bytes. Does this&amp;nbsp;solution&amp;nbsp;work on iMX6SoloLite?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Ichimura&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 09:28:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491586#M78894</guid>
      <dc:creator>shinichiichimur</dc:creator>
      <dc:date>2017-04-05T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491587#M78895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Ichimura !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Is it possible for You to create separate thread in this Community or&lt;/P&gt;&lt;P&gt;create request &lt;A class="link-titled" href="http://www.nxp.com/support/sales-and-support:SUPPORTHOME" title="http://www.nxp.com/support/sales-and-support:SUPPORTHOME"&gt;Sales and Support|NXP&lt;/A&gt;&amp;nbsp; &amp;nbsp;?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 11:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491587#M78895</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-04-05T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: UART RX SDMA problem on iMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491588#M78896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see, I'm ok.&amp;nbsp;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Ichimura&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 14:14:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART-RX-SDMA-problem-on-iMX6Q/m-p/491588#M78896</guid>
      <dc:creator>shinichiichimur</dc:creator>
      <dc:date>2017-04-05T14:14:26Z</dc:date>
    </item>
  </channel>
</rss>

