Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Testing USB-C Interface in a Tablet or a Smartphone

402 views

Published on

The presentation introduces detailed steps for verifying the functionality of the USB-C interface in a smart phone or a tablet.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Testing USB-C Interface in a Tablet or a Smartphone

  1. 1. Using Unigraf TSI Test Cases for verifying the functionality of a USB-C Host (DFP) D.U.T. Testing USB Type-C Interface in a Tablet or a Smartphone 2017-06-29
  2. 2. Agenda • Testing a USB-C connected tablet or smartphone ✓ Continuity of input lines ✓ Bus voltages ✓ Functionality of DP Alt Mode • Unigraf test solutions for USB-C • Unigraf TSI SW API for test automation
  3. 3. Testing a USB-C Tablet or Smartphone • Three Unigraf TSI test cases to verify a DP over USB-C source (e.g. tablet or smartphone) ✓ Built into Unigraf TSI API ✓ Minimal integration work • Cover basic functionalities of the USB-C interface ✓ Vconn signals ✓ Continuity of CC1/2, SBU1/2, Vbus1-4, GND1-4 lines ✓ Vbus voltage ✓ DisplayPort Alt Mode video and audio (functionality of SS lines)
  4. 4. Testcase#1:VCONN Signals ➢ UCD-340 in UFP mode ➢ Rd pull-down in CC1, Ra pull-down in CC2 ➢ UUT (DFP mode) detects the UFP’s pull-down on CC1 ➢ DFP turns on Vbus and Vconn to CC-line connected to CC2 ➢ After a delay UCD-340 measures the voltage in CC2 (Vconn) ➢ UCD-340 reconnects ➢ UCD-340 in UFP mode ➢ Rd pull-down in CC2, Ra pull-down in CC1 ➢ UUT (DFP mode) detects the UFP’s pull-down on CC2 ➢ DFP turns on Vbus and Vconn to CC-line connected to CC1 ➢ After a delay UCD-340 measures the voltage in CC1 (Vconn) ➢ End of test
  5. 5. Testcase#1 VCONNSignals Test Case #1 Set UFP Mode Measure CC2 (Vconn) voltage Enable CC1 & Ra to CC2 Pass / Fail Connected? Delay Enable CC2 & Ra to CC1 Connected? Disconnect CC1 & Ra from CC2 Delay Measure CC1 (Vconn) voltage
  6. 6. Step#1(CC1) Measure Voltage
  7. 7. Step#2(CC2) Measure Voltage
  8. 8. Testcase#2: SBU&DPAltMode ➢ UCD-340 in UFP mode and DP Sink ➢ Rd pull-down in CC1, Ra pull-down in CC2 ➢ Enter DisplayPort Alternate Mode ➢ UCD-340 captures and verifies video and audio ➢ Measure SBU1/2 (AUX Channel+/-) ➢ Dis-assert HPD (low) to stop AUX traffic ➢ UCD-340 reconnects ➢ Rd pull-down in CC2, Ra pull-down in CC1 ➢ Enter DisplayPort Alternate Mode ➢ UCD-340 captures and verifies video and audio ➢ Measure SBU1/2 (AUX Channel+/-) ➢ Dis-assert HPD (low) to stop AUX traffic ➢ End of test
  9. 9. TestCase#2 SBU&DPAltMode Test Case #2 Set UFP Mode Measure SBU1/2 (AUX) voltageEnable CC1 & Ra to CC2 Pass / Fail DP Alt Mode enabled? Delay DP Alt Mode enabled? Delay Measure SBU1/2 (AUX) voltage Set HPD low Set HPD low Enable CC2 & Ra to CC1 Disconnect CC1 & Ra Video and Audio Test Video and Audio Test
  10. 10. Step#3(CC1) Measure Voltage Video Test
  11. 11. Step#4(CC2) Measure Voltage Video Test
  12. 12. Testcase#3 VbusandGND ➢ UCD-340 in UFP mode and DP Sink ➢ Rd pull-down in CC1, Ra pull-down in CC2 ➢ Wait for completed Power Contract (UUT Vbus source) ➢ Measure Vbus and GND lines ➢ Vbus1 – Vbus4 current, Vbus voltage ➢ GND1 – GND4 current ➢ Power role swap (UUT Vbus sink) ➢ Measure Vbus and GND lines ➢ Vbus1 – Vbus4 current, Vbus voltage ➢ GND1 – GND4 current ➢ End of test
  13. 13. Testcase#3 VbusandGND Test Case #3 Set UFP Mode Measure Vbus1 to Vbus 4 Enable CC1 & Ra to CC2 Pass / Fail Power Contract? Swap Power Role Power Contract? Delay Measure GND1 to GND4 Measure GND1 to GND4 Measure Vbus1 to Vbus 4 Delay
  14. 14. Step#5Vbus&GND (Sink) Measure Current 4x Measure Current 4x Measure Voltage
  15. 15. Step#6Vbus&GND (Source) Measure Current 4x Measure Current 4x Measure Voltage
  16. 16. Unigraf Test Solution for USB-C • Includes all SW and HW needed to test a USB-C interface ✓ UCD-340 test equipment hardware ✓ UCD Console GUI for R&D ✓ TSI SDK with ready Test Cases • Supports various test intents ✓ GUI with full controls for R&D and QA use ✓ Customizable high level API for end-of-design regression testing ✓ Ready to integrate Test Cases for most USB-C product types • Integrated DP Alt Mode testing ✓ Video and audio capture ✓ Video pattern generator
  17. 17. UCD-340 Test Unit for USB-C DP Alt Mode Sinks and Sources • Test DP Alt Mode video and audio • Test USB-C Power Delivery & DP Alt Mode • Verify interface signal continuity • HDCP 1.3 and HDCP 2.2 support • USB signal pass-thru • GUI for lab use and API for test automation
  18. 18. Unigraf Special Features • USB-C Electrical Test ✓ Electrical Test Cable includes individual cords for each GND and VBUS input ✓ Measure the continuity of VBUS and Ground inputs • Enables verification of each input separately ✓ Measure the voltage levels of CC and SBU connections • Full functionality measured in modes where SBU lines are operational • Cable Flip ✓ Electrically swap the role of CC lines • Power Delivery Test
  19. 19. USB-CElectricalTesting Measure continuity of VBUS linesMeasure continuity of GND lines Measure voltage of SBU lines* Measure voltage of CC lines *) Full functionality measured in modes where SBU lines are operational Measure voltage of VBUS lines
  20. 20. TSI API for Test Automation • Suitable for Test Automation in R&D and Production Line • Straightforward to use ✓ High level interface ✓ Pre-programmed Test Cases ✓ No need for low-level TE-specific controls • Example applications with source code • NI / LabVIEW support Glue SW Device Driver Low Level API TSI.dll TE HW Other Test Sequencer SW
  21. 21. TSI Test Cases for USB-C • Dedicated Test Case for each DP Sink and Source role • Complete ✓ Verify all functions in the product type ✓ Separate Test Case for each combination • Compact and Fast ✓ Skip roles that are not applicable • Reliable ✓ Implemented directly from the standard • Easy to Integrate ✓ High level, parameterized Test Case Set Mode Action Measure Pass / Fail
  22. 22. www.unigraf.fi www.unigraf-china.cn info@unigraf.fi Thank You!

×