cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F446 failed to send SETUP transfer using USBH library

newbeea
Associate

my platform is STM32F446, it play as a USB host at full speed, and the pins are PB14 PB15.

I use ST USBH library to implement a USB AOA class.
But I found that everytime when the MCU try to send a Setup transfer and DATA0 transaction, the DATA0 is corrupted.
from logic analyzer we seen below, the DATA0 bit number is wrong.

newbeea_0-1702621693868.png
further more, there are 20+ bits 170us later.

newbeea_1-1702623720648.png

if we are able to link them together, its an unbroken transection.

newbeea_2-1702623853656.jpeg

 

for this season, program USBH_HandleControl goto CTRL_ERROR, and finally make a reset. And this happen over and over.

Anyone can help me? it border me a lot. Thanks very much!

1 REPLY 1
newbeea
Associate

:)