2015-05-18 04:45 AM
Hi,
I am using the evaluation board ''MCBSTM32F400'' available from keil and the USB library ''STM32_USB-Host-Device_Lib_V2.1'' available from st.com. In the ''STM32_USB-Host-Device_Lib_V2.1'' library, there is a &sharpdefine by name ''VBUS_SENSING_ENABLED'' in the file usb_conf.h. I am using this board with the external power supply and as the HID mouse as supported by the above specified USB library. I am not facing any problem when VBUS_SENSING_ENABLED &sharpdefine is disable / commented. But when this &sharpdefine is not commented or being in use, then whenever the usb is disconnected from the host, the software is getting hung. Can anyone help me in this regard? #usb-vbus