← index #8444Issue #4153
Duplicate · high · value 2.867
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: Characters missing when reading from UART

closedby freol35241opened 2018-09-16updated 2018-12-05
port-esp8266

Hi,

First, thanks for micropython, its very handy!

But today I got stuck on something weird, it seem that when reading from a serial connection with the UART module it skips some characters. Actually it seems to skip every 16th character so that when calling either uart.readline() or uart.read(value>15) characters are missing.

Could potentially be a problem with an internal buffer that is not emptied/read properly?

For info,
Hardware is Weemos D1 mini pro (ESP8266ex)
Micropython version (latest): esp8266-20180907-v1.9.4-494-ge814db592

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