<?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のトピックIMX6DL In Yocto UART3 with CTS and RTS configure</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-In-Yocto-UART3-with-CTS-and-RTS-configure/m-p/346159#M47813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HW Env:&amp;nbsp;&amp;nbsp; IMX6DL&lt;/P&gt;&lt;P&gt;SF&amp;nbsp; Env:&amp;nbsp; Yocto (Kernel version 3.10.7)&lt;/P&gt;&lt;P&gt;I connect the BT module with UART3(with CTS and RTS), the PIN ctrl is like the flow:&lt;/P&gt;&lt;P&gt;UART3_CTS&amp;lt;--------&amp;gt;EIM_D30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x4;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x130b1)&lt;/P&gt;&lt;P&gt;UART3_RTS&amp;lt;--------&amp;gt;EIM_D31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x4;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x130b1)&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;UART3_RXD&amp;lt;--------&amp;gt;EIM_D25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x2;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x1b0b1)&lt;/P&gt;&lt;P&gt;UART3_TXD&amp;lt;--------&amp;gt;EIM_D24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x2;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x1b0b1)&lt;/P&gt;&lt;P&gt;the daisy is configured already:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'lucida Grande', Verdana; font-size: 14px;"&gt;IOMUXC_UART3_UART_RTS_B_SELECT_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &lt;SPAN style="color: #000000; font-family: 'lucida Grande', Verdana; font-size: 14px;"&gt;0x2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = 0x1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;I tested the BT module with another uart(ttyUSB0)and it work ok when it connected the ttyUSB0 uart, so think the BT module is OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;when i connect the BT to UART3(ttymxc2),and&amp;nbsp; powered up, then use the bt-app write data to uart3 and the BT-CTS and BT-RXD pin is high level without any change, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47164i2F161808A9D139F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;then Ctrl+C the bt-app, and try again, the BT-CTS is low and data can be transfer on BT-RXD, but sometimes failed in transfering, if success the BT-CTS will hight(int ttyUSB0, the BT-CTS will be hold low), like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47339iCC1A294EF5574CE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 08:57:58 GMT</pubDate>
    <dc:creator>wenjingwang</dc:creator>
    <dc:date>2015-01-15T08:57:58Z</dc:date>
    <item>
      <title>IMX6DL In Yocto UART3 with CTS and RTS configure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-In-Yocto-UART3-with-CTS-and-RTS-configure/m-p/346159#M47813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HW Env:&amp;nbsp;&amp;nbsp; IMX6DL&lt;/P&gt;&lt;P&gt;SF&amp;nbsp; Env:&amp;nbsp; Yocto (Kernel version 3.10.7)&lt;/P&gt;&lt;P&gt;I connect the BT module with UART3(with CTS and RTS), the PIN ctrl is like the flow:&lt;/P&gt;&lt;P&gt;UART3_CTS&amp;lt;--------&amp;gt;EIM_D30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x4;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x130b1)&lt;/P&gt;&lt;P&gt;UART3_RTS&amp;lt;--------&amp;gt;EIM_D31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x4;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x130b1)&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;UART3_RXD&amp;lt;--------&amp;gt;EIM_D25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x2;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x1b0b1)&lt;/P&gt;&lt;P&gt;UART3_TXD&amp;lt;--------&amp;gt;EIM_D24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (mux_reg = 0x2;&amp;nbsp;&amp;nbsp; pad_reg&amp;nbsp; = 0x1b0b1)&lt;/P&gt;&lt;P&gt;the daisy is configured already:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'lucida Grande', Verdana; font-size: 14px;"&gt;IOMUXC_UART3_UART_RTS_B_SELECT_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &lt;SPAN style="color: #000000; font-family: 'lucida Grande', Verdana; font-size: 14px;"&gt;0x2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;IOMUXC_UART3_UART_RX_DATA_SELECT_INPUT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = 0x1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;I tested the BT module with another uart(ttyUSB0)and it work ok when it connected the ttyUSB0 uart, so think the BT module is OK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;when i connect the BT to UART3(ttymxc2),and&amp;nbsp; powered up, then use the bt-app write data to uart3 and the BT-CTS and BT-RXD pin is high level without any change, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47164i2F161808A9D139F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;then Ctrl+C the bt-app, and try again, the BT-CTS is low and data can be transfer on BT-RXD, but sometimes failed in transfering, if success the BT-CTS will hight(int ttyUSB0, the BT-CTS will be hold low), like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47339iCC1A294EF5574CE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; font-family: 'lucida Grande', Verdana;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 08:57:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-In-Yocto-UART3-with-CTS-and-RTS-configure/m-p/346159#M47813</guid>
      <dc:creator>wenjingwang</dc:creator>
      <dc:date>2015-01-15T08:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6DL In Yocto UART3 with CTS and RTS configure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-In-Yocto-UART3-with-CTS-and-RTS-configure/m-p/346160#M47814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please refer to the following regarding i.MX6 UART specifics.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"i.MX6: What does the DTE/DCE in i.MX6's UART do and how are RTS and CTS affected &lt;BR /&gt; by the UARTxUFCR[DTEDCE] bit?"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="97509" data-objecttype="102" href="https://community.freescale.com/docs/DOC-97509"&gt;https://community.freescale.com/docs/DOC-97509&lt;/A&gt;&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>Thu, 15 Jan 2015 09:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6DL-In-Yocto-UART3-with-CTS-and-RTS-configure/m-p/346160#M47814</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-01-15T09:27:37Z</dc:date>
    </item>
  </channel>
</rss>

