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.

請問SDK6.0 usb0_init

Expert 2272 points

請問...SDK6.0

我看BBB,General EVM 都有usb0_init /usb1_init 來做pinmux init

為什麼AM335X SK 不需要呢????

  • 这个应该是和板子有关系,USB的初始化只是把VBUSDRV设为本来功能,BB和GPEVM应该还把这个脚连成GPIO了,所以要做下初始化。但是SKEVM的板子这个脚应该是只给USB用了

  • 不懂您的意思

    BBB 是在哪把這腳位設定為GPIO呢? UBOOT嗎??

    static void usb0_init(int evm_id, int profile)
    {
    setup_pin_mux(usb0_pin_mux);
    return;
    }

    /* pinmux for usb0 drvvbus */
    static struct pinmux_config usb0_pin_mux[] = {
    {"usb0_drvvbus.usb0_drvvbus", OMAP_MUX_MODE0 | AM33XX_PIN_OUTPUT},
    {NULL, 0},
    };