UART rx buffer losing bytes

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
Logician
Posts: 3
Joined: Mon May 11, 2020 10:48 am

UART rx buffer losing bytes

Post by Logician » Wed May 13, 2020 9:02 pm

I'm running MP 1.12 stable on a NodeMCU v3 (ESP8266). I've established communication with a peripheral, but no matter what I do, I only ever get 15 bytes in my rx buffer. I've disabled repl on USB, I've swapped UART0 to pins 15/13, and I've verified with a scope that more bytes are being sent (in the range of 50). The "slave" device can only communicate at 115200 baud, so software UART is out.

I was thinking it might be a timing issue where it's getting out of phase after 15 bytes, but I might expect to see garbage in the rx buffer if that was the case (but maybe not?).

Actually, it just occurred to me that I should do a loopback test. In the meantime, if anyone has any ideas, please let me know!

Post Reply