QUERY · ISSUE
Pyboard UART.sendbreak
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.
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.