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.

Linux/AM5728: USB 3.0 UVC configuration

Part Number: AM5728


Tool/software: Linux

Hi,

We made a custom board and want to use the usb3.0 port to do the usb stream.The PLSDK  we used is ti-processor-sdk-linux-am57xx-evm-04.01.00.06.The default dwc3 extcon is linked to extcon_usb2 according to the am57xx-beagle-x15-common.dtsi file.What change should I make to config the usb1 as the dwc3 extcon?Is there any other changes should be made to use usb3.0 for streaming?

  • Hi,

    I have a feeling that you probably misunderstood what extcon is... "to config the usb1 as the dwc3 extcon?" is not a valid question.

    The USB modules on AM57x devices require external signals for VBUS and ID, which are typically done through GPIO. extcon is a Linux driver used to define which GPIO and how to use it for the VBUS and/or ID signal.

    Please watch the following USB training video, mainly start @6:21, and let me know if you still have questions of using extcon for your USB1.



    You can also use dra72-evm-common.dtsi as a reference which defines extcon nodes for both USB1 and USB2.

  • Hi,
    Thanks for your explanation.I did have some misunderstanding about extcon. But I am still confused on how to use usb3.0 for streaming.I change the dr_mode of usb1 from "host" to "peripheral".But when I run the uvc_gadget demo,it didn't work as usb2.0.
    What should I do to make usb3.0 uvc worked?FYI,our custom board don't have usb hub.
  • Hi,

    Before using uvc_gadget on usb1 port, please ensure you have no issue to use usb1 port in super-speed device mode.
    Please load any other simple gadget driver, for example 'modprobe g_zero', then connect the usb1 port a super-speed host port to see if it can be enumerated as a super-speed device on the usb host.