usb power delivery - compliance tests...the usb power-delivery certification process requires all pd...

24
1 SLVA892 – May 2017 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated USB Power Delivery - Compliance Tests Application Report SLVA892 – May 2017 USB Power Delivery - Compliance Tests ABSTRACT The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s deterministic and communication-engine MOI, in addition to various other load and signaling tests. This application report explains the setup of three extensively used USB-PD testers and configuration of the PD Vendor Information File as per the product’s PD features or capabilities. Contents 1 Introduction ................................................................................................................... 2 2 Getting Started - Ellisys ® .................................................................................................... 2 3 Getting Started – GRL ..................................................................................................... 23 4 Getting Started – MQP .................................................................................................... 23 List of Figures 1 Port Information - System Configuration (0x28) Register .............................................................. 3 2 USB Communication Capability - Autonegotiate Sink (0x37) Register ............................................... 4 3 Data Role Swap Capability - Control Configuration (0x29) Register.................................................. 4 4 Externally Powered - Control Configuration (0x29) Register........................................................... 5 5 VCONN Swap Capability - Control Configuration (0x29) Register .................................................... 5 6 Transmit Identity Data Object (0x47) Register ........................................................................... 6 7 PD Power - Transmit Source Capabilities (0x32) Register............................................................. 7 8 USB Suspend Support - Transmit Source Capabilities (0x32) Register ............................................. 7 9 Total Source PDOs - Transmit Source Capabilities (0x32) Register ................................................. 8 10 Supply Type - Transmit Source Capabilities (0x32) Register .......................................................... 8 11 Peak Current - Transmit Source Capabilities (0x32) Register ......................................................... 9 12 PDO Voltage - Transmit Source Capabilities (0x32) Register ......................................................... 9 13 Maximum PDO Current - Transmit Source Capabilities (0x32) Register............................................. 9 14 Minimum and Maximum Voltage - Transmit Source Capabilities (0x32) Register................................. 10 15 Maximum PDO Power - Transmit Source Capabilities (0x32) Register ............................................ 11 16 PD Power - Transmit Sink Capabilities (0x33) Register .............................................................. 11 17 No USB Suspend - Autonegotiate Sink (0x37) Register .............................................................. 12 18 Giveback Flag - Autonegotiate Sink (0x37) Register .................................................................. 12 19 Total Sink PDOs - Transmit Sink Capabilities (0x33) Register ...................................................... 13 20 Supply Type - Transmit Sink Capabilities (0x33) Register ........................................................... 13 21 Operating Current and Voltage - Transmit Sink Capabilities (0x33) Register ...................................... 14 22 Operating Power - Transmit Sink Capabilities (0x33) Register ...................................................... 14 23 Minimum and Maximum Voltage - Transmit Sink Capabilities (0x33) Register .................................... 15 24 Power Swap Capabilities - Control Configuration (0x29) Register .................................................. 15 25 Power Swap Capabilities - Control Configuration (0x29) Register .................................................. 15 26 Transmit Identity Data Object (0x47) Register ......................................................................... 16 27 Alternate Mode Configuration Registers ................................................................................ 16

Upload: others

Post on 09-Jun-2021

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

1SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

Application ReportSLVA892–May 2017

USB Power Delivery - Compliance Tests

ABSTRACTThe USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’TPS6598x to comply with the USB-IF’s deterministic and communication-engine MOI, in addition tovarious other load and signaling tests. This application report explains the setup of three extensively usedUSB-PD testers and configuration of the PD Vendor Information File as per the product’s PD features orcapabilities.

Contents1 Introduction ................................................................................................................... 22 Getting Started - Ellisys®.................................................................................................... 23 Getting Started – GRL ..................................................................................................... 234 Getting Started – MQP .................................................................................................... 23

List of Figures

1 Port Information - System Configuration (0x28) Register .............................................................. 32 USB Communication Capability - Autonegotiate Sink (0x37) Register ............................................... 43 Data Role Swap Capability - Control Configuration (0x29) Register.................................................. 44 Externally Powered - Control Configuration (0x29) Register........................................................... 55 VCONN Swap Capability - Control Configuration (0x29) Register .................................................... 56 Transmit Identity Data Object (0x47) Register........................................................................... 67 PD Power - Transmit Source Capabilities (0x32) Register............................................................. 78 USB Suspend Support - Transmit Source Capabilities (0x32) Register ............................................. 79 Total Source PDOs - Transmit Source Capabilities (0x32) Register ................................................. 810 Supply Type - Transmit Source Capabilities (0x32) Register.......................................................... 811 Peak Current - Transmit Source Capabilities (0x32) Register......................................................... 912 PDO Voltage - Transmit Source Capabilities (0x32) Register ......................................................... 913 Maximum PDO Current - Transmit Source Capabilities (0x32) Register............................................. 914 Minimum and Maximum Voltage - Transmit Source Capabilities (0x32) Register................................. 1015 Maximum PDO Power - Transmit Source Capabilities (0x32) Register ............................................ 1116 PD Power - Transmit Sink Capabilities (0x33) Register .............................................................. 1117 No USB Suspend - Autonegotiate Sink (0x37) Register .............................................................. 1218 Giveback Flag - Autonegotiate Sink (0x37) Register .................................................................. 1219 Total Sink PDOs - Transmit Sink Capabilities (0x33) Register ...................................................... 1320 Supply Type - Transmit Sink Capabilities (0x33) Register ........................................................... 1321 Operating Current and Voltage - Transmit Sink Capabilities (0x33) Register...................................... 1422 Operating Power - Transmit Sink Capabilities (0x33) Register ...................................................... 1423 Minimum and Maximum Voltage - Transmit Sink Capabilities (0x33) Register .................................... 1524 Power Swap Capabilities - Control Configuration (0x29) Register .................................................. 1525 Power Swap Capabilities - Control Configuration (0x29) Register .................................................. 1526 Transmit Identity Data Object (0x47) Register ......................................................................... 1627 Alternate Mode Configuration Registers ................................................................................ 16

Page 2: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Introduction www.ti.com

2 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

28 Type-C Current - System Configuration (0x28) Register ............................................................. 1729 Try.SRC Capability - System Configuration (0x28) Register ......................................................... 1730 Accessory Support - System Configuration (0x28) Register ......................................................... 1731 VCONN Support - System Configuration (0x28) Register ............................................................ 1832 BC1.2 Support - System Configuration (0x28) Register .............................................................. 1833 Test Equipment and UUT Connections ................................................................................. 1834 Data Capability as USB Device and Host - Transmit Identity (0x47) Register..................................... 1935 Ellisys® Examiner and UUT - Connection Diagram .................................................................... 1936 Test Selection - Ellisys® Examiner ....................................................................................... 2037 Vendor Information File - Ellisys® Examiner ............................................................................ 2138 Test Results - Ellisys® Examiner ......................................................................................... 2239 USB EP Capability - System Configuration (0x28) Register ......................................................... 2340 Initiating Data Role Swaps - System Configuration (0x28) Register ................................................ 23

List of Tables

TrademarksBoosterPack is a trademark of Texas Instruments, Incorporated.USB Explorer 350 (EX350) is a trademark of Ellisys.Ellisys is a registered trademark of Ellisys.Microsoft, Windows are registered trademarks of Microsoft Corporation.Aardvark I2C/SPI is a trademark of Total Phase, Inc..Type-C is a trademark of USB Implementers Forum, Inc..All other trademarks are the property of their respective owners.

1 IntroductionThe TPS6598x device is a standalone, USB Type-C™, power-delivery (PD) controller that provides cable-plug and orientation detection at the USB Type-C connector. Upon cable detection, the TPS6598x devicecommunicates on the CC wire using the USB-PD protocol. After successfully completing USB-PDnegotiation, the TPS6598x enables the appropriate power paths and configures alternate mode settingsfor internal and external (optional) multiplexers.

The device must comply with the USB-IF’s PD specifications and test plans, and there are various USB-PD testers or examiners that test the device’s compliance. This document describes the setup of threeextensively used USB-PD testers and the execution of their various compliance test suites.

2 Getting Started - Ellisys®

Ellisys® USB Explorer 350 (EX350)™ is the comprehensive protocol test and analysis system for USB 3.1,USB 2.0, and USB PD. This section lists the instructions for setting up the tester, the unit under test(UUT), and the host and control system for executing the compliance tests.

2.1 Prerequisites• Ellisys USB Explorer 350 protocol test and analysis system• USB VIF generator• TPS65982 BoosterPack™ EVM• Aardvark I2C/SPI™ adapter• PC running Microsoft® Windows® 7

Page 3: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

3SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

(1) Contact your TI representative to request access to the secure site.

2.2 InstallationDownload and install the following drivers and tools if not yet installed on the Windows PC:• Ellisys USB Explorer 350 examiner• Ellisys USB Explorer 350 analyzer

– This is optional and only required for collected PD logs.• TPS6598x Configuration Tool• TPS6598x Host Interface (HI) Utility Tool for the device type used for the tests (also available from the

access controller secure site (1))

NOTE: This guide assumes that all TI tools are installed at location C:\Program Files\TexasInstruments.

2.3 Test Setup

2.3.1 Preparing the UUT for the TestsIf the service pack or application binaries are already programmed on TPS6598x EVM or customer’splatform, proceed to Section 2.3.2.

Launch the latest version of the TPS6598x Configuration tool and generate a test binary to beprogrammed on the UUT. See TPS6598x Application-Customization Tool User Guide for detailedinstructions on generating the binaries and programming the same on the UUT.

2.3.2 Generating the Ellisys® Vendor Information FileVendor Information File (VIF) defines the capabilities of the UUT and is a medium for the Ellisys testerapplication to detect the UUT and its properties. The tester uses this information to assign some of thetests and results. For example, if the UUT is configured to not accept any DR Swap to DFP requests, thetester will fail the corresponding test cases if the UUT accepts such a request. Also, the tester selectivelyincludes or excludes the tests depending on the UUT’s capabilities.

Launch the VIF Generator tool for creating a VIF for the tests. The format of the VIF and information aboutits various fields are detailed in the VIF user guide (VIF-UG), which is part of the tool’s installer. Thissection briefly explains these fields, and relates them to TPS65982’s configurations and features:

Intro Fields• UUT_Device_Type: This field defines the type of UUT, and a suitable or valid option must be set for

the same depending on the device’s configuration. For example, if the Port Information field of theSystem Configuration register is set as Figure 1, the field in VIF must be set to 3 : Provider Only.

Figure 1. Port Information - System Configuration (0x28) Register

• Other fields in this tab define the vendor and product name or ID of the UUT. Refer the VIF-UG fordetails and fill these fields appropriately.

Page 4: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

4 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

General PD Fields• PD_Specification_Revision: This field defines the version of the PD specification supported by the

UUT. For example, TPS65982 is PD2 compliant, so this field must be set to 1 : Revision 2.0.• USB_Comms_Capable: This field is used by the tester to determine if the UUT is capable of USB

communication. The field must be set to either YES or NO depending on the setting of USBCommunication Capable bit of Autonegotiate Sink register.If this field is configured as YES, then one of its companion fields Type_C_Can_Act_As_Device orType_C_Can_Act_As_Host in USB Type-C tab of VIF Generator tool will be set to YES.

Figure 2. USB Communication Capability - Autonegotiate Sink (0x37) Register

• DR_Swap_To_DFP_Supported and DR_Swap_To_UFP_Supported: These fields define the data-roleswap capability of the UUT and must be set in accordance with the device’s properties as defined inthe Control Configuration register in Figure 3.

Figure 3. Data Role Swap Capability - Control Configuration (0x29) Register

Page 5: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

5SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Unconstrained_Power: This field indicates the tester that the UUT has an external or uninterruptedsource of power and must be set to either YES or NO depending on the device’s properties as definedin the Control Configuration register in Figure 4.

Figure 4. Externally Powered - Control Configuration (0x29) Register

• VCONN_Swap_To_On_Supported and VCONN_Swap_To_Off_Supported: These fields define theVCONN swap capability of the device and both must be set to either YES’ or NO depending on thedevice’s setting as defined in the Control Configuration register in Figure 5.

Figure 5. VCONN Swap Capability - Control Configuration (0x29) Register

Page 6: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

6 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Responds_To_Discov_SOP and Attempts_Discov_SOP: These fields define the ability of the device torespond or initiate a Discover Identity message respectively. Responds_To_Discov_SOP must be setto YES if Transmit Identity Object register is set to a non-zero value as in Figure 6Attempts_Discov_SOP must be set to YES if the device supports any Alternate Modes, or NOotherwise.

Figure 6. Transmit Identity Data Object (0x47) Register

• SOP*: This section defines the capabilities of the device to handle the SOP* protocol and must be setin accordance to the device’s properties. For TPS6598x, SOP_Capable and SOP_P_Capable must beset to YES.

Page 7: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

7SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

Source Fields• PD_Power_as_Source: This field defines the maximum PDP level in mW supported by the source-

capable device and must be set per the settings in the Transmit Source Capabilities register. Forexample, if the device has two source PDOs as shown in Figure 7, this field will be set to (3 A × 12 V)= 36000 mW.

Figure 7. PD Power - Transmit Source Capabilities (0x32) Register

• USB_Suspend_May_Be_Cleared: This field indicates the connected sink whether it must obey USBSuspend and must be set depending on the settings in Figure 8 in the Transmit Source Capabilitiesregister. If the UUT (as a source) has USB Suspend Supported set to 0, then the VIF must set thisfield to YES or NO otherwise.

Figure 8. USB Suspend Support - Transmit Source Capabilities (0x32) Register

Page 8: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

8 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Num_Src_PDOs: This field defines the number of source PDOs supported by the UUT and must beset in accordance to the device properties as defined in the Transmit Source Capabilities register inFigure 9.

Figure 9. Total Source PDOs - Transmit Source Capabilities (0x32) Register

• Source PDOs: The following fields represent the parameters for a single Source PDO where <X> is aninteger between 1 and 7:– Src_PDO_Supply_Type <X>: This field defines the type of the source PDO and must be set to

either 1 : Fixed, 2 : Battery, or 3 : Variable depending on the settings in Figure 10 in the TransmitSource Capabilities register.

Figure 10. Supply Type - Transmit Source Capabilities (0x32) Register

Page 9: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

9SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

– Src_PDO_Peak_Current <X>: This field defines the peak currents supported by the UUT for shortperiods and is indicated as a percent of the operating current. It must be set to one of the availableoptions depending on the settings in Figure 11 in the Transmit Source Capabilities register.

Figure 11. Peak Current - Transmit Source Capabilities (0x32) Register

– Src_PDO_Voltage <X>: This field defines the output voltage of a source PDO in the units of 50 mVand must be set per the Figure 12 configuration in the Transmit Source Capabilities register. Forexample, for Figure 12 settings of PDO-1, this field must be set to 5000 mV / 50 mV = 100. The VIFGenerator tool takes care of this conversion when generating the vendor information file.

Figure 12. PDO Voltage - Transmit Source Capabilities (0x32) Register

– Src_PDO_Max_Current: This field defines the maximum operating current of a source PDO in unitsof 10 mA and must be set per the Figure 13 configuration in the Transmit Source Capabilitiesregister. For example, for Figure 13 settings of PDO-1, this field must be set to 3000 mA / 10 mA =300. The VIF Generator tool takes care of this conversion when generating the vendor informationfile.

Figure 13. Maximum PDO Current - Transmit Source Capabilities (0x32) Register

Page 10: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

10 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

– Src_PDO_Min_Voltage <X> and Src_PDO_Max_Voltage <X>: These fields define the minimumand maximum output voltage of a source PDO in units of 50 mV and must be set per the Figure 14configuration in the Transmit Source Capabilities register. For example, for Figure 14 settings ofPDO-2, these fields must be set to (5000 mV / 50 mV) = 100 and (12000 mV / 50 mV) = 240,respectively. The VIF Generator tool takes care of this conversion when generating the vendorinformation file.

Figure 14. Minimum and Maximum Voltage - Transmit Source Capabilities (0x32) Register

Page 11: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

11SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

– Src_PDO_Max_Power <X>: This field defines the maximum operating power of a source PDO inunits of 250 mW and must be set as per the Figure 15 configuration in the Transmit SourceCapabilities register. For example, for Figure 15 settings of PDO-2, this field must be set to 75000mW / 250 mW = 300. The VIF Generator tool takes care of this conversion when generating thevendor information file.

Figure 15. Maximum PDO Power - Transmit Source Capabilities (0x32) Register

Sink Fields• PD_Power_as_Sink: This field defines the maximum PDP level in mW supported by the sink-capable

device and must be set per the Figure 16 settings in the Transmit Sink Capabilities register. Forexample, if the device has two sink PDOs as shown in Figure 16, this field must be set to (3 A × 12 V)= 36000 mW.

Figure 16. PD Power - Transmit Sink Capabilities (0x33) Register

Page 12: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

12 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• No_USB_Suspend_May_Be_Set: This field indicates the sink device's intent not to obey USB Suspendand must be set depending on the Figure 17 settings in the Autonegotiate Sink register. If the UUT (asa sink) has No USB Suspend set to 1, then the VIF must set this field to YES or NO otherwise.

Figure 17. No USB Suspend - Autonegotiate Sink (0x37) Register

• GiveBack_May_Be_Set: This field indicates if a sink is prepared to lower its operating current to itsminimum supported operating current, on demand, and must be set depending on the Figure 18settings in the Autonegotiate Sink register. If the UUT (as a sink) has Giveback Flag set to 1, then theVIF must set this field to YES or NO otherwise.

Figure 18. Giveback Flag - Autonegotiate Sink (0x37) Register

• Higher_Capability_Set: This field indicates that the sink requires more than vSafe5V to provide fullfunctionality and must be set to YES if the UUT has more than one sink PDO.

Page 13: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

13SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Num_Snk_PDOs: This field defines the number of sink PDOs supported by the UUT and must be setin accordance to the device properties as defined in the Transmit Sink Capabilities register inFigure 19.

Figure 19. Total Sink PDOs - Transmit Sink Capabilities (0x33) Register

• Sink PDO: The below fields represent the parameters for a single Sink PDO where <X> is an integerbetween 1 and 7:– Snk_PDO_Supply_Type <X>: The field defines the type of the sink PDO and must be set to either

1 : Fixed, 2 : Battery, or 3 : Variable depending on the Figure 20 settings in Transmit SinkCapabilities register.

Figure 20. Supply Type - Transmit Sink Capabilities (0x33) Register

Page 14: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

14 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

– Snk_PDO_Voltage <X>: This field defines the output voltage of a sink PDO in the units of 50 mVand must be set per the Figure 21 configuration in the Transmit Sink Capabilities register. Forexample, for Figure 21 settings of PDO-1, this field must be set to 5000 mV / 50 mV = 100. The VIFGenerator tool takes care of this conversion when generating the vendor information file.

– Snk_PDO_Op_Current <X>: This field defines the operating current of a sink PDO in units of 10mA and must be set per the Figure 21 configuration in Transmit Sink Capabilities register. Forexample, for Figure 21 settings of PDO-1, this field must be set to 900 mA / 10 mA = 90. The VIFGenerator tool takes care of this conversion when generating the vendor information file.

Figure 21. Operating Current and Voltage - Transmit Sink Capabilities (0x33) Register

– Snk_PDO_Op_Power<X>: This field defines the operating power of a sink PDO in units of 250 mWand must be set per the Figure 22 configuration in Transmit Sink Capabilities register. For example,for Figure 22 settings of PDO-2, this field must be set to 22500 mW / 250 mW = 90. The VIFGenerator tool takes care of this conversion when generating the vendor information file.

Figure 22. Operating Power - Transmit Sink Capabilities (0x33) Register

Page 15: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

15SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

– Snk_PDO_Min_Voltage <X> and Snk_PDO_Max_Voltage <X>: These fields define the minimumand maximum voltage of a sink PDO in units of 50 mV and must be set per the Figure 23configuration in Transmit Sink Capabilities register. For example, for Figure 23 settings of PDO-2,these fields must be set to (12000 mV / 50 mV) = 240 and (20000 mV / 50 mV) = 400, respectively.The VIF Generator tool takes care of this conversion when generating the vendor information file.

Figure 23. Minimum and Maximum Voltage - Transmit Sink Capabilities (0x33) Register

Dual Role Fields• Accepts_PR_Swap_As_Src and Accepts_PR_Swap_As_Snk: These fields define the power-role swap

capability of the device and must be set in accordance to the device properties as defined in theControl Configuration register in Figure 24.

Figure 24. Power Swap Capabilities - Control Configuration (0x29) Register

• Requests_PR_Swap_As_Src and Requests_PR_Swap_As_Snk: These fields define the ability of thedevice to request for power-role swaps and must be set in accordance to the device properties asdefined in the Control Configuration register in Figure 25.

Figure 25. Power Swap Capabilities - Control Configuration (0x29) Register

Page 16: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

16 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

SOP Discovery Fields• The fields in Part One tab define the identity of the UUT and must be set in accordance with the

Figure 26 configuration as defined in the Transmit Identity Data Object register.Data_Capable_as_USB_Host_SOP and Data_Capable_as_USB_Device_SOP: These fields areautomatically set by the tool depending on the corresponding settings in USB Type-C fields.

Figure 26. Transmit Identity Data Object (0x47) Register

• The self-explanatory fields in Part Two tab define the alternate modes supported by the UUT and mustbe set in accordance with the configurations in registers as indicated in Figure 27. VIF-UG has detaileddescription of these fields.

Figure 27. Alternate Mode Configuration Registers

Page 17: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

17SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

USB Type-C Fields• Type_C_State_Machine: This field indicates the type of Type-C state machine implemented on the

UUT. For some of the configurations of UUT_Device_Type, this field is set automatically by the tool.• Rp_Value: This field defines the Rp value that the UUT (as a source) will present upon a connection

and must be set depending on the Figure 28 configuration in the System Configuration register.

Figure 28. Type-C Current - System Configuration (0x28) Register

• Type_C_Implements_Try_SRC and Type_C_Implements_Try_SNK: These fields define the ability ofthe UUT to support Try.SRC and Try.SNK state when transitioning out of AttachWait.SNK andAttacheWait.SRC respectively. Type_C_Implements_Try_SRC must be set in accordance withFigure 29 configuration in System Configuration register and Type_C_Implements_Try_SNK must bealways set to NO for TPS6598x.

Figure 29. Try.SRC Capability - System Configuration (0x28) Register

• Type_C_Is_Debug_Target_SRC, Type_C_Is_Debug_Target_SNK, andType_C_Supports_Audio_Accessory: These fields define the ability of the device to support DebugAccessory Mode and Audio Accessory Mode respectively and must be set per the Figure 30configuration in the System Configuration register.

Figure 30. Accessory Support - System Configuration (0x28) Register

NOTE: Some device variants do not have support for the accessory modes. Contact your TIrepresentative for more details.

Page 18: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

18 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Type_C_Sources_VCONN and Type_C_Supports_VCONN_Powered_Accessory: These fields indicatewhether the UUT sources VCONN and supports communication with a VCONN powered accessoryand must be set per the configuration in the System Configuration register. These fields areautomatically set by the tool if VCONN_Swap_To_XXX is set as YES in General PD Settings tab.

Figure 31. VCONN Support - System Configuration (0x28) Register

• Type_C_BC_1_2_Support: This field indicates whether the UUT supports USB Battery Charging v1.2and must be set per the Figure 32 configuration in the System Configuration register.

Figure 32. BC1.2 Support - System Configuration (0x28) Register

• Type_C_Can_Act_As_Host and Type_C_Can_Act_As_Device: These fields indicate whether the UUTcan communicate with USB 2.0 or USB 3.1 as a host or device respectively and must be set per theFigure 33 configuration in the Transmit Identity Data Object register.

Figure 33. Test Equipment and UUT Connections

Page 19: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Host PC running

Examiner SW

Ellisys® EX350TM Examiner

Ellisys® EX350TM

Type-C Adapter

UUT

AB

From

UFP

From

DFP

C

Custom Cable

www.ti.com Getting Started - Ellisys®

19SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

• Type_C_Host_Speed and Type_C_Device_Speed: These fields indicate which USB speed issupported when communicating as a host or a device respectively.

Figure 34. Data Capability as USB Device and Host - Transmit Identity (0x47) Register

• Type_C_Is_Alt_Mode_Controller and Type_C_Is_Alt_Mode_Device: These fields indicate whether theUUT is capable to act as an Alternate Mode Controller or Alternate Mode Device respectively and mustbe set to YES if the device supports alternate modes.

2.3.3 Connection and Test ExecutionConnect the test-equipment and UUT to the PC as shown in Figure 35.

Figure 35. Ellisys® Examiner and UUT - Connection Diagram

1. Connect the test equipment to the Windows PC.2. Launch the tester GUI, and select the tests that are to be executed.

Page 20: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

20 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

Figure 36. Test Selection - Ellisys® Examiner

3. Upload the VIF that was created in above, and run the selected tests.

Page 21: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started - Ellisys®

21SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

Figure 37. Vendor Information File - Ellisys® Examiner

4. After the tests are completed, the results can be found under Results tab.

Page 22: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

Getting Started - Ellisys® www.ti.com

22 SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

Figure 38. Test Results - Ellisys® Examiner

Page 23: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

www.ti.com Getting Started – GRL

23SLVA892–May 2017Submit Documentation Feedback

Copyright © 2017, Texas Instruments Incorporated

USB Power Delivery - Compliance Tests

2.3.4 Notes and Known Issues• Some PD test-cases like TD.4.10.3 require the UUT to have the USB EP or Billboard capabilities and

might fail if these features are not enabled in the device’s System Configuration register.

Figure 39. USB EP Capability - System Configuration (0x28) Register

• Sometimes the tester incorrectly responds to the DR-Swap requests of the UUT. This may cause somePD test cases like TD.4.10.2 and TD.PD.VNDI.E10 to fail if the device is configured to initiate suchrequests.

Figure 40. Initiating Data Role Swaps - System Configuration (0x28) Register

• Some tests like TD.PD.VNDI.E4 SOP* might fail if SOP_P_Capable is set to YES in VIF because thetester wrongly marks the test case as Failed if the tester does not detect a Good-CRC from the UUT,and instead the tester must have checked if the device sent any VDM response as against the setconfiguration for this particular test-case.Though TPS65982 supports SOP’ and SOP’’ handling, the device monitors messages from plug onlywhen expecting a response.

3 Getting Started – GRLThis section will be updated in a future revision.

4 Getting Started – MQPThis section will be updated in a future revision.

Page 24: USB Power Delivery - Compliance Tests...The USB Power-Delivery Certification process requires all PD end-products using Texas Instruments’ TPS6598x to comply with the USB-IF’s

IMPORTANT NOTICE FOR TI DESIGN INFORMATION AND RESOURCES

Texas Instruments Incorporated (‘TI”) technical, application or other design advice, services or information, including, but not limited to,reference designs and materials relating to evaluation modules, (collectively, “TI Resources”) are intended to assist designers who aredeveloping applications that incorporate TI products; by downloading, accessing or using any particular TI Resource in any way, you(individually or, if you are acting on behalf of a company, your company) agree to use it solely for this purpose and subject to the terms ofthis Notice.TI’s provision of TI Resources does not expand or otherwise alter TI’s applicable published warranties or warranty disclaimers for TIproducts, and no additional obligations or liabilities arise from TI providing such TI Resources. TI reserves the right to make corrections,enhancements, improvements and other changes to its TI Resources.You understand and agree that you remain responsible for using your independent analysis, evaluation and judgment in designing yourapplications and that you have full and exclusive responsibility to assure the safety of your applications and compliance of your applications(and of all TI products used in or for your applications) with all applicable regulations, laws and other applicable requirements. Yourepresent that, with respect to your applications, you have all the necessary expertise to create and implement safeguards that (1)anticipate dangerous consequences of failures, (2) monitor failures and their consequences, and (3) lessen the likelihood of failures thatmight cause harm and take appropriate actions. You agree that prior to using or distributing any applications that include TI products, youwill thoroughly test such applications and the functionality of such TI products as used in such applications. TI has not conducted anytesting other than that specifically described in the published documentation for a particular TI Resource.You are authorized to use, copy and modify any individual TI Resource only in connection with the development of applications that includethe TI product(s) identified in such TI Resource. NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE TOANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTYRIGHT OF TI OR ANY THIRD PARTY IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right, orother intellectual property right relating to any combination, machine, or process in which TI products or services are used. Informationregarding or referencing third-party products or services does not constitute a license to use such products or services, or a warranty orendorsement thereof. Use of TI Resources may require a license from a third party under the patents or other intellectual property of thethird party, or a license from TI under the patents or other intellectual property of TI.TI RESOURCES ARE PROVIDED “AS IS” AND WITH ALL FAULTS. TI DISCLAIMS ALL OTHER WARRANTIES ORREPRESENTATIONS, EXPRESS OR IMPLIED, REGARDING TI RESOURCES OR USE THEREOF, INCLUDING BUT NOT LIMITED TOACCURACY OR COMPLETENESS, TITLE, ANY EPIDEMIC FAILURE WARRANTY AND ANY IMPLIED WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUALPROPERTY RIGHTS.TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY YOU AGAINST ANY CLAIM, INCLUDING BUT NOTLIMITED TO ANY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON ANY COMBINATION OF PRODUCTS EVEN IFDESCRIBED IN TI RESOURCES OR OTHERWISE. IN NO EVENT SHALL TI BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL,COLLATERAL, INDIRECT, PUNITIVE, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES IN CONNECTION WITH ORARISING OUT OF TI RESOURCES OR USE THEREOF, AND REGARDLESS OF WHETHER TI HAS BEEN ADVISED OF THEPOSSIBILITY OF SUCH DAMAGES.You agree to fully indemnify TI and its representatives against any damages, costs, losses, and/or liabilities arising out of your non-compliance with the terms and provisions of this Notice.This Notice applies to TI Resources. Additional terms apply to the use and purchase of certain types of materials, TI products and services.These include; without limitation, TI’s standard terms for semiconductor products http://www.ti.com/sc/docs/stdterms.htm), evaluationmodules, and samples (http://www.ti.com/sc/docs/sampterms.htm).

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265Copyright © 2017, Texas Instruments Incorporated