← index #4438Issue #7023
Related · high · value 2.732
QUERY · ISSUE

UART RTS/CTS software flow control

openby TravisJoeopened 2019-01-28updated 2019-02-12
enhancement

This was brought up by somebody I am working with that has several UARTS implemented that have large packets of information and network communication. This causes potential for blocking functionality and has lead to buffer overflows on the UART. Flow control helps but not all UARTs have flow control and I was asked if that flow control could be done low level in Micropython. That sounded like an interesting enough idea to bring up here.

CANDIDATE · ISSUE

Feature request: UART RTS/CTS hardware flow control on ESP32

closedby Sebbbopened 2021-03-12updated 2021-08-04
port-esp32

As the underlying esp-idf API supports RTS/CTS for serial communication, it would be good to be able to use it also from Micropython. Currently it's not implemented.

I have found #4438, but that seems to be for a more generic software approach.

As hardware flow controls is implemented in the Development Framework, it should be rather easy to add.

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#_CPPv421uart_hw_flowcontrol_t

Thanks!

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