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.

TM4C129 USB MSC Performance (multi sector read)



What is the reason that the Tivaware USB MSC driver does not support multi sector Read/Write?

I have tried porting it to support Multi sector read but it does not improve performance at all, it keeps reading at about ~520KB/s. Are there any benchmarks available for the USB library?


If a want to reach higher reading speed should i switch to a highspeed USB phy?


Regards,

Sisco

  • Hello Fansisco

    We do not maintain any benchmarks internally. There are some example based benchmark that you may find on competitor sites. The 520 KBps is roughly 4Mbps. The max rate on a USBFS is 12 Mbps out of which a bulk class device can at best get ~9.7Mbps. This assuming a driver which is written explicitly for the device class. The software overhead and the cost of display latency will affect the performance.

    Regards
    Amit
  • Hi Amit,


    I have modified the USB library to allow for multi sector MSC read commands of up to 4 sectors but this does not seem to improve performance. Currently my code only initializes as an MSC device and uses a SD card as storage. SD card data is cached in as 32 blocks in RAM.


    Do you have any tips on how to improve performance?

    Regards,

    Fransisco

  • Hello Fransisco

    Other than going raw USB, none.

    Regards
    Amit