<?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: imx8 uart driver rs485 logic support in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1171894#M163907</link>
    <description>&lt;P&gt;Is it possible to make it work on imx6ul ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Oct 2020 14:16:43 GMT</pubDate>
    <dc:creator>okwaj</dc:creator>
    <dc:date>2020-10-22T14:16:43Z</dc:date>
    <item>
      <title>imx8 uart driver rs485 logic support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161012#M162715</link>
      <description>&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;Currently, I am working on the IMX8dxp processor, but I meet some problems in linux driver of fsl-lpuart.c.&lt;/P&gt;&lt;P&gt;On my hardware we want to use an hardware rs485&amp;nbsp;&lt;SPAN&gt;transceiver to connect with our uart0 port and use another gpio to control the flow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And now the transceiver's tx and tx connect the tx and rx of UART0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The RE of transveiver connect the uart0_de[&lt;STRONG&gt;SPI0_CS0&lt;/STRONG&gt;], it is not the general of cts or rts pin of uart.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So you could see the schematic from the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to confirm if our driver could support this rs485 logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I modified the dts but not working. the flow conftol pin was not controlled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dts file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pinctrl_lpuart0: lpuart0grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;SC_P_UART0_TX_ADMA_UART0_TX 0x00000061&lt;BR /&gt;SC_P_UART0_RX_ADMA_UART0_RX 0x00000060&lt;BR /&gt;SC_P_SPI0_CS0_LSIO_GPIO1_IO08 0x20000061&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/*LPUART0 used for FMS RS485*/&lt;BR /&gt;&amp;amp;lpuart0 {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpuart0&amp;gt;;&lt;BR /&gt;linux,rs485-enabled-at-boot-time;&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161012#M162715</guid>
      <dc:creator>yang_wang-wy</dc:creator>
      <dc:date>2020-09-30T03:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 uart driver rs485 logic support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161049#M162721</link>
      <description>&lt;P&gt;Hello yang_wang-wy ,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN title=""&gt;The UART in i.MX8 is LPUART. If you want to use software to control the direction of RS485 receiving and sending data, you need to use the RTS_B signal.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;However, lpuart driver does not support RS485 mode.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;If you need to use it, you need to add RS485 function yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;In addition, the hardware can also realize the automatic data receiving and sending of RS485.&lt;/SPAN&gt; &lt;SPAN class="" title=""&gt;See below, please!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RS485.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126518iF26239D79F16FC8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="RS485.png" alt="RS485.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Have a nice day!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;B.R,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class="" title=""&gt;Weidong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV id="tinyMceEditorweidong_sun_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:55:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161049#M162721</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-09-30T04:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 uart driver rs485 logic support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161069#M162726</link>
      <description>&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;Thanks for your replay.&lt;BR /&gt;I also have an question about the schematic demo circuit.&lt;BR /&gt;I want to know if your demo circuit could support all bitrate of uart or I need to customize the circuit for different bitrate?&lt;BR /&gt;Currently, I need to support the following bitrate&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;B115200, B38400, B19200, B9600, B4800, B2400, B1200&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yang Wang&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1161069#M162726</guid>
      <dc:creator>yang_wang-wy</dc:creator>
      <dc:date>2020-09-30T05:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 uart driver rs485 logic support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1171894#M163907</link>
      <description>&lt;P&gt;Is it possible to make it work on imx6ul ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 14:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1171894#M163907</guid>
      <dc:creator>okwaj</dc:creator>
      <dc:date>2020-10-22T14:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx8 uart driver rs485 logic support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1654924#M206285</link>
      <description>&lt;P&gt;Does rs485 support available for uart3 and uart6 on imx6ull ?&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 15:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8-uart-driver-rs485-logic-support/m-p/1654924#M206285</guid>
      <dc:creator>keyurthumar</dc:creator>
      <dc:date>2023-05-22T15:01:20Z</dc:date>
    </item>
  </channel>
</rss>

