AnsweredAssumed Answered

Mysterious delay in USB_SetCurrentMode in F7 USB LL driver

Question asked by Asaad Kaadan on Dec 6, 2017
Latest reply on Jan 16, 2018 by Khouloud G

Hello,

The title says it all. There's a a mysterious delay in USB_SetCurrentMode in F7 USB LL driver (stm32f7xx_ll_usb.c V1.2.2):

 

Does any one know the origin/need of this delay? There's no comment (or time units) about this. It was causing the USB device to timeout on descriptors initialization when the MCU boots up while USB is already plugged in. I removed the delay and everything seems to work fine on my PC. However, I want to make sure it's not required for some systems/hosts?

 

Thanks 

Outcomes