← index #2780PR #6902
Related · high · value 4.832
QUERY · ISSUE

esp8266 hardware flow control issue

openby skylin008opened 2017-01-11updated 2021-04-30
enhancementport-esp8266

How to use esp8266 UART0/UART1 hardware flow control function! Thanks!

CANDIDATE · PULL REQUEST

esp32/uart: Add flow keyword argument to enable hardware flow control.

closedby willsowerbuttsopened 2021-02-14updated 2021-08-04
port-esp32

This enables optional support for the hardware UART to use the RTS
and/or CTS pins for flow control.

The new "flow" constructor keyword specifies a bitmask of RTS and CTS.

Previously it was possible to specify which pins to use for the RTS and
CTS signals, but hardware flow control was never functional: CTS was not
checked before transmitting bytes, and RTS was always driven high
(signalling no buffer space available). With this patch, CTS and RTS
both operate as expected.

Signed-off-by: Will Sowerbutts will@sowerbutts.com

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied