<?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中的主题 UART4 can't receive data</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UART4-can-t-receive-data/m-p/651717#M99725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm currently trying to receive data throught UART4, but it does not work. I can send data (on iMX6 with echo -en "hello" &amp;gt; /dev/ttymxc3) and it works, but when I do cat /dev/ttymxc3, I receive nothing from the host PC. I probed the RX pin, the data is correct.&lt;/P&gt;&lt;P&gt;This is my configuration :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;pinctrl_uart4: uart4grp { &lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;amp;uart4 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart4&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The registers for the Daisy chain seems to be set rightly:&lt;/P&gt;&lt;P&gt;IOMUXC_SW_MUX_CTL_PAD_KEY_COL0:0x020e01f8 =0x00000004&lt;/P&gt;&lt;P&gt;IOMUXC_SW_MUX_CTL_PAD_KEY_ROW0:0x020e01fc =0x00000004&lt;/P&gt;&lt;P&gt;IOMUXC_UART4_UART_RX_DATA_SELECT_INPUT:0x020e0938 =0x00000001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find attached two images, with the data on TX (in yellow) and RX (in blue), the data is decoded for more visibility. The sent data is correct, the received data also, but not displayed in linux&amp;nbsp; so I think there is an error somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on iMX6Q, Kernel 3.14.38.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pierre-Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 13:28:46 GMT</pubDate>
    <dc:creator>pierre-olivierh</dc:creator>
    <dc:date>2016-10-19T13:28:46Z</dc:date>
    <item>
      <title>UART4 can't receive data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART4-can-t-receive-data/m-p/651717#M99725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm currently trying to receive data throught UART4, but it does not work. I can send data (on iMX6 with echo -en "hello" &amp;gt; /dev/ttymxc3) and it works, but when I do cat /dev/ttymxc3, I receive nothing from the host PC. I probed the RX pin, the data is correct.&lt;/P&gt;&lt;P&gt;This is my configuration :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;pinctrl_uart4: uart4grp { &lt;BR /&gt; fsl,pins = &amp;lt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;amp;uart4 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart4&amp;gt;;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The registers for the Daisy chain seems to be set rightly:&lt;/P&gt;&lt;P&gt;IOMUXC_SW_MUX_CTL_PAD_KEY_COL0:0x020e01f8 =0x00000004&lt;/P&gt;&lt;P&gt;IOMUXC_SW_MUX_CTL_PAD_KEY_ROW0:0x020e01fc =0x00000004&lt;/P&gt;&lt;P&gt;IOMUXC_UART4_UART_RX_DATA_SELECT_INPUT:0x020e0938 =0x00000001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find attached two images, with the data on TX (in yellow) and RX (in blue), the data is decoded for more visibility. The sent data is correct, the received data also, but not displayed in linux&amp;nbsp; so I think there is an error somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm on iMX6Q, Kernel 3.14.38.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Pierre-Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 13:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART4-can-t-receive-data/m-p/651717#M99725</guid>
      <dc:creator>pierre-olivierh</dc:creator>
      <dc:date>2016-10-19T13:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: UART4 can't receive data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UART4-can-t-receive-data/m-p/651718#M99726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre-Olivier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uart4 is used on sabre-ai board, imx6qdl-sabreauto.dtsi&lt;BR /&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi?id=rel_imx_4.1.15_1.2.0_ga"&gt;http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi?id=rel_imx_4.1.15_1.2.0_ga&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Schematics (5)&lt;BR /&gt;Design files for i.MX 6Quad and i.MX 6DualLite CPU1 Cards &lt;BR /&gt;Design files for Base Board (REV E)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-for-automotive-infotainment-based-on-the-i.mx-6-series:RDIMX6SABREAUTO?fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.nxp.com/products/software-and-tools/hardware-development-tools/sabre-development-system/sabre-for-automotive-infotainment-based-on-the-i.mx-6-series:RDIMX6SABREAUTO?fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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>Wed, 19 Oct 2016 23:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UART4-can-t-receive-data/m-p/651718#M99726</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-10-19T23:48:01Z</dc:date>
    </item>
  </channel>
</rss>

