Skip to main content
mohammed-ismail
Associate
June 26, 2016
Question

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

  • June 26, 2016
  • 1 reply
  • 687 views
Posted on June 26, 2016 at 13:30

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
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    June 26, 2016
    Posted on June 26, 2016 at 17:47

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

    Getting 1.3MBps from Full-Speed USB seems a little fanciful.

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