Question
USB Host / enforce device to disconnect and re-connect ?
Posted on January 24, 2012 at 08:23
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) ?
