<?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のトピックIdle state of RTS in RS-485 mode on IMX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Idle-state-of-RTS-in-RS-485-mode-on-IMX6/m-p/758790#M117975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I activated RS-485 mode on the IMX6UL using UART7 and the RTS pin transitions as expected when I have the port open. However, when I close the port, the pin&amp;nbsp;goes high even though I have it configured to be low when not transmitting. There is an external pull-up on this pin because it is used to configure the IMX6UL at reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have the pin drive low by default when the UART is not open?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the LCD_DATA06_DTE_RTS pin with the UART in DCE mode.&lt;/P&gt;&lt;P&gt;I use the following to enable RS-485 mode in the Linux driver:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs485conf.flags |= SER_RS485_ENABLED;&lt;BR /&gt; rs485conf.flags |= (SER_RS485_RTS_ON_SEND);&lt;BR /&gt; rs485conf.flags &amp;amp;= ~(SER_RS485_RTS_AFTER_SEND);&lt;BR /&gt; &lt;BR /&gt;ioctl(fd, TIOCSRS485, &amp;amp;rs485conf);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 20:24:55 GMT</pubDate>
    <dc:creator>jeff_hunsinger</dc:creator>
    <dc:date>2017-12-04T20:24:55Z</dc:date>
    <item>
      <title>Idle state of RTS in RS-485 mode on IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Idle-state-of-RTS-in-RS-485-mode-on-IMX6/m-p/758790#M117975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I activated RS-485 mode on the IMX6UL using UART7 and the RTS pin transitions as expected when I have the port open. However, when I close the port, the pin&amp;nbsp;goes high even though I have it configured to be low when not transmitting. There is an external pull-up on this pin because it is used to configure the IMX6UL at reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to have the pin drive low by default when the UART is not open?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the LCD_DATA06_DTE_RTS pin with the UART in DCE mode.&lt;/P&gt;&lt;P&gt;I use the following to enable RS-485 mode in the Linux driver:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs485conf.flags |= SER_RS485_ENABLED;&lt;BR /&gt; rs485conf.flags |= (SER_RS485_RTS_ON_SEND);&lt;BR /&gt; rs485conf.flags &amp;amp;= ~(SER_RS485_RTS_AFTER_SEND);&lt;BR /&gt; &lt;BR /&gt;ioctl(fd, TIOCSRS485, &amp;amp;rs485conf);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:24:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Idle-state-of-RTS-in-RS-485-mode-on-IMX6/m-p/758790#M117975</guid>
      <dc:creator>jeff_hunsinger</dc:creator>
      <dc:date>2017-12-04T20:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Idle state of RTS in RS-485 mode on IMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Idle-state-of-RTS-in-RS-485-mode-on-IMX6/m-p/758791#M117976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to change behavior adding codes in driver configuring&lt;/P&gt;&lt;P&gt;that pad as gpio, with low state by default when the UART is not open.&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>Mon, 04 Dec 2017 23:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Idle-state-of-RTS-in-RS-485-mode-on-IMX6/m-p/758791#M117976</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-12-04T23:16:38Z</dc:date>
    </item>
  </channel>
</rss>

