This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x linux usb1 otg 配置



想請問一下

我目前要將USB設置成OTG(client)模式讓PC端能認到裝置

程式修改如下

static struct pinmux_config usb1_pin_mux[] = {
{"usb1_drvvbus.usb1_drvvbus", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
{NULL, 0},
};

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_OTG << 4) | MUSB_HOST,
.power = 500,
.instances = 1,
};

但是無法實現

請問還有甚麼需要做修改的嗎?