AnsweredAssumed Answered

USB bulk transfer speed

Question asked by Martin Dusek on Aug 22, 2018
Latest reply on Aug 23, 2018 by Bob Paddock


I use latest USB stack on MK22 MCU (full speed usb transceiver). I achieve approx 600 kB/s transfer rate when sending data from MCU to PC (Windows 10) via bulk endpoint.


On PC I read data using libusb (libusb_bulk_transfer(devHandle, endpoint, data, requiredSize, &actualSize, timeout)).


Can you please help in optimizing the transfer rate (i.e. achieving higher transfer rate)? Is there any configuration in USB stack which can achieve higher transfer rate? What is optimal data chunk size written to endpoint in MCU (USB_DeviceSendRequest())?