Skip to main content
Visitor II
Aug 10, 2023 9:48 AM UTC
Question

How to Achieve Fastest Transfer Rate on USB MSC Device on stm32h753

Hello,

I'm using stm32h753i-eval2 with the provided example application: MSC_Standalone

My goal is to achieve the fastest transfer of files between the stm32 and the host PC (windows)

When I run the application as MSC_Standalone_HS_release  I get around 2 MBytes/s

dvirbuc_0-1691660562684.png

When I change the macro MSC_MEDIA_PACKET (in usbd_conf.h)

from (8 * 1024)   to  (32 * 1024)

I get around 4.5 MBytes/s

dvirbuc_1-1691660843724.png

Is there any other way to increase the speed?

Thank you, Dvir

 

 

 

 

 

This topic has been closed for replies.

1 reply

jiangfan
ST Employee
Aug 18, 2023 5:20 AM UTC

Another improvement to do, is to enable double buffer (if not enabled yet).