<?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: Is it RS485 supported with i.MX6 ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402246#M59507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQRM&lt;/A&gt; sect.64.13.2 Programming the UART in 9-bit RS-485 mode&lt;/P&gt;&lt;P&gt;shows RS485 programming, I believe there is no better solution.&lt;/P&gt;&lt;P&gt;In general it is possible to use GPIO to control RS-485 output driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 10:51:02 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-05-06T10:51:02Z</dc:date>
    <item>
      <title>Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402243#M59504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a linux kernel-3.10.17 and I'm trying to communicate using UARTS on a i.MX6S CPU.&lt;/P&gt;&lt;P&gt;I am using RS485 adapters and the problem is that the RTS signal is always high when I transmit and receive.&lt;/P&gt;&lt;P&gt;I noticed that this is a FAQ in the community website but there is no answer neither solution.&lt;/P&gt;&lt;P&gt;I wonder if the RS485 protocol is currently supported or not.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 15:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402243#M59504</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2015-05-05T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402244#M59505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current driver doesn't support RS485 mode, it may be useful&lt;/P&gt;&lt;P&gt;link below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/312742"&gt;i.MX6 UART Driver and RS485 Support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 03:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402244#M59505</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-05-06T03:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402245#M59506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thank you, I had already seen that link, unfortunaltely it manages the CTS signal but RS485 need to move the RTS as well suring the transmission.&lt;/P&gt;&lt;P&gt;Reading the datasheet I noticed that i-MX6 is not able to drive the RTS internally, so the only way that I see is to manage RTS as regular GPIO from inside imx.c&lt;/P&gt;&lt;P&gt;Do you know a better solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 10:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402245#M59506</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2015-05-06T10:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402246#M59507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQRM&lt;/A&gt; sect.64.13.2 Programming the UART in 9-bit RS-485 mode&lt;/P&gt;&lt;P&gt;shows RS485 programming, I believe there is no better solution.&lt;/P&gt;&lt;P&gt;In general it is possible to use GPIO to control RS-485 output driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 10:51:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402246#M59507</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-05-06T10:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402247#M59508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uwe Kleine-&lt;SPAN style="color: #333333; font-family: sans-serif; font-size: 13.3333330154419px;"&gt;König recently pushed patches to the main-line driver for the i.MX UART to support RS-485 transmit-enable using the RTS line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: sans-serif; font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=17b8f2a" title="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=17b8f2a"&gt;https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/tty/serial/imx.c?id=17b8f2a&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402247#M59508</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2015-05-06T14:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402248#M59509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;thank you for this hint, it looks promising.&lt;/P&gt;&lt;P&gt;Do you know to which kernel version does it apply to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 09:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402248#M59509</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2015-05-07T09:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402249#M59510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the navigation links in the git URL above to get a picture of the tree as of that commit, and if you navigate to the top level Makefile, you'll see that it was applied after 4.0.0-rc2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile?id=17b8f2a3fdca29a9b296642fb3f6ad3c39ffc7d3" title="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile?id=17b8f2a3fdca29a9b296642fb3f6ad3c39ffc7d3"&gt;https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile?id=17b8f2a3fdca29a9b296642fb3f6ad3c39ffc7…&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:28:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402249#M59510</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2015-05-07T14:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it RS485 supported with i.MX6 ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402250#M59511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;I adapted that patch to my imx kernel-3.10.17.&lt;/P&gt;&lt;P&gt;Unfortunately it doesn't drive the RTS down during transmission, I think this is a lack in the CPU logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 14:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-RS485-supported-with-i-MX6/m-p/402250#M59511</guid>
      <dc:creator>marcocavallini</dc:creator>
      <dc:date>2015-05-07T14:56:03Z</dc:date>
    </item>
  </channel>
</rss>

