<?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: Issues with auto CTS/RTS hardware flow control feature on Vybrid platform in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453257#M5040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;What is state of TxD pin in between?&lt;/P&gt;&lt;P&gt;UART2_TXD state was de-asserted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 11:53:19 GMT</pubDate>
    <dc:creator>bhuvanchandradv</dc:creator>
    <dc:date>2015-05-26T11:53:19Z</dc:date>
    <item>
      <title>Issues with auto CTS/RTS hardware flow control feature on Vybrid platform</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453254#M5037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm testing the auto RTS/CTS hardware flow control feature available on Vybrid lpuart port, with the mainline fsl_lpuart driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the reference manual RXRTSE and TXCTSE bits in UARTx_MODEM register will enable the auto RTS/CTS hardware control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Vybrid lpuart as receiver: RXRTSE enabled:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If the receiver request-to-send functionality is enabled, the receiver automatically&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;deasserts RTS if the number of characters in the receiver data register is equal to or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;greater than receiver data buffer's watermark, RWFIFO[RXWATER]....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Auto RTS control was working as expected, tested by sending data from CP2108-EK board to Vybrid lpuart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Vybrid lpuart as transmitter: TXCTSE enabled:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If the clear-to-send operation is enabled, the character is transmitted when CTS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is asserted. If CTS is deasserted in the middle of a transmission with characters remaining&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in the receiver data buffer, the character in the shift register is sent and TXD remains in&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the mark state until CTS is reasserted...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Auto CTS control was not working as expected, data was not transferred even when CTS was asserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone verified the auto RTS/CTS hardware flow control feature on Vybrid lpuart ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 12:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453254#M5037</guid>
      <dc:creator>bhuvanchandradv</dc:creator>
      <dc:date>2015-05-21T12:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with auto CTS/RTS hardware flow control feature on Vybrid platform</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453255#M5038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bhuvan,&lt;/P&gt;&lt;P&gt;flow control was validated on SoC level. lpuart driver is Linux driver right? It was not validated by Freescale. Linux is hadled by Timesys. Please add some details. What is delay between de-assert and re-assert moment? What is setting of the driver? What is state of TxD pin in between?&lt;/P&gt;&lt;P&gt;/Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 15:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453255#M5038</guid>
      <dc:creator>jiri-b36968</dc:creator>
      <dc:date>2015-05-25T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with auto CTS/RTS hardware flow control feature on Vybrid platform</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453256#M5039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;flow control was validated on SoC level. lpuart driver is Linux driver right? It was not validated by Freescale. Linux is hadled by Timesys. Please add some details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The present implementation for RTS/CTS control for Vybrid lpuart in Linux driver was broken, as RTS/CTS was automatically controlled by hardware when RXRTSE and TXCTSE bits were set. There is no need of manually controlling them from set/get mctrl, those bits are not responsible for directly controlling the RTS/CTS lines.&lt;/P&gt;&lt;P&gt;Now the issues i'm observing are with CTS, somehow transmitter was not able to read the state of the CTS. Even when the CTS was asserted the transmitter was not transmitting the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;What is delay between de-assert and re-assert moment?&lt;/P&gt;&lt;P&gt;I didn't observed any state change with the CTS signal. The initial state of the CTS&amp;nbsp; is asserted, expecting the data to be transmitted from transmitter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;What is state of TxD pin in between?&lt;/P&gt;&lt;P&gt;I'm not very sure about the TX signal status, will check that and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;What is setting of the driver?&lt;/P&gt;&lt;P&gt;Using CRTSCTS the RXRTSE and TXCTSE bits were set, enabling the auto RTS/CTS hardware control.&lt;/P&gt;&lt;P&gt;Kindly find the attached patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 16:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453256#M5039</guid>
      <dc:creator>bhuvanchandradv</dc:creator>
      <dc:date>2015-05-25T16:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with auto CTS/RTS hardware flow control feature on Vybrid platform</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453257#M5040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;What is state of TxD pin in between?&lt;/P&gt;&lt;P&gt;UART2_TXD state was de-asserted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 11:53:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453257#M5040</guid>
      <dc:creator>bhuvanchandradv</dc:creator>
      <dc:date>2015-05-26T11:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with auto CTS/RTS hardware flow control feature on Vybrid platform</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453258#M5041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;Auto RTS/CTS works fine! the issue is, serial core assumes the CTS as de-asserted and blocks transmission forever, setting the TIOCM_CTS flag explicitly fixes the issue. !&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Bhuvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 12:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/453258#M5041</guid>
      <dc:creator>bhuvanchandradv</dc:creator>
      <dc:date>2015-05-27T12:48:25Z</dc:date>
    </item>
    <item>
      <title>This an automatic process.  We are marking this post as s...</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/1137935#M6122</link>
      <description>&lt;B&gt;This an automatic process.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;
We are marking this post as solved, due to the either low activity or any reply marked as correct.&lt;BR /&gt;&lt;BR /&gt;
If you have additional questions, please create a new post and reference to this closed post.&lt;BR /&gt;&lt;BR /&gt;
NXP Community!</description>
      <pubDate>Thu, 03 Sep 2020 17:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Issues-with-auto-CTS-RTS-hardware-flow-control-feature-on-Vybrid/m-p/1137935#M6122</guid>
      <dc:creator>CommunityBot</dc:creator>
      <dc:date>2020-09-03T17:41:53Z</dc:date>
    </item>
  </channel>
</rss>

