cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 & F7 : How to speed up the data transmission in USB

mohammed-ismail
Associate
Posted on June 25, 2016 at 19:05

Hello everyone,

I'm actually using the Discovery F4 and F7 to understand and use the USB stack from ST,but actually I can't speed more than 400 kB/s with the F4 (Full-Speed USB) and 2.1 MB/s with the F7 (ULPI HS USB).

I'm using the CDC class and examples. (for the F7 i'm using the Keil example.)

I've already changed the EP FIFO and the send and receive buffer for the specific application,but it don't change anymore the speed.

- For the F4 : I'm using example from this website : http://stm32f4-discovery.net/2015/08/hal-library-21-multi-purpose-usb-library-for-stm32fxxx/

My application needs a high performance transmission (In full-speed the objective is 1.3 MB/s and in High-speed 10 MB/s) but i don't know where to modify the code to speed up the speed of tranmission.

Did someone achieve to have a good transmission  speed on the STM32 Discovery F7 or F4 ?

Best Regards,

Ismail

#hs #usb #fs
2 REPLIES 2
Posted on June 26, 2016 at 18:18

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F4%20%20F7%20%20How%20to%20speed%20up%20the%20data%20transmission%20in%20USB&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx&currentviews=6]dupe

If you can achieve more than 700-800 KBps from USB-FS, it would surprise me..

What do vendors report for commercial USB Stacks?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mohammed-ismail
Associate
Posted on July 02, 2016 at 21:45

Hello,

I got working the STM32F7-DISC1 to a data rate to 6.3 MB/s

And the STM32F429-DISC to 980 kB/s

Now i'm trying to use an USB3300 with the STM32F429-DISCO,but sadly nothing happens. I've already checked that i choose the right alternative.