ESP8266 Developer Zone The Official ESP8266 Forum 2017-12-25T15:24:55+08:00 https://bbs.espressif.com:443/feed.php?f=16&t=6241 2017-12-25T15:24:55+08:00 2017-12-25T15:24:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=18819#p18819 <![CDATA[Re: Hardware flow control UART]]> Statistics: Posted by Her Mary — Mon Dec 25, 2017 3:24 pm


]]>
2017-12-12T12:35:21+08:00 2017-12-12T12:35:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=18668#p18668 <![CDATA[Re: Hardware flow control UART]]> Statistics: Posted by renchin — Tue Dec 12, 2017 12:35 pm


]]>
2017-10-25T17:57:29+08:00 2017-10-25T17:57:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=16712#p16712 <![CDATA[Re: Hardware flow control UART]]>
I am trying to connect PC with PIC24F002 UART using Rx/Tx and RTS/CTS cross connected along with level translator as MAX3232.

Now as per Datasheet of PIC24FJ.. MCU UART can send data when it detects Low on its CTS pin, while PC as default and in Hardware flow control makes its RTS in MARK state (means negative) that gets translated to High Logic and blocks UART to send any data.

Similarly the other side of data communication blocked.

In all it looks like RTS/CTS pair from MCU <---> Level Translator <---> PC are mis-matched in their logic when used with Hardware Flow Control full duplex mode.

Although, there is Logic Inversion possible with Rx/Tx but that does not seem to be available for RTS/CTS.

What could be the options then? Any idea? What is wrong here?

Statistics: Posted by sarahah — Wed Oct 25, 2017 5:57 pm


]]>
2017-09-06T22:04:22+08:00 2017-09-06T22:04:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=15583#p15583 <![CDATA[Re: Hardware flow control UART]]> I'd suggest allowing the UART flow from ESP->host always when the host can process data.

Statistics: Posted by Guest — Wed Sep 06, 2017 10:04 pm


]]>
2017-09-06T16:03:39+08:00 2017-09-06T16:03:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=15579#p15579 <![CDATA[Re: Hardware flow control UART]]> I looked for the flow control in AT Commands sheet. I have only found "AT+UART" command, which allow flow control:

<flow control>: flow control
‣ 0: flow control is not enabled
‣ 1: enable RTS
‣ 2: enable CTS
‣ 3: enable both RTS and CTS

But what about DTR (Data Terminal Ready) - GPIO12 and DSR (Data Set Ready) GPIO14 ? Are these sognals also included when I enable only RTS and CTS ?

Statistics: Posted by Jan Kijonka — Wed Sep 06, 2017 4:03 pm


]]>
2017-09-05T16:37:18+08:00 2017-09-05T16:37:18+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=15537#p15537 <![CDATA[Re: Hardware flow control UART]]> As for the GPIOs, when flow control is enabled:
GPIO12= U0DTR
GPIO13= U0CTS
GPIO14= U0DSR
GPIO15= U0RTS

Statistics: Posted by Guest — Tue Sep 05, 2017 4:37 pm


]]>
2017-09-04T20:42:03+08:00 2017-09-04T20:42:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=6241&p=15520#p15520 <![CDATA[Hardware flow control UART]]> Is it possible to communicate between a host MCU and ESP12-E via UART using hardware flow control and AT+Commands ?

If so, do you have some connection diagram for GPIO RTS/CTS connection and software setup ?

Thank you,
Jan

Statistics: Posted by Jan Kijonka — Mon Sep 04, 2017 8:42 pm


]]>