<?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: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1482858#M192078</link>
    <description>&lt;P&gt;Anyone really solved this issue with the above device tree along above device tree? I see its solved but looks like there is no solution provided.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 14:54:09 GMT</pubDate>
    <dc:creator>piyyamperumal</dc:creator>
    <dc:date>2022-06-30T14:54:09Z</dc:date>
    <item>
      <title>i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460022#M72144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read a lot of posts in this community and on the internet&lt;/P&gt;&lt;P&gt;and the datasheet but I'm still confused about the RTS/CTS management with i.MX6.&lt;/P&gt;&lt;P&gt;Looks line any board is supporting these signals properly nor anybody really cares about them, &lt;/P&gt;&lt;P&gt;so I wonder if someone out there has experienced and solved this problem.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-97509"&gt;https://community.freescale.com/docs/DOC-97509&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to reproduce the behaviour I have connecting two PCs with a &lt;/P&gt;&lt;P&gt;Loopback handshaking null modem cable&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/Null_modem#Loopback_handshaking"&gt;https://en.wikipedia.org/wiki/Null_modem#Loopback_handshaking&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use 2 PCs I see RTS low during the transmission of data on TX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using an i.MX6 UART3 (/dev/ttymxc2) configured in the Device Tree as follows&lt;/P&gt;&lt;P&gt;I get this 2 different behaviours depending on the "fsl,dte-mode" only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX and RTS are normally low&lt;/P&gt;&lt;P&gt;If I set "fsl,dte-mode" I see RTS going high during a period of time similar to the trasmission of data&lt;/P&gt;&lt;P&gt;but there is no data exiting out on TX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I comment (unset) "fsl,dte-mode" I see data exiting out on TX&lt;/P&gt;&lt;P&gt;but RTS is always low not moving and not handshaking data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be possible to use RTS/CTS like a PC does?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this with linux kernel 3.14.28 and 4.1.15 without success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;pinctrl_uart3_mh: uart3grp-mh {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D23__UART3_CTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D31__UART3_RTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;amp;uart3 {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // /dev/ttymxc2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart3_mh&amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,uart-has-rtscts;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,dte-mode;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;};&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hint would be greatly appreciated.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460022#M72144</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2016-04-19T15:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460023#M72145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="218578" data-username="marcocavallini" href="https://community.nxp.com/people/marcocavallini"&gt;Marco &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes, we are often confused about these 2 concepts on UART port. Let me give you my explanation to you :&lt;/P&gt;&lt;P&gt;DCE side: provide clock to other side(DTE). In the mode, CTS is &lt;STRONG&gt;OUTPUT&lt;/STRONG&gt;, RTS is &lt;STRONG&gt;INPUT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;DTE side:&amp;nbsp; working with clock from DCT.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the mode, CTS is &lt;STRONG&gt;INPUT&lt;/STRONG&gt;, RTS is &lt;STRONG&gt;OUTPUT&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Gernerally speaking, before you connect one device to the other, you only need to confirm CTS &amp;amp; RTS directions of UART for 2 devices. For example, connecting UART of I.MX6 to that of PC.&lt;/P&gt;&lt;P&gt;PC( usually, DTE device): PC_UART_CTS ----INPUT; PC_UART_RTS---OUTPUT.&lt;/P&gt;&lt;P&gt;I.MX6(using DCE mode);&amp;nbsp; MX6_UART_CTS---OUTPUT; MX6_UART_RTS--INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect 2 devices together:&lt;/P&gt;&lt;P&gt;PC_UART_CTS-------MX6_UART_CTS&lt;/P&gt;&lt;P&gt;PC_UART_RTS-------MX6_UART_RTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you set I.MX6 UART &lt;STRONG&gt;DTE&lt;/STRONG&gt; mode, it means:&lt;/P&gt;&lt;P&gt;I.MX6(using DTE mode);&amp;nbsp; MX6_UART_CTS---INPUT; MX6_UART_RTS--OUTPUT.&lt;/P&gt;&lt;P&gt;conections will be changed:&lt;/P&gt;&lt;P&gt;PC_UART_CTS-------MX6_UART_RTS&lt;/P&gt;&lt;P&gt;PC_UART_RTS-------MX6_UART_CTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You only need to ensure signal directions are correct !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above explanation can help you !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 03:28:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460023#M72145</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-04-20T03:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460024#M72146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;thank you for answering.&lt;/P&gt;&lt;P&gt;I tried doing the way you told me, but I can't see any change.&lt;/P&gt;&lt;P&gt;I measured the signals TX,RX,RTS,CTS with a scope directly on the CPU pin (TTL) before the TTL-RS232 converter (I removed it)&lt;/P&gt;&lt;P&gt;The signals operate in the same manner and I didn't notice any swap on their behaviour.&lt;/P&gt;&lt;P&gt;The result of my test is that if I enable &lt;STRONG&gt;dte-mode&lt;/STRONG&gt; in the DeviceTree I don't have any data out on the TX line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I see transmitting a single char using &lt;STRONG&gt;minicom&lt;/STRONG&gt; with a PC&lt;/P&gt;&lt;P&gt;When I use the iMX6 based board (&lt;STRONG&gt;/dev/ttymxc2&lt;/STRONG&gt;) the RTS line is the same (high) but TX is always low and no data exit out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="uart-rtscts.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35153i54FDDC447373FAD0/image-size/large?v=v2&amp;amp;px=999" role="button" title="uart-rtscts.png" alt="uart-rtscts.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried these settings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;// DCE mode : standard&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D23__UART3_CTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D31__UART3_RTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;// DTE mode : requires fsl,dte-mode; (RTS/CTS inverted)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D23__UART3_RTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D31__UART3_CTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;// DTE mode : requires fsl,dte-mode; (all inverted)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D25__UART3_TX_DATA 0x1b0b1&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D23__UART3_RTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: andale mono,times;"&gt;MX6QDL_PAD_EIM_D31__UART3_CTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm even more confused.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 10:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460024#M72146</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2016-04-20T10:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460025#M72147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took several iterations on both the i.MX6 side and the other, but eventually we did get CTS/RTS working on our 6Q custom board.&amp;nbsp; We're using the default DCE mode for the UART.&amp;nbsp; We set the "fsl,uart-has-rtscts" property on the uart in the device tree for the driver to make use of the pins, and use the "stty -F /dev/ttymxc&amp;lt;n&amp;gt; crtscts" command to turn it on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460025#M72147</guid>
      <dc:creator>madisox</dc:creator>
      <dc:date>2016-04-21T16:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460026#M72148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you madisox,&lt;/P&gt;&lt;P&gt;During my tests I use &lt;STRONG&gt;minicom&lt;/STRONG&gt;, so the Hardware Flow Control is activated like you did with "&lt;STRONG&gt;stty -F /dev/ttymxc&amp;lt;n&amp;gt; crtscts&lt;/STRONG&gt;" command.&lt;/P&gt;&lt;P&gt;I can't use the default DCE mode for the UART because I need that the RTS signal operated like with PC, so normally high and gets low when I want to TX.&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="text-decoration: underline;"&gt;huge&lt;/SPAN&gt; problem here is that if I enable &lt;STRONG&gt;dte-mode&lt;/STRONG&gt; in the DeviceTree I don't have any data out on the TX line (&lt;SPAN style="text-decoration: underline;"&gt;even though I connect RTS to CTS to enable transmission&lt;/SPAN&gt;), and I wonder if this is a silicon bug or a lack in the &lt;STRONG&gt;imx.c&lt;/STRONG&gt; driver.&lt;/P&gt;&lt;P&gt;Any further help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 07:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460026#M72148</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2016-04-22T07:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460027#M72149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At last I understood the behaviour and solved the problem.&lt;/P&gt;&lt;P&gt;This post explains everything perfectly: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-97509"&gt;https://community.freescale.com/docs/DOC-97509&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Be careful: dte-mode swaps &lt;STRONG&gt;RTS/CTS&lt;/STRONG&gt; &lt;STRONG style="text-decoration: underline;"&gt;and TX/RX&lt;/STRONG&gt; pins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 13:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460027#M72149</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2016-05-16T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460028#M72150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition I'm attaching the excerpt from NXP documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="iMX6-UART-DTE-DCE.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/109734iCE5FD072EC3AF2E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="iMX6-UART-DTE-DCE.png" alt="iMX6-UART-DTE-DCE.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Marco Cavallini | KOAN sas | Bergamo - Italia &lt;BR /&gt;embedded software engineering &lt;BR /&gt;&lt;A class="" href="https://KoanSoftware.com"&gt;https://KoanSoftware.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 07:58:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/460028#M72150</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2020-08-06T07:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1283414#M174622</link>
      <description>&lt;P&gt;Hi there. I have digged around of the topic.&lt;/P&gt;&lt;P&gt;I would like to finish this topic with one clear&amp;nbsp;though: There is no possibility to swap RX&amp;lt;=&amp;gt;TX without swapping CTS&amp;lt;=&amp;gt;RTS.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp;Is it right?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 10:55:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1283414#M174622</guid>
      <dc:creator>Kanstantsin</dc:creator>
      <dc:date>2021-05-27T10:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1283448#M174627</link>
      <description>&lt;P&gt;right&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 11:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1283448#M174627</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-05-27T11:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1482858#M192078</link>
      <description>&lt;P&gt;Anyone really solved this issue with the above device tree along above device tree? I see its solved but looks like there is no solution provided.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1482858#M192078</guid>
      <dc:creator>piyyamperumal</dc:creator>
      <dc:date>2022-06-30T14:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1482994#M192083</link>
      <description>&lt;P&gt;Hi there. There is no possibility to swap RX&amp;lt;=&amp;gt;TX without swapping CTS&amp;lt;=&amp;gt;RTS.&lt;/P&gt;&lt;P&gt;You can swap RX &amp;lt;=&amp;gt; TX if&amp;nbsp; you don't use CTS and RTS easily.&lt;/P&gt;&lt;P&gt;If you use&amp;nbsp;&amp;nbsp;TX/RX and CTS/RTS - and want to то swap only one of them =&amp;gt; you must do&amp;nbsp; it in hardware.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 19:35:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1482994#M192083</guid>
      <dc:creator>Kanstantsin1</dc:creator>
      <dc:date>2022-06-30T19:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1483036#M192084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We had a mistake in our board, RX &amp;amp;TX, CTS &amp;amp; RTS are connected 1 to 1 directly to the device from iMX8, and below is the existing Hardware connection done on our board. It's impossible to do the hardware reworked to swap these signals. Instead, I would like to swap inside the IO Port and IOMUX.&amp;nbsp;&lt;/P&gt;&lt;TABLE width="631"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="631"&gt;&lt;STRONG&gt;Existing UART Connections Between iMX8 &amp;amp; BT Device&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;UART IP port, Internal&lt;/TD&gt;&lt;TD width="98"&gt;IO Direction&lt;/TD&gt;&lt;TD&gt;iMX8 PIN OUT&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Device Side Signals &amp;amp; Pins Connected&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;RTS_B&lt;/TD&gt;&lt;TD width="98"&gt;I&lt;/TD&gt;&lt;TD width="109"&gt;UART_RTS_B&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="257"&gt;UART_RTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;CTS_B&lt;/TD&gt;&lt;TD width="98"&gt;O&lt;/TD&gt;&lt;TD width="109"&gt;UART_CTS_B&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="257"&gt;UART_CTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;RXD&lt;/TD&gt;&lt;TD width="98"&gt;I&lt;/TD&gt;&lt;TD width="109"&gt;UART_RXD&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;UART_RXD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;TXD&lt;/TD&gt;&lt;TD width="98"&gt;O&lt;/TD&gt;&lt;TD width="109"&gt;UART_TXD&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;UART_TXD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;I have updated the device tree with the like below and I am trying to use UART3 in DTE mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;New UART Swap within the iMX8 and BT Device connection&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="226"&gt;DTE Mode (DCEDTE=1)&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;UART IP port, Internal&lt;/TD&gt;&lt;TD width="98"&gt;IO Direction&lt;/TD&gt;&lt;TD width="109"&gt;iMX8 PIN OUT&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="257"&gt;Device Side Signals &amp;amp; Pins Connected&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;RTS_B&lt;/TD&gt;&lt;TD width="98"&gt;I&lt;/TD&gt;&lt;TD width="109"&gt;UART_CTS_B&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="257"&gt;UART_RTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;CTS_B&lt;/TD&gt;&lt;TD width="98"&gt;O&lt;/TD&gt;&lt;TD width="109"&gt;UART_RTS_B&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="257"&gt;UART_CTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;RXD&lt;/TD&gt;&lt;TD width="98"&gt;I&lt;/TD&gt;&lt;TD width="109"&gt;UART_TXD&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;UART_RXD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="128"&gt;TXD&lt;/TD&gt;&lt;TD width="98"&gt;O&lt;/TD&gt;&lt;TD width="109"&gt;UART_RXD&lt;/TD&gt;&lt;TD width="39"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;UART_TXD&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone explain, WIll this New IOMUX swap work with the device connected?&lt;/P&gt;&lt;P&gt;How do we set&amp;nbsp;&lt;SPAN&gt;UARTxUFCR[DTEDCE] bit?&amp;nbsp;&lt;/SPAN&gt;Is it the same as&amp;nbsp;&lt;SPAN&gt;"fsl,dte-mode"set"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also followed this &lt;A href="http://%20https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6-What-does-the-DTE-DCE-in-i-MX6-s-UART-do-and-how-are-RTS/ta-p/1105540" target="_self"&gt;link&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;to read about Swapping in the IOMUX and the possible solution I could See. but I couldn't see any transaction on the TX/RX signals?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone provide me the link to this solution, As this is saying solved?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Peri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 21:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1483036#M192084</guid>
      <dc:creator>piyyamperumal</dc:creator>
      <dc:date>2022-06-30T21:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1483254#M192100</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;1. I am not sure that IMX8 has the same problem with uart as imx6.&lt;/P&gt;&lt;P&gt;2. You can try next:&amp;nbsp; not use CTS/RTS from uart. Use them as GPIO and set high level&amp;nbsp; to enable transmit&amp;nbsp; from other side. Some of devices perfectly work on speeds up to 115200.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 06:58:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1483254#M192100</guid>
      <dc:creator>Kanstantsin1</dc:creator>
      <dc:date>2022-07-01T06:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1748560#M214895</link>
      <description>&lt;P&gt;Thanks Macro Cavallini&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 09:07:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1748560#M214895</guid>
      <dc:creator>adamhuang</dc:creator>
      <dc:date>2023-10-30T09:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6: how to use RTS/CTS properly using UART (DTE/DCE)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1899150#M225864</link>
      <description>&lt;P&gt;Thanks a lot!&lt;BR /&gt;I read several threads about this problem (replacing RTS/CTS in the documentation from NXP regarding the standard description of these lines) - many developers made such a mistake (I made one too). And this solution (declaring them GPIO and setting static levels) really works (tested on IMX8).&lt;BR /&gt;It would be nice if NXP included this solution in the documentation.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 05:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-how-to-use-RTS-CTS-properly-using-UART-DTE-DCE/m-p/1899150#M225864</guid>
      <dc:creator>sfatyushkin</dc:creator>
      <dc:date>2024-07-04T05:50:05Z</dc:date>
    </item>
  </channel>
</rss>

