AnsweredAssumed Answered

USB Host / enforce device to disconnect and re-connect ?

Question asked by zuikov.dmitry on Jan 24, 2012
Latest reply on Oct 24, 2014 by gabriel
Hi, 

I'm trying to communicate with Huawei 3G USB modem using STM32 Host and Device USB Library. Those modems require to be disconnected after some configuring to switch to  CDC mode.

Is there any way to force some USB device to disconnect using USB Host library and re-enumerate interfaces? I.e to perform soft-reset of USB Stack somehow.

I haven't found any way to do it, surprisingly USBH_DeInit or HCD_PortReset or even USB_OTG_StopHost do not work as expected.

So, is there any proper way to disconnect the device? Do I need the SOF feature (SOF pin is not connected in my device) ?




Outcomes