Go Down

Topic: Problem with Serial1 buffer (Read 1 time) previous topic - next topic


I'm having an issue when using Serial1.
If I send data at 57600 baud that is more than 64 bytes, I never receive the remaining data.
It seems that the buffer is only 64 bytes and it overruns and discards the rest of the incoming data.
How do I resolve this problem?


Hi @newhobby,

I can confirm the RX buffer has a size of 64 bytes, see RingBuffer.h.

Could you please share a sketch that is causing issues? Maybe you are not calling Serial.read(...) frequently enough?


I fixed my issue by storing it in a String variable and then using it at the end of the line, instead of trying to process every single character as they would be coming.

Go Up