ESP32-WROOM-32E
Serial communication is carried out using GPIO4 and GPIO36.
But some data will be lost along the way.
The serial settings are as follows:
When 20208 bytes of data are received
Reception will be interrupted around the 360th byte, and 130 to 260 bytes of data will be lost.
All subsequent data will be received normally.
Thanks for your reply.
I can't post the complete code.
The initial baud rate setting was 115200bps.
In that case, I was able to receive up to about 11500 bytes,
but the same data was received twice repeatedly.
When I changed the baud rate setting to 460800bps,
I was able to receive up to 20208 bytes, although some data was missing.
Serial1.setRxBufferSize(1);
Even after deleting the statement, there was no change.
without a complete idea of what the code is doing it is impossible to help
e.g. is the code executing interrupt or callback routines which could upset the Serial1 timing?
could you implement a small program which displays the problem?
you can then post that