cancel
Showing results for 
Search instead for 
Did you mean: 

USB Mass Storage Slow data copy speed

sm
Associate II
Posted on June 11, 2015 at 23:59

Hello My Friends... 

I have a project that need USB (Device) Mass storage. My mcu is STM32F103RB. As i searched, i found the USB Library V3.3 in this site. so after prepared to work, i started to copy data to the mass, but the speed is too slow ~ 60KB. so what can i do to enhance the speed... ?

Thanks a lot... 
4 REPLIES 4
Posted on June 12, 2015 at 00:46

And you're using what as your media?

How fast is that outside of the USB MSC implementation?

MMC/SD via SPI, going to be rather slothy

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sm
Associate II
Posted on June 12, 2015 at 07:54

I use uSD Card 1GB space with SPI2 max speed at 72MHz core clock.

As i see in oscope the usb signal frequency (average) is about ~2.7MHz for packet of data. I think the usb clock at 72MHz must be 48MHz as the datasheet said... is my frequency (~2.7MHz) correct? 

I need to have at least 1MBps to exchange data... . This project is mp3player and i need to store data in user friendly time.

Thanks a lot... 

sm
Associate II
Posted on June 12, 2015 at 07:56

Posted on June 12, 2015 at 17:54

USB-FS going to be around 700 KBps, even if your media has some bandwidth

Pick a better part, STM32F4 + SDIO + USB-HS + PHY

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