← index #8444Issue #2391
Off-topic · high · value 1.784
QUERY · ISSUE

ESP8266 - UART drops 16th digit or randomly stops receiving after first 16 digits

openby Trikkittopened 2022-03-24updated 2024-09-08
port-esp8266needs-info

On 1.18 (and earlier versions, unsure which one introduced this bug) the UART receive loses data. Even when settings the RxBuf value to a value of 16 or a higher, it will randomly lose the 16th digit it receives or simply ends the receive at 16 digits despite there being more digits arriving.

CANDIDATE · ISSUE

esp8266 uart 2 not available

closedby MartijnBraamopened 2016-09-05updated 2016-09-14
port-esp8266

I've flashed micropython to my esp8266 but cannot get the third uart working.

According to this image: https://bennthomsen.files.wordpress.com/2015/12/nodemcu_pinout_700-2.png

There is UART 0 that is connected to the usb-serial converter and runs the repl.
There is UART 1 that only has a TX pin so I cannot receive data.

OSError: UART(1) can't read

There is UART 2 that doesn't seem to exist in micropython.

ValueError: UART(2) does not exist

Is there any way I can get UART 2 working?

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