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.

TDA2PXEVM: USB 3.0 Streaming

Part Number: TDA2PXEVM

Hello,

I'm trying to stream radar data from TDA2xx board to my PC through USB3.0 port,
Making the TDA2xx board act as a UVC gadget. ( using g_webcam module)

- PROCESSOR_SDK_VISION_03_08_00_00 is used with Linux running on A15 of TDA2xx .
- I'm also using Userspace UVC-Gadget Application from https://github.com/wlhe/uvc-gadget.

I'm using "./uvc-gadget -d" option to stream dummy data to the PC

1.When connected to USB3.0 port of PC.

The dummy data is getting streamed but I keep getting

"VS request completed with status -18" on tda2xx

and also sometimes the device gets detected as high-speed instead of super-speed
 
2.When connected to USB2.0 port of PC.
"./uvc-gadget -d -s 1"
After usb link state gets suspended when I connect the cable to PC  
the dwc3 wakeup gets failed with

"dwc3 48890000.usb: wakeup failed --> -22"

There's no further transfer of data when I start streaming,
and it will keep throwing the following error:  

"dwc3 48890000.usb: request d670ca81 was not queued to ep2in"
I've attached logs for both USB3.0 and USB2.0 cases
Can you help me with this issue?
  • Hi Suhas,

    We will have a look at the logs and respond back if we need any additional data to analyze.

    Please note that TI support on third-party USB gadget will be limited and we will provide support only on the TI SDK software and hardware issue only.

    Thanks.

  • Hi Praveen,

    Its a TDA2xx Vayu evaluation board that I'm using. And there is no 3rd party software involved for USB.

    The UVC-gadget usersapace application I mentioned is a fork of mainline code (http://git.ideasonboard.org/uvc-gadget.git) and even with the mainline code I see the same issue .

    Thank you.

  • Hi Suhas,

    We don't support UVC gadget with TI releases. The last time I checked, UVC gadget support with dwc3 was broken in mainline (kernel.org). You will have to ask for support directly on linux-usb mailing list. Thanks.

    regards,
    Roger

  • Hi Roger,

    Thank you for the reply.

    It would be helpful if you let me know , in which version of mainline kernel(or TI sdk ) last time it was working.

    Regards,

    Suhas G B

  • Suhas,

    It was working a long time ago but it is difficult to get a working setup as there are many dependencies other than just EVM kernel and drivers.

    You need a matching uvc-gadget userspace application and host side Ubuntu distribution (kernel and V4L tools).

    It might be more easier to start afresh with latest uvc-gadget [1], mainline kernel and Ubuntu distribution and report any issues to linux-usb and uvc-gadget maintainer. I have not tried myself since a while so it might happen that it just works. I will suggest you to first start with USB2.0 then move to USB3.0.

    regards,
    Roger

    [1] http://git.ideasonboard.org/uvc-gadget.git