<?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 imx6 uart RTS_B change not detected in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474418#M75176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;imx communicty!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using imx6q processor to connect CC2565 BT module via its uart port. hardware flow control is enabled.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered an uart rts interrupt detected issue, which block my uart interface.&lt;/P&gt;&lt;P&gt;By polling UARTx_USR1 , it is clear that RTSS has changed, however, RTSD is not set, so interrupt is not set, hence the program to wakeup uart do not get called.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached logfile.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 85:&amp;nbsp; RTS_B changed to inactive interrupt is detected.&lt;/P&gt;&lt;P&gt;Line 88:&amp;nbsp; uart tx is stopped.&lt;/P&gt;&lt;P&gt;Line 93:&amp;nbsp; Confirm that RTSD is cleared before quit imx_int, and RTSS is still inactive.&lt;/P&gt;&lt;P&gt;Line 116: Checked that RTSS is active by read USR1, but RTSD is not set. This is the problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And between Line 93 and Line 116, No operation on RTSD such as interrupt clear are observed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the problem? Looks like a hardware bug to me.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please confirm this or point me out what could be wrong.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yunchuan&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336560"&gt;uart_rts_interrrupt_missed.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Dec 2015 09:49:11 GMT</pubDate>
    <dc:creator>ycgeng</dc:creator>
    <dc:date>2015-12-10T09:49:11Z</dc:date>
    <item>
      <title>imx6 uart RTS_B change not detected</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474418#M75176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;imx communicty!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using imx6q processor to connect CC2565 BT module via its uart port. hardware flow control is enabled.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered an uart rts interrupt detected issue, which block my uart interface.&lt;/P&gt;&lt;P&gt;By polling UARTx_USR1 , it is clear that RTSS has changed, however, RTSD is not set, so interrupt is not set, hence the program to wakeup uart do not get called.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the attached logfile.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Line 85:&amp;nbsp; RTS_B changed to inactive interrupt is detected.&lt;/P&gt;&lt;P&gt;Line 88:&amp;nbsp; uart tx is stopped.&lt;/P&gt;&lt;P&gt;Line 93:&amp;nbsp; Confirm that RTSD is cleared before quit imx_int, and RTSS is still inactive.&lt;/P&gt;&lt;P&gt;Line 116: Checked that RTSS is active by read USR1, but RTSD is not set. This is the problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And between Line 93 and Line 116, No operation on RTSD such as interrupt clear are observed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the problem? Looks like a hardware bug to me.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please confirm this or point me out what could be wrong.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yunchuan&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336560"&gt;uart_rts_interrrupt_missed.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 09:49:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474418#M75176</guid>
      <dc:creator>ycgeng</dc:creator>
      <dc:date>2015-12-10T09:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 uart RTS_B change not detected</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474419#M75177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using Linux? Which version? Can you share the register configuration?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 16:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474419#M75177</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-12-16T16:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 uart RTS_B change not detected</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474420#M75178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use linux. But I found the reason myself already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is because software reset are taken asynchronously with RTS_B arrival. It happens when the uart module are in software reset status, and RTS_B change its state, then the detection is missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I work around this by checking RTSS status every time after Software reset(in imx_flush_buffer function). Now the system works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yunchuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 18:10:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-uart-RTS-B-change-not-detected/m-p/474420#M75178</guid>
      <dc:creator>ycgeng</dc:creator>
      <dc:date>2015-12-16T18:10:43Z</dc:date>
    </item>
  </channel>
</rss>

