2016-08-08 11:36 AM
Hello,
I generate code using stm32cubeto make
an USB host CDC. If my device is already plugged, it is not detected. Do you have any solutions to detect it ?Thank you in advance.
#stm32-usb-cdc-host-attached2016-08-09 09:26 AM
Hi berland.guillaume,
Normally the USB core is reset when USBH_Init() is called which allow a successful enumaration . I recommend you check the ''CDC_Standlone'' in USB_Host example list in one of the STM32Cube package. For example at this path:STM32Cube_FW_F4_V1.13.0\Projects\STM324x9I_EVAL\Applications\USB_Host\CDC_Standalone\Compare the code there with the generated one, and check if you have not missed somthing.Another path to check: try to enable the Vbus sensing if disabled.-Hannibal-