When I insert the USB stick into USB0,and power on the board ,it can identify the USB stick ; It alway works well if do not power off ;
But if I do not intert the USB stick into USB0 ,power on the board ,the USB0VBUS is 5V ; now ,I insert the USB stick ,the USB0VBUS go low,and USB stick can't work ;
static struct omap_musb_board_data musb_board_data = {
.interface_type = MUSB_INTERFACE_ULPI,
/*
* mode[0:3] = USB0PORT's mode
* mode[4:7] = USB1PORT's mode
* AM335X beta EVM has USB0 in OTG mode and USB1 in host mode.
*/
.mode = (MUSB_HOST << 4) | MUSB_HOST,
.power = 500,
.instances = 1,
};
I change the mode to define USB0 as host ,and tie the USB0_ID to ground .
AM335X 's USB0 have other seting for USB0 at power on?