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/TUSB8041: Generate USB 2.0 test pattern for hub

Part Number: TUSB8041
Other Parts Discussed in Thread: AM5728

Tool/software: Linux

Hi, we want to do the USB2.0 compliance test on TUSB8041 downstream  port, the hub upstream port is connected to AM5728 which works as host, the OS is Linux. It seems there is no way to do the test in this situation after I read these two post? 

1.  https://e2e.ti.com/support/interface/f/138/t/744866?tisearch=e2e-sitesearch&keymatch=usb2.0%20compliance%20test   2. https://e2e.ti.com/support/interface/f/138/t/777891?tisearch=e2e-sitesearch&keymatch=usb2.0%20compliance%20test

However I saw there is already command in Linux SDK for processor USB controller to generate test pattern in the WiKi page: processors.wiki.ti.com/.../UsbgeneralpageLinuxCore

http://processors.wiki.ti.com/index.php/Linux_Core_DWC3_User%27s_Guide#USB_2.0_Test_Modes

Thus, can you confirm if we let the processor host keep sending out test pattern, then will we be able to probe these signals in the hub downstream port?

If not, can you suggest a way we do the compliance test for our product?

  • Hi YF,

    The hub will only repeat the test packets if the host controller sends a test force enable command to the port under test first.

    The hub will not generate the test packets unless the correct command sequence is sent by the host controller.  The only other option is to wire a Microsft host to the upstream port of the hub to generate the correct commands so the downstream ports can be tested.

    Regards,

    JMMN