<?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 i.mx6 uart hardware flow control RTS/CTS in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316506#M41935</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 want to use UART2 for BT module, the BT module have RTS/CTS.&lt;/P&gt;&lt;P&gt;UART2_TXD-----------&amp;gt;BT_UART_RX&lt;/P&gt;&lt;P&gt;UART2_RXD&amp;lt;-----------BT_UART_TX&lt;/P&gt;&lt;P&gt;UART2_RTS-----------&amp;gt;BT_UART_CTS&lt;/P&gt;&lt;P&gt;UART2_CTS&amp;lt;-----------BT_UART_RTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My uart2 configuration in kernel as bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static const struct imxuart_platform_data mx6_uart1_data __initconst = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .flags&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = IMXUART_HAVE_RTSCTS | IMXUART_USE_DCEDTE | IMXUART_SDMA,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_rx = MX6Q_DMA_REQ_UART2_RX,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_tx = MX6Q_DMA_REQ_UART2_TX,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6q_add_imx_uart(1, &amp;amp;mx6_octpath_uart1_data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, after doing this, the UART2_RTS pin is always high, which should be low i think to tell BT module to send data.&lt;/P&gt;&lt;P&gt;Is there other setting for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 09:09:25 GMT</pubDate>
    <dc:creator>shanxigjz</dc:creator>
    <dc:date>2014-07-07T09:09:25Z</dc:date>
    <item>
      <title>i.mx6 uart hardware flow control RTS/CTS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316506#M41935</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 want to use UART2 for BT module, the BT module have RTS/CTS.&lt;/P&gt;&lt;P&gt;UART2_TXD-----------&amp;gt;BT_UART_RX&lt;/P&gt;&lt;P&gt;UART2_RXD&amp;lt;-----------BT_UART_TX&lt;/P&gt;&lt;P&gt;UART2_RTS-----------&amp;gt;BT_UART_CTS&lt;/P&gt;&lt;P&gt;UART2_CTS&amp;lt;-----------BT_UART_RTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My uart2 configuration in kernel as bellow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static const struct imxuart_platform_data mx6_uart1_data __initconst = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .flags&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = IMXUART_HAVE_RTSCTS | IMXUART_USE_DCEDTE | IMXUART_SDMA,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_rx = MX6Q_DMA_REQ_UART2_RX,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_tx = MX6Q_DMA_REQ_UART2_TX,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6q_add_imx_uart(1, &amp;amp;mx6_octpath_uart1_data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, after doing this, the UART2_RTS pin is always high, which should be low i think to tell BT module to send data.&lt;/P&gt;&lt;P&gt;Is there other setting for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 09:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316506#M41935</guid>
      <dc:creator>shanxigjz</dc:creator>
      <dc:date>2014-07-07T09:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 uart hardware flow control RTS/CTS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316507#M41936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jianzhong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please see following suggestions!&lt;/P&gt;&lt;P&gt;1. Please check&amp;nbsp; if UART2 multiplexing is correct.&lt;/P&gt;&lt;P&gt;2.if you didn't still resolve the issue, would you please provide the following information?&lt;/P&gt;&lt;P&gt;(1) schematic of UART2 on CPU side.&lt;/P&gt;&lt;P&gt;(2) All source code on UART2 configurations including IOMUX&lt;/P&gt;&lt;P&gt;the source code you submitted was not complete, so please give me a part of complete source code on UART2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;EM style="font-size: 12pt;"&gt;In addition, I have to remind you signal io directions of UART:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #ff0000;"&gt;UART2_TXD-----------Output&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #ff0000;"&gt;UART2_RXD-----------Input&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #ff0000;"&gt;UART2_RTS-----------Input&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #ff0000;"&gt;UART2_CTS-----------Output&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;EM&gt;I feel your connections on hardware are not correct, please check it !&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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>Tue, 08 Jul 2014 02:12:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316507#M41936</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2014-07-08T02:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 uart hardware flow control RTS/CTS</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316508#M41937</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt;The schematic parts of uart is as bellow.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44837iD456BAA39DAED6B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And bellow is the uart source code.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;/* BT iomux setting*/&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;MX6Q_PAD_GPIO_7__UART2_TXD,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;MX6Q_PAD_GPIO_8__UART2_RXD,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;MX6Q_PAD_EIM_D28__UART2_CTS,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;MX6Q_PAD_EIM_D29__UART2_RTS,&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* source in XXXboard.c */&lt;/P&gt;&lt;P&gt;static const struct imxuart_platform_data mx6_uart1_data __initconst = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .flags&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = IMXUART_HAVE_RTSCTS | IMXUART_USE_DCEDTE | IMXUART_SDMA,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_rx = MX6Q_DMA_REQ_UART2_RX,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .dma_req_tx = MX6Q_DMA_REQ_UART2_TX,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;imx6q_add_imx_uart(1, &amp;amp;mx6_uart1_data);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 02:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-uart-hardware-flow-control-RTS-CTS/m-p/316508#M41937</guid>
      <dc:creator>shanxigjz</dc:creator>
      <dc:date>2014-07-08T02:31:42Z</dc:date>
    </item>
  </channel>
</rss>

