Thank you, very useful information. I did a library for serial communication and could not understand the reason only 256 chars could be read (after sending more than 256). Following your suggestion, I can now send any number of chars and everything will be received.