<?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.MX6Q UART3 hardware flow control not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355376#M49706</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;Can i know how you tested UART H/W flow control&lt;/P&gt;&lt;P&gt;Any Test application to test Serial UART CTS/RTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Deepanraj.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 05:08:20 GMT</pubDate>
    <dc:creator>deepanrajanbara</dc:creator>
    <dc:date>2016-05-11T05:08:20Z</dc:date>
    <item>
      <title>I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355373#M49703</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 trying to use the UART3 on my SABRE board but can't get the hardware flow-control working correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've done:&lt;/P&gt;&lt;P&gt;I use a Yocto image built from the official freescale BSP sources: &lt;A href="http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/log/?h=dora_3.10.17-1.0.0_GA" title="http://git.freescale.com/git/cgit.cgi/imx/meta-fsl-bsp-release.git/log/?h=dora_3.10.17-1.0.0_GA"&gt;meta-fsl-bsp-release.git - Freescale i.MX Yocto BSP Release Layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I connected the UART3 via the following pins: EIM_D25 -&amp;gt; RX, EIM_D24 -&amp;gt; TX, EIM_D30 -&amp;gt; CTS, SD3_RST -&amp;gt; RTS&lt;/P&gt;&lt;P&gt;In the device tree, I've configured the uart3 with the following pins:&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_EIM_D25__UART3_RX_DATA&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_EIM_D24__UART3_TX_DATA&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_EIM_D30__UART3_CTS_B&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_SD3_RST__UART3_RTS_B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can see the &lt;SPAN style="font-family: andale mono,times;"&gt;/dev/ttymxc2&lt;/SPAN&gt; device on my SABRE board and &lt;SPAN style="font-family: andale mono,times;"&gt;cat /sys/kernel/debug/pinctrl/pinctrl-handles&lt;/SPAN&gt; shows that the pins are muxed for the serial port. Sending and receiving data works correctly if hardware flow-control is disabled. When I enable hardware flow-control, I can send data but receive data does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected behaviour:&lt;/P&gt;&lt;P&gt;When trying to receive data, I expect that the i.MX6 would pull down the signal on EIM_D30 (UART3_CTS_B) to signal the other device that it is allowed to send data. But the signal is not pulled down and so the other device will not start sending data which in turn means, that the read operation on the i.MX6 will block forever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what I am missing here? Are my expectations wrong? Did I misconfigure the UART3 (e.g. wrong device tree config)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 12:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355373#M49703</guid>
      <dc:creator>michaeldoswald</dc:creator>
      <dc:date>2014-08-13T12:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355374#M49704</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;Can you share the .dts file?&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>Thu, 21 Aug 2014 15:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355374#M49704</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2014-08-21T15:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355375#M49705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now figured out the problem and the UART3 is working with hardware flow control. I did not realize that the '&lt;EM&gt;fsl,imx6q-uart&lt;/EM&gt;' driver has an optional flag named '&lt;EM&gt;fsl,uart-has-rtscts&lt;/EM&gt;' which must be set when the RTS and CTS lines are connected. I've updated my .dts file to include this flag and the hardware flow control is now working correctly.&lt;/P&gt;&lt;P&gt;I'm still not sure why the 'send' portion of the hardware flow control was working as expected even though I did not set up the '&lt;EM&gt;fsl,uart-has-rtscts&lt;/EM&gt;' flag at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My .dts file now contains this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;uart3 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-names = "default";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart3_2&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,uart-has-rtscts;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl_uart3_2: uart3grp-2 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fsl,pins = &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D23__UART3_CTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6QDL_PAD_EIM_D31__UART3_RTS_B&amp;nbsp;&amp;nbsp; 0x1b0b1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 07:26:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355375#M49705</guid>
      <dc:creator>michaeldoswald</dc:creator>
      <dc:date>2014-08-22T07:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355376#M49706</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;Can i know how you tested UART H/W flow control&lt;/P&gt;&lt;P&gt;Any Test application to test Serial UART CTS/RTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Deepanraj.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 05:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355376#M49706</guid>
      <dc:creator>deepanrajanbara</dc:creator>
      <dc:date>2016-05-11T05:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355377#M49707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepanraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have a dedicated test application for UART with CTS/RTS. The tests I've done were performed with the application I was writing. I'm afraid that application is proprietary and closed source though, so I can't provide you with any source code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 07:52:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355377#M49707</guid>
      <dc:creator>michaeldoswald</dc:creator>
      <dc:date>2016-05-11T07:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: I.MX6Q UART3 hardware flow control not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355378#M49708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Deepanraj.A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 07:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I-MX6Q-UART3-hardware-flow-control-not-working/m-p/355378#M49708</guid>
      <dc:creator>deepanrajanbara</dc:creator>
      <dc:date>2016-05-11T07:54:03Z</dc:date>
    </item>
  </channel>
</rss>

