XMC4500 USB VCOM problem receiving less than 2048 bytes on Windows

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I have a program using DAVE which sends data from XMC4500 over USB, built on the VCOM example code. On Windows side, I am using pySerial library to read packets. Continuous packet reads don't show any drops, but when I try to read smaller packets (making sure they are multiples of 64 bytes), only reading >2048 bytes is guaranteed. The smaller size packets are somehow being gobbled up by the OS, it seems!

Any pointers will be greatly appreciated.
0 Likes
0 Replies