cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when using VBUS_SENSING_ENABLED

raghavendra
Associate
Posted on May 18, 2015 at 13:45

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
0 REPLIES 0