This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Usb_dev_serial example: USB receives only small packets

Genius 5820 points

Hi,

I did some experiments with Usb_dev_serial  example for BealgeBone Black. There I noticed a strange behaviour: Also when I send large packets of about 50 kBytes at once to my serial port, on device side  I receive much small packages only, I did not see any package bigger than 490 bytes.

I check for received package size in ringbuffer in function USBUARTPrimeTransmit() right before the while-loop. Before doing that I of course increased ringbuffer size to 65535 bytes, but this does not cause the example to receive larger packets at once.

So my question: what could cause this? Shouldn't USB be able to get larger packages instead of these small ones?

Thanks!