background image

  

 

 

 

TDSUSB2  

Universal Serial Bus Measurement Package  

077-0015-04 

 

www.tektronix.com

Summary of Contents for TDS5032

Page 1: ...TDSUSB2 Universal Serial Bus Measurement Package 077 0015 04 www tektronix com...

Page 2: ...blication supercedes that in all previously published material Specifications and price change privileges reserved TEKTRONIX and TEK are registered trademarks of Tektronix Inc TDSUSB2 Compliance Test...

Page 3: ...Introduction and Product Description 7 Compatibility 8 Requirements and Restrictions 8 Accessories 8 Optional Accessories 8 Installation 11 Setting up the Instrument to Take Measurements 11 Recommende...

Page 4: ...nt Check 30 Droop Measurement 31 Receiver Sensitivity Measurement 32 Chirp Measurement 33 Monotonic Property 34 Configuring a Measurement 34 Configure Limits 35 Configuring Signal Quality Measurements...

Page 5: ...up 60 Saving a Setup 60 Recalling a Saved Setup 60 Recalling the Default Setup 61 Recently Saved Setup 61 Recently Recalled Setup 61 Tutorial 63 Introduction to the Tutorial 63 Starting the Applicatio...

Page 6: ...Equipment Setup Full Speed Signal Quality Tests for Upstream Testing 84 Selecting and Configuring Measurements Full Speed Signal Quality Tests for Upstream Testing 85 Configuring the Measurement 86 V...

Page 7: ...s Packet Parameter Measurement 111 Resume Measurement 113 Specifying the Equipment Resume Measurement 113 Typical Equipment Setup Resume Measurement 114 Selecting and Configuring Measurement Resume 11...

Page 8: ...onfiguring Measurement Chirp 138 Configuring the Measurement 139 Viewing Results Chirp 139 Generating Reports Chirp 141 R GPIB Commands 145 About the R GPIB Program 145 R GPIB Reference Materials 145...

Page 9: ...roop Setup 176 Chirp Device EL_28 EL_29 EL_31 setup 176 Chirp Host EL_33 EL_34 setup 176 Chirp Host EL_35 setup 176 Suspend Setup 177 Resume Setup 177 Reset from High Speed 177 Reset from Suspend 177...

Page 10: ...Parameters 186 Help Menu 186 Control Menu 186 Table 1 Control parameters 186 Measurement Algorithms 187 About Measurement Algorithms 187 Cross Over Voltage for Low Speed and Full Speed Signals 187 Cr...

Page 11: ...nstream Host Equipment Setup 206 Full Speed Upstream Signal Quality Setup 207 High Speed Device Signal Quality Setup 209 Chirp Test Equipment Setup 210 Receiver Sensitivity Setup 212 Procedural steps...

Page 12: ......

Page 13: ...s on the product Consult the product manual for further ratings information before making connections to the product Do Not Operate With Suspected Failures If you suspect there is damage to this produ...

Page 14: ...General Safety Summary Symbols on the Product The following symbol s may appear in the product CAUTION Refer to Help xii TDSUSB2 Universal Serial Bus Measurement Package...

Page 15: ...pplication software with the compliance test fixture to take the following measurements Signal Quality Inrush Droop Drop supported by the test fixture only Receiver Sensitivity Impedance Measurement u...

Page 16: ...h of which offers a unique mode of assistance Tables of Contents TOC tab organizes the Help into book like sections Select a book icon to open a section select any of the topics listed under the book...

Page 17: ...tes a jump hyperlink to another topic Select the green text to jump to the related topic For example select the green text to jump to the topic on Online Help and Related Documentation and the Back bu...

Page 18: ...information prints Conventions Online help uses the following conventions Refers to the software part of the TDSUSB2 Universal Serial Bus Measurements Package as the TDSUSB2 application or as the appl...

Page 19: ...l Bus Measurements Package Reference TDSUSBF USB2 0 Compliance Test Fixture Instructions For more information on USB2 0 specifications visit www usb org Refer to the Optional Applications Software on...

Page 20: ...p files as set files If possible save the waveform on which you are performing the measurement as a wfm file Once you have gathered this information you can contact technical support by phone or throu...

Page 21: ...t fixture to take the following measurements Signal Quality Inrush Droop Drop supported by the test fixture only Receiver Sensitivity Impedance Measurement using Time Domain Reflectometry TDR supporte...

Page 22: ...rted oscilloscope The application uses the Math1 channel for Low Speed and Full Speed mode of operation You will lose any information that you have stored in the Math1 channel You cannot restore the o...

Page 23: ...TCP202 TCP0030 Current probes TDS8000 Instrument with 80E04 Time Domain Reflectometry sampling module Deskew Fixture for supported instrument Probe Calibration and Deskew Fixture Tektronix part number...

Page 24: ...Getting Started 10 TDSUSB2 Universal Serial Bus Measurement Package...

Page 25: ...Recommended Instruments and Probes For information on recommended instruments and probes refer to the Optional Application Software on Windows Based Oscilloscopes Installation Manual Installing the A...

Page 26: ...in the accessories section to perform deskew The deskew source can be the built in probe compensation signal in the oscilloscope or an external signal source Note 2 The oscilloscope has a deskew range...

Page 27: ...area to Ch1 The Source waveform is the reference point to which the remaining channels are deskewed 7 Set the channel Source in the To area to Ch2 to deskew the channel 8 Select the Reference Level fo...

Page 28: ...ing the deskew operation with a single edge The reference level is set to 50 for Ch1 and Ch2 the hysteresis is set to 5 the number of edges is set to 1 and the slope is set to the rising edge Note The...

Page 29: ...scilloscope 6 Select Utilities Deskew 7 Set the channel Source in the From area to Ch1 The remaining channels are deskewed to the Source waveform which is the reference point 8 Set the channel Source...

Page 30: ...ew setup 18 Set the Reference levels for Ch1 and Ch2 in the application to 50 the hysteresis to 10 the number of edges to 4 and the type to rising edge The following figure shows the display after per...

Page 31: ...e zoomed section of the waveform available on the lower part of the screen shows the results of the deskew operation clearly You will see that after performing the deskew operation the skew is automat...

Page 32: ...Installation 18 TDSUSB2 Universal Serial Bus Measurement Package...

Page 33: ...Visual frame that encloses a set of related options Option button Button that defines a particular command or task List box Box that contains a list of items from which you can select one item Box Box...

Page 34: ...1 Choose Help from the TDSUSB2 menu bar 2 Use the Contents Table of contents or Index tabs to navigate through the help 3 The touch screen mode of operation is enabled by default You can disable this...

Page 35: ...TekApplications tdsusb2 temp Temporary files used in the application File Name Extensions Table 3 Description of File names Extensions Description csv Input file is in the csv comma separated variable...

Page 36: ...of the Test Fixture The TDSUSBF USB2 0 Compliance Test Fixture is a break out board that enables you to test live USB2 0 signals exchanged between the device and the host For more information on the...

Page 37: ...type in the text directly in the boxes for these fields or use the keypad or a keyboard You can also choose to generate automatic IDs for the unit or enter a prefix using the keypad Figure 7 Setting...

Page 38: ...nerate the reports in one of the three formats Tektronix Specific Plug Fest and CSV formats The application runs on the oscilloscope It is recommended that you connect the keyboard and the mouse to us...

Page 39: ...iagram without having to select the Eye Diagram button in the Results screen Automatically display the Waveform Plot without having to select the Waveform Plot in the Results screen Prompt for a File...

Page 40: ...esult PASS or FAIL is determined by the limits you have defined Place the vertical cursors between the start and end of the single USB2 0 packet This is used when more than one USB2 0 packet is displa...

Page 41: ...e Measures the Falling Edge Slew rate in V s and is calculated using the Fall time as Falling Edge Rate Amplitude Fall Time Where Amplitude is the peak to peak amplitude for the corresponding signalin...

Page 42: ...the hub host and the device are required to detect chirp J and K of a specified minimum duration and amplitude Suspend Test Suspend Measures the time between the end of the last Start of Frame SOF and...

Page 43: ...onding eye diagram Signal Quality Check Signal Rate Measures the inverse of the average bit time that gives the transmission rate of the USB signal Signal Quality Check Paired JK Jitter Measures the j...

Page 44: ...e Downstream testing is performed on ports of a hub When testing a hub you need to connect the USB2 0 unit to Tier 6 to ensure the worst case Each hub level is referred to as a Tier The hub under test...

Page 45: ...the VBUS measurements are relative to local ground The TDSUSB2 application automatically sets up the oscilloscope for the specified test configuration When you start the application it acquires the si...

Page 46: ...levels the unit under test must not be in the squelched mode responding to IN packets with NAKs The amplitude of the signals from data simulator varies less than 100 mV The unit under test must be squ...

Page 47: ...duration You need to manually verify that there are three K J pairs in less than 500 s Figure 13 Results of the Chirp measurement The TDSUSB2 application automates this process and automatically gener...

Page 48: ...oscope automates the process and ensures repeatability of test results Configuring a Measurement To access the Configure Measurement go to Measurements Configure The application also provides a Config...

Page 49: ...s Configure and Source The Configure tab allows you to select and set the Tier Signal Direction and the Test Point options You must select the Tier Tier 1 through 6 the direction of signal Upstream or...

Page 50: ...sume High Powered Configure High Powered Unconfigure High Powered Resume The Hot Plug Attach is the most common unit under test The Source tab allows you to select the source of the signal a live sign...

Page 51: ...e Source from Ch1 to Ch4 4 Select the Run button 5 Select OK and follow the on screen prompts to perform the tests 6 To generate reports select Utilities Report Generator Configuring Chirp Measurement...

Page 52: ...ired waveform EL_35 You can perform a single measurement on an acquired waveform Figure 17 Configuring Chirp measurement for device 5 Select the Device option to display the different tests for the DU...

Page 53: ...SOF and before the reset and the beginning of Chirp K This test will be applicable for Device and HUB upstream 2 To access the Configure Measurements menu go to Measurements Configure Figure 18 Config...

Page 54: ...Host this is the time between the falling edge of D to the First SOF This should not exceed 3 0 ms 2 To access the Configure Measurements menu go to Measurements Configure Figure 19 Configuring Resum...

Page 55: ...nge is between 3 ms to 3 125 ms 2 To access the Configure Measurements menu go to Measurements Configure Figure 20 Configuring Suspend measurement 3 Set the input Signal Direction to either Upstream o...

Page 56: ...Measurements menu go to Measurements Configure Figure 21 Configuring Reset from Suspend measurement 3 In the Configure tab you can set the channel Source 4 The signal direction is always set to Upstr...

Page 57: ...elect the DUT Host or Device and perform selected tests associated with it Figure 22 Configuring Packet Parameter measurement for host 4 Select the Host option to display the different tests for the D...

Page 58: ...ement is for high speed Host controller and Device There are several important packet characteristics for upstream and downstream signaling The measurement calculates the SYNC field length EOP length...

Page 59: ...for the Suspend Time Resume Measurement This test calculates the device HUB resume High speed operation indicated by High speed SOF packets with 400 mV nominal amplitude following the K state driven b...

Page 60: ...chirp K for the Device HUB upstream This must be between 2 5 us and 3 ms To get the Reset from Suspend Measurement signal hot plug the unit under test device and measure the signaling with single end...

Page 61: ...Operating Basics TDSUSB2 Universal Serial Bus Measurement Package 47...

Page 62: ...ginning of Chirp K for Device and HUB upstream This must be between 3 1 ms and 6 ms To get the Reset from High Speed Measurement signal hot plug the unit under test device and measure the signaling wi...

Page 63: ...plays the message Please press OK when correct waveform is acquired for live signals Figure 24 Confirm waveform screen 3 If you select the Cursor Mode the application displays the message Place the Cu...

Page 64: ...he Packet Parameter measurement the application displays the message in the following figure Figure 28 Confirm waveform screen 7 The application automatically displays the result after acquiring the d...

Page 65: ...l options Option button Description Run icon Runs the application Hide button Hides the application and displays the oscilloscope application on the entire screen Exit button Exits the application Vie...

Page 66: ...l quality check Eye Diagram You can select the Eye Diagram option to view the eye diagram for the unit under test The eye diagram has the Zoom and Cursor features that you can use to view the results...

Page 67: ...nd the vertical cursors appear You can drag the cursors to change the positions and read the time values on the X axis Use the mouse to select the Horizontal cursor You can drag the cursors to change...

Page 68: ...enu you can use the following options Zoom You can select the Zoom from the menu Select the icon to zoom into the area of interest Define the area of interest using the mouse and selecting the zoom in...

Page 69: ...a jpg file Reset You can use the Reset button to restore the waveform plot to its original display For waveform plots any or all the signals can be displayed using the following buttons D Use this bu...

Page 70: ...ed as PASS FAIL and Conditional PASS Click on PASS FAIL and Conditional PASS The dialog box shows the Measured Mean USB2 0 Specifications Figure 33 Details popup Details The application displays the r...

Page 71: ...cting measurements The application uses the prefix that you enter to generate the file If you select the Ask for the Filename Device ID before automatically generating Reports Data files check box in...

Page 72: ...diagram and the waveform plot except for the reports generated in the csv file format TSV File Generator You can use the TSV File Generator Utility to convert a csv Comma Separated Variable file to a...

Page 73: ...ond columns CSV file format description Low Speed and Full Speed single ended signals for Signal Quality Check require two csv files to generate the corresponding TSV file The csv files have two colum...

Page 74: ...up file follow these steps 1 Select File Save 2 Select the Save button 3 Browse or enter a file name The application appends an ini extension to the name of setup files 4 Choose Save to save the setup...

Page 75: ...y Saved 2 Select the setup from the list of recently saved setups that are displayed Note When you select a file from the list of recently saved files menu the file becomes the first element in the li...

Page 76: ...Taking Measurements 62 TDSUSB2 Universal Serial Bus Measurement Package...

Page 77: ...n Application USB2 0 Test Package or App USB2 0 Test Package or Analyze USB2 0 Test Package Recalling a tsv File The application distribution includes the tsv files used with this tutorial The table b...

Page 78: ...button 3 Select the Configure tab or select Measurements Configure The Measurements Configure default settings display 4 Select the Measurements Source If the source is Live or Ref configure the appro...

Page 79: ...cation displays the Results Summary as PASS You can also select the result to view the details of the selected test 8 To view the Results Details select Results Details in the application menu bar or...

Page 80: ...enabled The report directory appears with a default file name You can change the file name if you want Click on the Generate button 11 Click the Generate button The application generates an HTML file...

Page 81: ...tab and use the default settings set by the application 5 Select the Source tab Select From File 6 Select file C TekApplications tdsusb2 tsvfiles LS_inrush tsv 7 Select the command button to run the a...

Page 82: ...s 1 To set the application to default values select File Recall Default The application displays the message Default setup recalled successfully 2 Select Measurements High Speed and select all the Sig...

Page 83: ...nal Quality Measurement 7 Minimize the eye diagram and the waveform plot button to view the summary results 8 Select Results Details in the application menu bar to view the Results Details Click the A...

Page 84: ...to generate the report 10 Select the Report format as Plug Fest Specific and use the default file name Select Generate 11 The application displays the sample report file in a browser Figure 45 Report...

Page 85: ...Select All button 3 Select the Configure tab or select Measurements Configure The Measurements Configure default settings display 4 Select the Measurements Source If the source is Live or Ref configur...

Page 86: ...t to view the summary results 7 The application displays the Results Summary as PASS You can also select the result to view the details of the selected test 8 To view the Results Details select Result...

Page 87: ...enabled The report directory appears with a default file name You can change the file name if you want Click the Generate button 11 Click the generate button The application generates an HTML file in...

Page 88: ...Tutorial 74 TDSUSB2 Universal Serial Bus Measurement Package...

Page 89: ...a Full Speed device testing Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Three P6245 or TAP1500 single ended voltage probes Typical Equipment Setup Full Speed Sig...

Page 90: ...l Speed Signal Quality Measurement for downstream testing Selecting and Configuring Measurements Full Speed Signal Quality Tests Follow the steps to select measurements for Full Speed Signal Quality c...

Page 91: ...ure 2 Configure the following options Table 10 Configuring Measurements Option Set to Tier Tier6 Direction Downstream Test Point Set the test point to Far End 3 Select the Source tab 4 Configure the f...

Page 92: ...uality Measurement 2 Click on any of the test result buttons to get the details of that test 3 From the application menu select Results Details Figure 52 Results details for Full Speed Signal Quality...

Page 93: ...Report Formats Tektronix Specific Plug Fest Specific or CSV format Figure 53 Report in Plug Fest format for Full Speed Signal Quality Measurement 3 Select the manual generation mode 4 Select the Gener...

Page 94: ...and the other for VBUS that is on the Adjacent Trigger and Droop Test section of the test fixture Use the load switch to select appropriate loads for Droop Test 3 In the Droop and Adjacent Trigger sec...

Page 95: ...he Droop signal If you do not get a valid signal set up the oscilloscope accordingly Note 2 Use the Load Switch to select 500 mA test loads for Droop testing of a self powered hub and system Use the L...

Page 96: ...powered 3 Select to acquire the data 4 After acquiring the data the application displays the eye diagram and the waveform plot automatically Viewing Results Droop Tests To view the results of the test...

Page 97: ...2 Select any one of the Report Formats Tektronix Specific Plug Fest Specific or CSV format 3 Select Manual option to generate the report 4 Select the Generate button to display and view the selected...

Page 98: ...test fixture as shown in the following figure 3 Connect Ch1 of the D probe to the D pins on the Inrush Droop section of the test fixture 4 Connect Ch2 of the D probe to the D pins on the Inrush Droop...

Page 99: ...Tests for Upstream Testing Follow the steps to select measurements for Full Speed Signal Quality check 1 Select Measurements Select Full Speed tab 2 Select Signal Quality tests Eye Diagram Test Signal...

Page 100: ...gure tab 2 Configure the following options Table 13 Configuring measurement Option Set to Tier Tier6 Direction Upstream Test Point Far End 3 Select the Source tab 4 Configure the following options Tab...

Page 101: ...igure 56 Eye diagram for Full Speed Signal Quality Measurement for upstream testing Figure 57 Waveform plot for Full Speed Signal Quality Measurement for upstream testing TDSUSB2 Universal Serial Bus...

Page 102: ...y 2 Click any of the test result buttons to get the details of that test 3 From the application menu select Results Details 4 Click the Eye Diagram option in Results Summary or Results Details to view...

Page 103: ...rush Current Test for a Device Specifying the Equipment Full Speed Inrush Current Test The following equipment is needed for Inrush Current Check on a Full Speed Device Tektronix digital oscilloscope...

Page 104: ...o avoid the triggering of Inrush signals and false inrush current by the discharge switch place the inrush discharge switch in the ON position and hot plug the unit under test device In case a valid I...

Page 105: ...ype Hot Plug Attach 3 Select the Source tab 4 Configure the following options Table 16 Configuring options Option Set to Live Ref Channel acquiring the signal 5 Select Run Viewing Results Inrush Curre...

Page 106: ...he Report formats Tektronix Specific Plug Fest Specific or CSV format Figure 60 Report in CSV format for Inrush Current test 3 Select the manual report generation mode 4 Select the Generate button to...

Page 107: ...n the Device SQ Init port and the host port 3 Connect the A receptacle from the Device SQ test port of the test fixture to the unit under test device 4 Configure the measurement and select the command...

Page 108: ...am Testing Follow the steps to select measurements for High Speed Signal Quality check 1 From the application menu select Measurement Select High speed tab 2 Select the tests Eye Diagram Test Signal R...

Page 109: ...18 Configuring options Option Set to Live Ref Differential 4 Select to acquire the data 5 The application automatically displays the Eye Diagram and Waveform Plot of the signal acquired from the unit...

Page 110: ...f that test 3 Click the Additional Information button to display the additional information 4 From the application menu select Results Details Figure 63 Results details for Signal Quality Measurement...

Page 111: ...y Measurement for high speed devices for upstream testing 6 Click the Waveform Plot to view the waveform plot Figure 65 Waveform plot for Signal Quality Measurement for high speed devices for upstream...

Page 112: ...rt formats Tektronix Specific Plug Fest Specific or CSV format Figure 66 Report in Tektronix Specific format for Signal Quality Measurement for high speed devices for upstream testing 3 Select the man...

Page 113: ...Connect the A receptacle marked DUT from the Device SQ test port to the device under test 4 Apply the power to the test fixture 5 Apply the power to the DUT 6 Attach the differential probe near the d...

Page 114: ...ollowing measurements 1 High Speed Host EL_21 EL_23 EL_25 EOPII InterPacketI II Complete procedures 1 and 2 to set up the test fixture and the oscilloscope The oscilloscope acquires and displays the w...

Page 115: ...f the first two packets 88 192 bits This is EL_23 as shown in the following figure Figure 68 Measuring EL_23 2 High Speed Host EL_22 InterPacketII III Complete procedures 1 and 2 to set up the test fi...

Page 116: ...Examples Figure 69 Acquiring the waveform The application displays the message Press OK when correct waveform is acquired Figure 70 Setting the trigger level 102 TDSUSB2 Universal Serial Bus Measurem...

Page 117: ...e test mode software and select the Host option Select the Enumerate button in the HS electrical test tool to identify the device connected to the host controller Select the measurement and run the ap...

Page 118: ...message Press OK when correct waveform is acquired You can see the SOFs on the oscilloscope screen 2 If you are not able to acquire the waveform automatically perform Autosetup in the oscilloscope to...

Page 119: ...oscilloscope acquires and displays the waveform The application displays the message Press OK when correct waveform is acquired The application measures the synchronous bits 32 of the third packet Th...

Page 120: ...e application measures the inter packet gap between the second and the third packets 88 192 bits This is EL_23 as shown in the following figure Figure 73 Measuring EL_23 106 TDSUSB2 Universal Serial B...

Page 121: ...tI II Complete procedures 1 and 3 to set up the oscilloscope Select the Step button in the HS electrical test tool to acquire the waveform as shown in the following figure Figure 74 Acquiring the wave...

Page 122: ...Application Examples Figure 75 Setting the trigger level The application measures the number of bits 88 192 between the packets 108 TDSUSB2 Universal Serial Bus Measurement Package...

Page 123: ...to select measurements for Packet Parameter measurement 1 From the application menu select Measurement Select High speed tab 2 Select the More button to display the following tests Receiver Sensitivit...

Page 124: ...Configure the following options Table 20 Configuring options Option Set to Host EL_21 EL_23 EL_25 EL_22 EL_55 Device EL_21 EL_22 EL_25 EL_22 Source Ch1 Ch4 Ref1 Ref4 4 Select to acquire the data View...

Page 125: ...ation menu select Results Details Generating Reports Packet Parameter Measurement To generate reports of the test results follow these steps 1 From the application menu select Utilities Report Generat...

Page 126: ...Application Examples Figure 79 Report in CSV format Figure 80 Packet Parameter test results 112 TDSUSB2 Universal Serial Bus Measurement Package...

Page 127: ...view the Plug Fest specific report format as HTML pages and the csv format in Microsoft Excel Resume Measurement Specifying the Equipment Resume Measurement The following equipment is needed for Resu...

Page 128: ...or on the Init port of the Device SQ section and the other end to the host port A socket 3 Connect the A receptacle from the Device SQ test port to the unit under test device 4 Connect the single ende...

Page 129: ...from High Speed Packet Parameter Chirp Resume Reset Suspend 3 Select the Resume measurement Configuring the Measurement Follow the steps to configure the selected measurements 1 From the application m...

Page 130: ...test result buttons to get the details of that test 3 From the application menu select Results Details Figure 84 Results details for Resume Measurement Generating Reports Resume Measurement To generat...

Page 131: ...Application Examples Figure 85 Report for Resume Measurement in CSV format Figure 86 Report in Plug Fest format for Resume Measurement TDSUSB2 Universal Serial Bus Measurement Package 117...

Page 132: ...surement 3 Select the manual generation mode 4 Select the Generate button to display and view the selected report format Note You can view the Plug Fest specific report format as HTML pages and the cs...

Page 133: ...osition 2 Use a standard length of the USB cable with an A plug on one end and a B plug at the other end 3 Connect one end of the cable to the B receptacle socket connector on the Init port of the Dev...

Page 134: ...lect measurements for Reset from Suspend measurement 1 From the application menu select Measurement Select High Speed tab 2 Select the More button to display the following tests Receiver Sensitivity S...

Page 135: ...nal Direction Upstream Source D Ch1 Ch4 Ref1 Ref4 D Ch1 Ch4 Ref1 Ref4 3 Select to acquire the data Viewing Results Reset from Suspend Measurement To view the results of the tests follow these steps 1...

Page 136: ...ails for Reset from Suspend Measurement Generating Reports Reset from Suspend Measurement To generate reports of the test results follow these steps 1 From the application menu select Utilities Report...

Page 137: ...ation Examples Figure 92 Report in CSV format for Reset from Suspend Measurement Figure 93 Report in Plug Fest format for Reset from Suspend Measurement TDSUSB2 Universal Serial Bus Measurement Packag...

Page 138: ...mat Note You can view the Plug Fest specific report format as HTML pages and the csv format in Microsoft Excel Suspend Measurement Specifying the Equipment Suspend Measurement The following equipment...

Page 139: ...connector on the Init port of the Device SQ section and the other end to the host port A socket 4 Connect the A receptacle from the Device SQ test port to the unit under test device 5 Connect the sin...

Page 140: ...Speed Packet Parameter Chirp Resume Reset From Suspend 3 Select the Suspend measurement Configuring the Measurement Follow the steps to configure the selected measurements 1 From the application menu...

Page 141: ...from the application menu and select Results Summary Figure 96 Results summary for Suspend Measurement 2 Click any of the test result buttons to get the details of that test Figure 97 Results summary...

Page 142: ...nerate reports of the test results follow these steps 1 From the application menu select Utilities Report Generator 2 Select any one of the Report formats Tektronix Specific Plug Fest Specific or CSV...

Page 143: ...Specific format for Suspend Measurement 3 Select the manual generation mode 4 Select the Generate button to display and view the selected report format Note You can view the Plug Fest specific report...

Page 144: ...o the Init position 2 Use a standard length of the USB cable with an A plug on one end and a B plug on the other end 3 Connect one end of the cable to the B receptacle socket connector on the Init por...

Page 145: ...select measurements for Reset from High Speed measurement 1 From the application menu select Measurement Select High Speed tab 2 Select the More button to display the following tests Receiver Sensiti...

Page 146: ...Direction Upstream Source D Ch1 Ch4 Ref1 Ref4 D Ch1 Ch4 Ref1 Ref4 3 Select to acquire the data Viewing Results Reset from High Speed Measurement To view the results of the tests follow these steps 1...

Page 147: ...Results summary detail for Reset from High Speed Measurement 3 From the application menu select Results Details Figure 105 Results details for Reset from High Speed Measurement TDSUSB2 Universal Seri...

Page 148: ...t results follow these steps 1 From the application menu select Utilities Report Generator 2 Select any one of the Report formats Tektronix Specific Plug Fest Specific or CSV format Figure 106 Report...

Page 149: ...Specific format for Reset from High Speed Measurement 3 Select the manual generation mode 4 Select the Generate button to display and view the selected report format Note You can view the Plug Fest s...

Page 150: ...e other end 3 Connect one end of the cable to the B receptacle socket connector on the Init port of Device SQ section and the other end to the host port A socket 4 Connect the A receptacle from the De...

Page 151: ...a correct waveform Note To avoid false triggering for the chirp signals while operating the test fixture it is recommended that you place the switch in the Init position and connect the unit under tes...

Page 152: ...ect measurements for Chirp measurement 1 From the application menu select Measurement Select High Speed tab 2 Select the More button to display the following tests Receiver Sensitivity Suspend Reset f...

Page 153: ..._33 EL_34 EL_35 Device EL_28 EL_29 EL_31 Source Ch1 Ch4 Ref1 Ref4 3 Select to acquire the data Viewing Results Chirp To view the results of the tests follow these steps 1 Run the application and from...

Page 154: ...ent 3 From the application menu select Results Details Figure 113 Results details for Chirp Measurement 4 Click here to view the results of the Chirp Host measurement Figure 114 Results summary for Ch...

Page 155: ...p Host Measurement Generating Reports Chirp To generate reports of the test results follow these steps 1 From the application menu select Utilities Report Generator 2 Select any one of the Report form...

Page 156: ...Application Examples Figure 117 Report in SCV format for Chirp Measurement Figure 118 Report in Plug Fest format for Chirp Measurement 142 TDSUSB2 Universal Serial Bus Measurement Package...

Page 157: ...surement 3 Select the manual generation mode 4 Select the Generate button to display and view the selected report format Note You can view the Plug Fest specific report format as HTML pages and the cs...

Page 158: ...Application Examples 144 TDSUSB2 Universal Serial Bus Measurement Package...

Page 159: ...l High Speed Signal Quality setup 3 Run the measurement 4 Generate the reports 5 Exit the application R GPIB Reference Materials To use the R GPIB commands with your oscilloscope refer to the followin...

Page 160: ...es The application startup must complete before sending additional R GPIB commands to the application see example To generate reports first check whether the sequencer state is Ready Appropriate delay...

Page 161: ...B VARIABLE VALUE command with arguments to execute some features The set of R GPIB commands includes the variable names and variable values necessary to select configure and run the measurements and t...

Page 162: ...lue TDSUSB2 Command Arguments and Queries Application Table 26 Variable Value TDSUSB2 Command Arguments and Queries Application Variable Name Valid values Function Querying Form Terminating the applic...

Page 163: ...Variable Value TDSUSB2 Command Arguments and Queries Report Generation Table 29 Variable Value TDSUSB2 Command Arguments and Queries Report Generation Variable Name Valid values Function Querying Form...

Page 164: ...for the measurement for example s seconds is the unit for Period max Maximum value of the measurement mean Mean value of the result min Minimum value of the measurement pkpk Peak to peak value of the...

Page 165: ...21Status Pass Fail Returns the sync field Pass Fail status ppDeviceEL22 Returns the inter packet gap ppDeviceEL22Status Pass Fail Returns the inter packet gap Pass Fail status ppDeviceEL25 Returns the...

Page 166: ...urns the device K duration time status chirpOverallStatus Pass Fail Returns the overall Pass Fail status of the selected chirp measurement result Additional Result additionalResult Returns the additio...

Page 167: ...polling until it returns a Ready variable value sequencerState Ready variable value resultFor rt variable value resultFor Busy keep polling until it returns a rt the current test for which the result...

Page 168: ...erate the report 5 Exit the application For the current program we will recall a setup file named as sqcsetup You can save setup files according to your own needs using the GUI based interface of the...

Page 169: ...EOTMODE 1 Enable the END message define EOSMODE 0 Disable the EOS mode char ErrorMnemonic 21 5 EDVR ECIC ENOL EADR EARG ESAC EABO ENEB EDMA EOIP ECAP EFSO EBUS ESTB ESRQ ETAB After each GPIB call the...

Page 170: ...int start_application int scope char write_buffer 100 char read_buffer 100 char app_name USB2 0 Test Package n int status timer Start the TDSUSB2 application sprintf write_buffer s Application activat...

Page 171: ...write_buffer status ibrd scope read_buffer sizeof read_buffer read_buffer ibcnt 0 if strcmp app_name read_buffer 0 return 1 timer if timer 60 return 0 Sleep 1000 return 1 int exit_application int sco...

Page 172: ...alue recallName filename status ibwrt scope write_buffer strlen write_buffer if ibsta ERR GPIBCleanup scope Unable to communicate with Scope return 0 Sleep 1000 Recall setup sprintf write_buffer s Var...

Page 173: ...cope write_buffer strlen write_buffer printf Executing Test n Sleep 100 Wait for application to come to Ready State timer 1 while 1 timer if timer 90 printf Test Time Out n return 0 sprintf write_buff...

Page 174: ...enerate int scope char reportfilename char write_buffer 100 char read_buffer 100 int status Set report file name sprintf write_buffer Variable value reportName s reportfilename printf s write_buffer s...

Page 175: ...uffer strlen write_buffer if ibsta ERR GPIBCleanup scope Unable to start the application return Sleep 2000 printf t Full Speed Signal Quality Result stored n void main int Dev char write_buffer 100 in...

Page 176: ...e_buffer strlen write_buffer if start_application Dev printf nApplication started n Sleep 10000 recall_setup Dev sqcsetup Sleep 2000 run_test Dev Sleep 4000 report_generate Dev fs_sqc Sleep 2000 exit_...

Page 177: ...R Save AltF S Preferences AltF P Recently Recalled AltF C Recently Saved AltF A Minimize AltF N Exit AltF X Measurements Menu Select AltM S Configure AltM C Results Menu Summary AltR S Details AltR D...

Page 178: ...A Chapter 7 7 1 13 1 Paired Jitter 10 ns N A 8 12 ns N A Chapter 7 7 1 13 1 Rising Edge Rate 35 2 V s 8 8 V s N A N A From MATLAB scripts Falling Edge Rate 35 2 V s 8 8 V s N A N A Chapter 7 7 1 2 1...

Page 179: ...2 1 References Section refers to the chapter numbers in the Universal Serial Bus Specifications Revision 2 0 2000 Note 1 Results within the USB limits lead to a PASS Results within the waiver limits...

Page 180: ...but outside USB limits lead to a Conditional PASS Results within the user configured limits lead to PASS If you select your configured limits you can view only the result details Note 2 Whenever a hig...

Page 181: ...probe connections and the compliance test fixture connections for the live signal s E102 Error in accessing tsv file This error occurs whenever tsv file is selected as the source file and this file is...

Page 182: ...w to process At least 500 record points are required to perform an operation The application automatically sets the required record length The user should not change the record length Try acquiring th...

Page 183: ...are no results to process Check if the valid directory and file name s are selected for report generation Check if the file name extension is htm Try generating the report again by pressing Run button...

Page 184: ...for the From and To channels Check whether the bandwidth of the probes is sufficient for the signal bandwidth TSV File Generator E721 Error in generating a tsv file This message is generated if there...

Page 185: ...ect Chirp Signal Correct Chirp Signal is required to perform chirp measurements Try acquiring the signals again by pressing Run button E802 No Chirp K or Chirp J state found As part of the USB2 0 Chir...

Page 186: ...of the input signal This warning appears when the calculated Rising Edge Rate is more than the calculated bit time of the input signal Increase the lower level and decrease the upper level of the con...

Page 187: ...orm the measurement Try acquiring the signals again by pressing Run button E1004 The current signal is not a Suspend signal acquire the correct signal and proceed Acquired signal is not a correct Susp...

Page 188: ...s 800 mV Normal Off Ch2 D 0 1V 0 DC N A N A N A N A N A N A 800 mV N A N A Ch3 Qualify 0 1V 0 DC N A N A N A N A N A N A 2 7 V N A N A Upstream Setups for Full Speed signals You can test the Full Spee...

Page 189: ...C 5000 50 0 E 9 s 5 N A N A N A N A N A 5 s Ch2 D 1 5 1 V 0 N A N A N A N A Edge Rise 1 65 V Normal Off N A Upstream Setup for High Speed signals Probe Function External Attenuation 1 0 Table 41 Upstr...

Page 190: ...DC N A N A N A N A N A N A N A N A N A N A Chirp Host EL_33 EL_34 setup Table 45 Chirp Host settings Ch Vertical Setup Pos Scale Offset Coupling Horizontal Setup Record Main Trigger length scale pos T...

Page 191: ...3 40 5 V 0 DC N A N A N A N A N A N A N A N A N A N A Reset from High Speed Table 49 Reset from high speed settings Ch Vertical Setup Pos Scale Offset Cpling Horizontal Setup Reclen Mainscale Trigpos...

Page 192: ...izontal Setup Reclen Mainscale Trigpos Trigger Setup Trigtype Slope Threshold Trigmd Repeat state Hold off Display mode Ch1 D 0 0 0 2V 0 DC 50000 50 50 Width Fall N A Normal Off 1 00 E 5 Sin x x Ch2 D...

Page 193: ...anged since last run when Run button is pressed On Off On Show the Eye Diagram automatically without having to press the Eye Diagram button in the Results screen On Off On Show the Waveform Plot autom...

Page 194: ...3 Measurement parameters Parameters Selections Default setting None Low Speed Eye Diagram Signal Rate EOP Width Rising Edge Rate Falling Edge Rate Cross Over Voltage Consecutive Jitter Paired JK Jitte...

Page 195: ...User defined or Dummy Device Dummy Device Configure Menu You can configure the parameters for the selected measurements The configurations for the Signal Quality Inrush and Droop tests are available a...

Page 196: ...rush Current Measurement Parameters Configure Table 56 Configure Inrush Current Measurement parameters Parameters Selections Default setting Tier None Tier 1 Vbus Range 5 15V Device Type Hot Plug Atta...

Page 197: ...Ch4 Ref1 Ref2 Ref Ref4 Ch1 Ch2 Ch3 Ch4 Ch1 Ch2 File None C TekApplications tdsusb2 tsvfiles FS_SQ C tsv VBUS source Ch1 Ch2 Ch3 Ch4 Ch1 Configure Receiver Sensitivity Table 60 Receiver Sensitivity par...

Page 198: ...h4 Ref1 Ref2 Ref3 Ref4 Ch1 Configure Chirp Table 63 Configure Chirp parameters Parameters Selections Default setting DUT Host Device Host Host EL_33 EL_34 EL_35 EL_33 EL_34 Source D Ch1 Ch2 Ch3 Ch4 Re...

Page 199: ...Ch2 Ch3 Ch4 0 100 0 25 Ch2 50 5 Slope Rise Fall Fall Edges 1 to 50 1 Report Generator Menu Parameters Table 65 Report Generator Menu parameters Parameters Selections Default setting Report Format Tekt...

Page 200: ...C TekApplications tdsusb2 tsvfilegenerator Dminus csv C TekApplications tdsusb2 tsvfilegenerator Differential csv TSV File name TSV Source File C TekApplications tdsusb2 tsvfilegenerator TsvFile001 ts...

Page 201: ...as the point where the Data line voltage crosses the Data line voltage The voltage value at this point is called the Cross Over Voltage and the time value is called the Cross Over time In the followi...

Page 202: ...rdinates are obtained by solving the following two equations Where p1 p2 q1 and q2 are the consecutive data points of a single ended signal x and y are the Cross Over coordinates x and y that is given...

Page 203: ...f If Where p1 and p2 are the consecutive data points of a single ended signal x and y are the coordinates of the point where the Differential line voltage becomes zero and t1 and t2 are the time value...

Page 204: ...rse of the average bit time that gives the transmission rate of the Test_Packet The average signal rate is the calculated average of number of bits divided by sum of all periods Where SumWeights is th...

Page 205: ...r high speed signals it is defined as the width of the end of packet pattern of a Test_Packet EOP Width is calculated as shown below Where EOP1 and EOP2 are the data points on a USB2 0 signal crossing...

Page 206: ...Where C1 C2 C3 and C4 are the Cross Over points R1 R2 R3 and R4 are the reference points Consecutive jitter is the difference between the time values at Rx and Cx Consecutive jitter is calculated for...

Page 207: ...Violation An eye violation occurs when an USB signal crosses an eye mask The results of the eye violation are PASS if the waveform does not violate the eye masks The result is FAIL if the waveform vio...

Page 208: ...calculated using the equation idt i is the current waveform above 100 mA Capacitance is calculated by using the equation Where C is the capacitance Q is the charge V is the voltage The supply voltage...

Page 209: ...than 100 mV below the squelch level The application provides the procedural steps to this test For more details refer to the procedural steps Chirp Test for a Device This test examines the basic timin...

Page 210: ...ion analyzes data for the following Chirp Response Timing Chirp K and Chirp J duration The application analyzes data for the Chirp J K to first SOF Time Monotonic Property Test This algorithm calculat...

Page 211: ...l and single ended waveforms Signaling Rates Positive Threshold Negative Threshold LS 2 8 V 0 4 V FS 2 5 V 0 8 V HS 0 175 V 0 175 V Falling Edge Rate The Falling Edge Rate in V us is calculated using...

Page 212: ...92 bits The SYNC field for all transmitted packets is calculated by counting the bits to check for 32 bit SYNC field The inter packet delay and SYNC status is calculated between the respective EOP ind...

Page 213: ...test device and measure the signaling with single ended probes on both lines The application analyzes data for the following Resume Time Amplitude Suspend This test calculates the time between the end...

Page 214: ...irp K for the Device HUB upstream This must be between 2 5 us and 3 ms To get the Reset from Suspend Measurement signal hot plug the unit under test device and measure the signaling with single ended...

Page 215: ...ning of Chirp K for Device and HUB upstream This must be between 3 1 ms and 6 ms To get the Reset from High Speed Measurement signal hot plug the unit under test device and measure the signaling with...

Page 216: ...section of the test fixture 4 Use the connectors to connect the A pin dongle from the Inrush section of the test fixture to any port of the unit under test host or PC 5 Select the measurement and sel...

Page 217: ...he ON position 3 Connect Ch1 of the D probe to the D pins on the Inrush section of the test fixture 4 Connect Ch2 of the D probe to the D pins on the Inrush section of the test fixture 5 Configure the...

Page 218: ...of the test fixture to the USB2 0 Low Speed device 3 Connect Ch1 of the D probe to the D pins on the Device SQ section of the test fixture 4 Connect Ch2 of the D probe to the D pins on the Device SQ s...

Page 219: ...vertical scale 1 In the oscilloscope menu select Vertical Vertical Setup to display the Channel screen 2 In the Scale field increase the vertical scale values until the waveform is completely display...

Page 220: ...e D pins on the Device SQ section of the test fixture 5 Use the standard USB cable to connect the Device SQ section of test fixture to the test port of the unit under test host 6 Select the measuremen...

Page 221: ...ction of the test fixture 4 Connect Ch2 of the D probe to the D pins on the Inrush section of the test fixture 5 Connect the D D for Low speed pin of the Adjacent Trigger and Droop Section of the test...

Page 222: ...is clipped follow these steps to increase the vertical scale 1 In the oscilloscope menu select Vertical Vertical Setup to display the Channel screen 2 In the Scale field increase the vertical scale v...

Page 223: ...Device SQ test port of the test fixture to the unit under test device 4 Configure the measurement and select the command button to run the application 5 Place the device in the test mode Test_Packet...

Page 224: ...e SQ test port to the unit under test device 4 Connect the single ended probes of the oscilloscope to the D and D pins 5 Select the measurement and select the command button to run the application 6 D...

Page 225: ...Measurement Algorithms Figure 126 Equipment setup for Chirp Test TDSUSB2 Universal Serial Bus Measurement Package 211...

Page 226: ...ivity Setup To set up the equipment for Receiver Sensitivity test follow the procedural steps as given below in the application Figure 127 Equipment setup for Receiver Sensitivity Test 212 TDSUSB2 Uni...

Page 227: ...s Procedural steps Figure 128 Receiver Sensitivity analysis Select View Procedure to view the procedural steps Click the Overall Result to display the following figure TDSUSB2 Universal Serial Bus Mea...

Page 228: ...Measurement Algorithms 214 TDSUSB2 Universal Serial Bus Measurement Package...

Page 229: ...ation 4 Connect the unit under test to the A Receptacle of the Inrush section of the test fixture and observe the Inrush current signal 5 Select OK after acquiring a waveform Verify that it is a corre...

Page 230: ...nd of the cable to the B socket on the Init port of the Device SQ section and the other end to the host port A socket 3 Connect the A receptacle from the Device SQ test port to the unit under test dev...

Page 231: ...one end of the cable to the B socket on the Init port of the Device SQ section and the other end to the host port A socket 4 Connect the A receptacle from the Device SQ test port to the unit under te...

Page 232: ...3 Connect one end of the cable to the B socket on the Init port of the Device SQ section and the other end to the host port A socket 4 Connect the A receptacle from the Device SQ test port to the unit...

Page 233: ...Connect one end of the cable to the B socket on the Init port of the Device SQ section and the other end to the host port A socket 4 Connect the A receptacle from the Device SQ test port to the unit...

Page 234: ...tch to the Init position 2 Connect the standard USB cable between the Device SQ Init port and the host port 3 Connect the A receptacle marked DUT from the Device SQ test port to the B receptacle devic...

Page 235: ...e the SOFs on the oscilloscope screen 2 If you are not able to acquire the waveform automatically perform Autosetup in the oscilloscope to display the SOF 3 If your DUT is EL_21 EL_23 EL_25 select the...

Page 236: ...n displays the message Press OK when correct waveform is acquired d The application measures the synchronous bits 32 of the first and second packets This is EL_21 e The application measures the EOP of...

Page 237: ...e oscilloscope b Select the Step button in the HS Electrical Test Tool c The oscilloscope acquires and displays the waveform as shown in the following figure Figure 136 Acquiring the waveform d The ap...

Page 238: ...omplete the procedure 1 b Run the test mode software and select the Host option c Select the Enumerate button in the HS electrical test tool to identify the device connected to the host controller d S...

Page 239: ...Measurement Algorithms Figure 138 Viewing SOF TDSUSB2 Universal Serial Bus Measurement Package 225...

Page 240: ...message Press OK when correct waveform is acquired You can see the SOFs on the oscilloscope screen 2 If you are not able to acquire the waveform automatically perform Autosetup in the oscilloscope to...

Page 241: ...ress OK when correct waveform is acquired d The application measures the synchronous bits 32 of the third packet This is EL_21 e The application measures the EOP of the third packet 8bits This is EL_2...

Page 242: ...II a Complete procedures 1 and 3 to set up the oscilloscope b Select the Step button in the HS electrical test tool to acquire the waveform as shown in the following figure Figure 141 Acquiring the wa...

Page 243: ...Measurement Algorithms Figure 142 Setting the trigger level c The application measures the number of bits 88 192 between the packets TDSUSB2 Universal Serial Bus Measurement Package 229...

Page 244: ...Measurement Algorithms Figure 143 Equipment setup for Packet Parameter Measurement 230 TDSUSB2 Universal Serial Bus Measurement Package...

Page 245: ...eam data traffic from the hub Downstream ports receive upstream data traffic EOP End of Packet EOP E Idle I J K The different bus states of the USB signal Eye Pattern A representation of the USB signa...

Page 246: ...ledgment Pulse Diagram The Plot of the USB signals showing Annotations of J K EOP E Idle I Cross Over Points Cov and Reference Points Ref Reference point The simulation of ideal Cross Over points whic...

Page 247: ...ve cable A device with captive cable is usually called as a far end device otherwise as a near end device Test Fixture It is the break out board that helps in probing signals UUT Called as the Unit Un...

Page 248: ...Glossary 234 TDSUSB2 Universal Serial Bus Measurement Package...

Reviews: