← index #16611Issue #16182
Related · high · value 1.079
QUERY · ISSUE

[feature request] being able to change UART(0) speed without recompiling.

openby 0wwafaopened 2025-01-19updated 2025-02-27
enhancementport-esp32

Description

As a followup to https://github.com/micropython/micropython/issues/6862

I propose to find a way to change URAT(0) speed globally or momentarily.

Globally: a simple entry in a configuration file would be nice.

Programmatically:

something like:

micropython. repl_stop()

Then:
uart = machine.UART(0,921600)

uart.write("Hello 921600 World!")

micropython. repl_restart()

Code Size

Probably small.

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

How to handle fast flipping of RE/DE pins when using ESP32 and RP2040 UART as RS485

closedby yfyungitopened 2024-11-08updated 2024-11-09
enhancement

Description

When using ESP32 and RP2040's UART for RS485 communication, how to handle the fast flipping of RE/DE pins, the different transmission speeds at different baud rates, how to know whether all data on UART has been sent, and how to switch to receiving data as quickly as possible after sending.

Code Size

No response

Implementation

I hope the MicroPython maintainers or community will implement this feature

Code of Conduct

Yes, I agree

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