Question
low transfer rate when using USB MSD device based on STM Cube
Posted on October 19, 2015 at 10:10
Hi,
I am using the STM Cube framework to implement a USB Mass storage device supporting high speed USB for my STM32L151 device. When transferring files from the device to a Windows 8 laptop, I consistently see a transfer rate of 64 KB/sec. Upon using a USB sniffer, I see that the associated bulk enpoint is being sent a request for reading 64 bytes of data (maximum supported read size with HS USB) and it takes 1 millisec to complete the request. This explains the 64 KBps transfer rate I am seeing.My question is can I expect to get transfer rates higher than this?Is the 1 millisec response time reasonable assuming that the device has this read data ready and is merely copying it from in memory buffers?ThanksBen