Skip to main content
Kavana shree
Associate III
December 21, 2018
Question

Why file transfer speed of USB HS MSC example code is very slow?

  • December 21, 2018
  • 7 replies
  • 1721 views

I am doing a project using STM32H753 controller. When I flash USB HS MSC example code and transfer files , speed is very slow. It seems no difference between FS and HS modes. A large compressed files ​do not get transferred. Please help.

    This topic has been closed for replies.

    7 replies

    Tesla DeLorean
    Guru
    December 21, 2018

    Ultimately going to be constrained by speed of underlying flash memory subsystem and size of contiguous blocks being written.

    If it fails it is likely because the block storage method hasn't been adequately validated. ​

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Kavana shree
    Associate III
    December 21, 2018

    Thank you for the reply.

    ​

    I have checked the example​ code in the STM32H753 EVAL board. MAX speed at which file gets transfered is 355KB/s. The EVAL Board has 4bit wide SD card and USB 2.0 port. So what is the expected throughput in HS mode?

    Tesla DeLorean
    Guru
    December 21, 2018

    Full Speed should be able to sustain 700 KBps, haven't benched High Speed.

    The underlying SDIO/SDMMC should be able to write between 5-10 MBps. You should benchmark the stand-alone performance as that's going to give you a ceiling.

    For USB instrument so you can see the maximum block counts.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..