SLLA593 August   2022 TUSB211 , TUSB212 , TUSB216 , TUSB216I , TUSB217A

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Host Mode Testing
    1. 2.1 Host Mode Test Procedure
  5. 3Device Mode Testing
    1. 3.1 Device Mode Test Procedure
  6. 4Embedded Host Mode Testing
    1. 4.1 Embedded Host Mode Test Procedure
  7. 5Additional Compliance Resources
  8. 6References

Embedded Host Mode Test Procedure

Begin the test procedure with all necessary devices disconnected and powered down. Ensure the VID/PID device is set to the desired test type. For high-speed signal quality testing, a PID of 0x0104 is desired (TEST_PACKET).

  1. Power relay board and set it to the "init" position
  2. Connect the "test" port of the relay board to the TUSB21XX's input
  3. Connect oscilloscope to relay board
  4. Connect head unit/embedded host to the TUSB21XX's output and power it on
  5. Toggle RSTN (reset) on TUSB21XX
  6. Connect VID/PID test host device to the "init" port of the relay board
  7. Set relay board to "test" position

As with all prior modes of testing, both CD and ENA_HS are low initially. Upon connection of the VID/PID test host device (Step 6), the CD flag switches high (Figure 4-2). Shortly following this, after successful enumeration by the embedded host, ENA_HS also switches high (Figure 4-3). If this does not occur, ensure that the VID/PID device is active and presenting the correct VID/PID combination. For some system setups, the embedded host must be powered on prior to the VID/PID device to properly enumerate it. Also ensure the relay board is set to the "init" position to support handshaking.

GUID-20220726-SS0I-CTXZ-KB44-DFTLRDR6DFN3-low.png Figure 4-2 VID/PID Device Connected - CD Status Flag
GUID-20220726-SS0I-QHCC-SVQJ-KKD61KGZ5C2H-low.png Figure 4-3 VID/PID Device Connected - ENA_HS Status Flag

After enumeration has completed, the embedded host immediately begins sending test packets. Once the relay is set to the "test" position (Step 7), test packets will appear on the oscilloscope input (Figure 4-4).

GUID-20220726-SS0I-T8WX-FBMF-4FQFWMQMP4GX-low.png Figure 4-4 Embedded Host Mode Test Packets

The test packets will continue to be sent by the embedded host until it is powered off. ENA_HS switches low after the relay board is switched back to the "init" position (Figure 4-5).

GUID-20220726-SS0I-PNDH-QP0H-HSD0B1X1C9P6-low.png Figure 4-5 Relay Board Switch - ENA_HS Status Flag

Finally, after disconnecting the VID/PID device, CD switches low (Figure 4-6).

GUID-20220726-SS0I-CXNS-Z8M0-S2H0KL6X5RZM-low.png Figure 4-6 VID/PID Device Disconnect - CD Status Flag