← index #8646PR #8902
Related · high · value 1.214
QUERY · ISSUE

Pyboard UART.sendbreak

openby skylin008opened 2022-05-10updated 2022-06-22
port-stm32

I used the UART1 on pyboard,the baudrate is 19200bps, when used the UART.sendbreak() function, the 13 bit delay is 677uS, but actual is 520uS in oscillograph.How to solve this issue.Thanks!

CANDIDATE · PULL REQUEST

esp32: Change the sendbreak duration to >= 15 bit times.

closedby robert-hhopened 2022-07-12updated 2022-08-23
port-esp32

It used to be 10 bit times, which is too short. The break state must be longer than a regular character time, at least 13 bit times. May be longer. This is implemented by changing the baud rate for sendbreak() to 2/3 of what has been configured.

Tested with a GENERIC_SPIRAM, GENERIC_C3 and UM_TINYS2 board.

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