← index #2780PR #5608
Related · high · value 4.168
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:machine_uart.c: Enable hardware flow control.

closedby robert-hhopened 2020-02-04updated 2021-08-04
port-esp32

Hardware flow control will be enabled appropriately when rts or cts are defined. The rts-threshold is set 1, resulting in a rxbuf + 1, before rts is raised. Then still FIFO_size - 1 bytes can be received without data loss. The FIFO_size is 128.
Note: Setting rts_threshold to 0 has a strange side effect, that rts pulses with every received byte.

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