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.

USB2.0 Host compliance test

Part Number: TDA4VM

Dear Experts,

I want to use the following test board for USB 2.0 compliance test.

But the measured signal of TEST_PACKET is wrong.

Please help confirm whether tda4 supports testing with this board? If not, how can I test it?

Thanks and Best Regards.

  • For more information:

    I am testing usb host for TDA4VM integrated in our customized board.

    USB schematic diagram as below:

    The test board is connected as follows:

    The middle board is used to measure the signal,  which is connected to the customized board through OTG. On the right is the test board, which controls USB 2.0 Complience test functions, for example, TEST_PACKET.

    Above, please help confirm whether TDA4 supports this USB 2.0 Complience test method,thanks.

  • This method of entering test mode, IE by sending control packets from an external device, was never tested on the TDA4 while the controller was in Host mode.  It was used only in Device mode.  It may be the case that this feature is not supported by the driver.  For Host mode, the following control register writes were done to initiate host packet sending:

    devmem2 0x06010480 w 0x000000A0;devmem2 0x06010080 w 0x00000004;devmem2 0x06010484 w 0x40000000

    This was done through the Linux command line, but the USB controller on the TDA4 was in fixed host mode.  I'm not sure if it will work in OTG mode unless a connection event puts the controller into host mode first.

  • Hi Zack,

    I plugged in the OTG and have the following log output,

    Then inserted the USB flash disk:

    Now I think the controller must be in host mode.

    Then I executed the command line in turn. The results and output log are as follows:

    cmd1

    cmd2

    cmd3

    It seems that only the second command has no exception. The other two commands all have some exception log printing. Such as USB flash disk is disconnected and connected, failed to get COMM, and HC died.

    Please help me check if there is any problem with my operation? Why are there exceptions?

    And are there any other methods to test host mode?

    Thanks.

  • During validation, I never inserted a device.  Try running the commands after you reach the point in Image 1, but before plugging in the flash disk and getting to the point of Image 2.

  • Hi Zack.

    Revalidation according to the steps you said, and it looks like the same result

    But there's no "HC died" this time.

  • Hi Zack.

    Are there any updates on this issue?

    Thanks.