AnsweredAssumed Answered

How to obtain the maximum USB-Transfer-Speed of STM32F4 with ULPI in Device-Mode [solved]

Question asked by lx00n.sh on Aug 26, 2016
Latest reply on Aug 29, 2016 by lx00n.sh
Hardware / Configuration:
 STM32F407vgt6 @168MHz
 USB3300 ULPI (waveshare) @24MHz
 USB HS + DMA
 Bulk Transfer (IN-Transfer)
 Modified cdc-Example (STM32_USB-Host-Device_Lib_V2.1.0)
 libusb-1.0.19-10903

Hello ,
I try to obtain the maximum Transfer-Speed for the STM32 in Device-Mode. I Try to Transfer 15MiB from Device to Host over libusb as fast as possibile.
Every time a "DataInComplete" occures, I start another 512-Byte "DCD_EP_Tx()"-Transfer of generated Data.
My Problem is, that my logic-Analyzer detect every 3 Transfers a Error, probaly because the Data is not complete prebuffered.

What could be the Problem  / What could I try ?
stm32f407_ulpi_Bulk_Out.png

Outcomes