background image

R-GPIB Commands 

    

 

return; 

   

  

  

 

Sleep(1000); 

   

  

 

/*Generate the report*/ 

  

  

 

sprintf(write_buffer, "variable:value 

\"reportGenerate\",\"generate\""); 

  printf("%s",write_buffer); 

 

 

 

   

ibwrt(scope, 

write_buffer, 

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]; 

   

int 

status; 

 

 

 Dev = ibdev (BDINDEX, PRIMARY_ADDR_OF_DMM, 

NO_SECONDARY_ADDR, 

 

 

 TIMEOUT, EOTMODE, EOSMODE); 

 

 

 if (ibsta & ERR) 

   

TDSUSB2 Universal Serial Bus Measurement Package 

163

     

Summary of Contents for TDSUSB2

Page 1: ...TDSUSB2 Universal Serial Bus Measurement Package 077 0015 03 This document supports software version 3 0 3 and above www tektronix com...

Page 2: ...on 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 Softwar...

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 30 Receiver Sensitivity Measurement 31 Chirp Measurement 33 Monotonic Property 34 Configuring a Measurement 34 Configure Limits 35 Configuring Signal Quality Measurements...

Page 5: ...ups 60 How to Save and Recall a Setup 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...

Page 6: ...4 Generating Reports Droop Tests 85 Full Speed Signal Quality Tests for Upstream Testing 86 Specifying the Equipment Full Speed Signal Quality Tests for Upstream Testing 86 Typical Equipment Setup Ful...

Page 7: ...rement 101 Specifying the Equipment Packet Parameter Measurement 101 Typical Equipment Setup Packet Parameter Measurement 101 Set up the Oscilloscope for High Speed Host 101 Selecting and Configuring...

Page 8: ...t from High Speed Measurement 132 Typical Equipment Setup Reset from High Speed Measurement 132 Selecting and Configuring Measurement Reset from High Speed Measurement 133 Configuring the Measurement...

Page 9: ...B2 0 Specifications 166 Low Speed 166 Full Speed 167 High Speed 168 Inrush Current Check 168 Droop Test 169 Error Codes and Warnings 169 Settings for the supported Instruments 176 Upstream Setups for...

Page 10: ...e 184 Configure Inrush Current Measurement Parameters 184 Configure 184 Source 184 Configure Droop Test Parameters 185 Configure 185 Source 185 Configure Receiver Sensitivity 185 Configure Suspend Res...

Page 11: ...99 Fall Time 199 Packet Parameter 200 Resume 201 Suspend 201 Reset from Suspend 202 Reset from High Speed 203 Equipment Setup for Tests 204 Low Speed Downstream Signal Quality Host Equipment Setup 204...

Page 12: ...ent Setup 220 Reset from High Speed Test Equipment Setup 221 Packet Parameter Test Equipment Setup 222 Test Fixture Setup 222 Set up the Oscilloscope for High Speed Host 223 Glossary 233 x TDSUSB2 Uni...

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: ...e 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 ap...

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: ...ted 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 os...

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: ...on as it is connected to a USB network Droop Test Droop Test Measures the difference in the VBUS voltage when the load switch is open to the lowest value of the voltage and the load switch High Speed...

Page 42: ...e time between the beginning of the last SOF and before the reset and the beginning of Chirp K This is between 3 1 ms and 6 ms This test will be applicable for Device and HUB upstream Reset from Suspe...

Page 43: ...sed time from when a rising edge crosses the low reference voltage level and then the high reference voltage level Signal Quality Check Fall Time Measures the elapsed time from when a falling edge cro...

Page 44: ...of Charge C and Capacitance F values The application displays the details of the results after comparing the test results with the USB2 0 specifications Figure 10 Results of the Inrush current check...

Page 45: ...The host is then replaced by the data simulator to continue to transmit IN tokens The signaling amplitude is presented to the device under test at a level at or above 150 mV At these levels the unit...

Page 46: ...Operating Basics Figure 12 Results of the Receiver Sensitivity measurement 32 TDSUSB2 Universal Serial Bus Measurement Package...

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: ...igure 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 Downs...

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: ...with the Tektronix Specific Format 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...

Page 81: ...all default The application displays the message Default setup recalled successfully 2 Select Measurements Low Speed tab 3 Select Inrush Current measurement 4 Select Measurements Configure tab and use...

Page 82: ...or Inrush Current Check 11 Select Utilities Report Generator in the application menu bar to generate a report 12 Select the CSV Specific Report and use the default file name Select the Generate button...

Page 83: ...fault values select File Recall Default The application displays the message Default setup recalled successfully 2 Select Measurements High Speed and select all the Signal Quality measurements in the...

Page 84: ...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 85: ...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 86: ...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 87: ...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 88: ...lt screen with the Tektronix Specific Format 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 butt...

Page 89: ...Tutorial Figure 49 Report in Tektronix Specific format for Low Speed Signal Quality Measurement TDSUSB2 Universal Serial Bus Measurement Package 75...

Page 90: ...Tutorial 76 TDSUSB2 Universal Serial Bus Measurement Package...

Page 91: ...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 92: ...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 93: ...nfigure 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 following...

Page 94: ...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 95: ...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 96: ...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 97: ...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 98: ...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 99: ...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 100: ...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 101: ...Quality 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 Tes...

Page 102: ...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 103: ...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 104: ...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 105: ...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 106: ...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 107: ...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 108: ...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 109: ...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 110: ...ng 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 Rate EOP...

Page 111: ...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 112: ...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 113: ...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 114: ...t 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 manu...

Page 115: ...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 116: ...EOPII InterPacketI II Complete procedures 1 and 2 to set up the test fixture and the oscilloscope The oscilloscope acquires and displays the waveform Press OK when correct waveform is acquired The ap...

Page 117: ...figure Figure 68 Measuring EL_23 2 High Speed Host EL_22 InterPacketII III Complete procedures 1 and 2 to set up the test fixture and the oscilloscope Select the Step button in the HS Electrical Test...

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

Page 119: ...e 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 application The appli...

Page 120: ...eform 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 display the SOF 3 If your DUT is...

Page 121: ...cquires and displays the waveform Press OK when correct waveform is acquired The application measures the synchronous bits 32 of the third packet This is EL_21 The application measures the EOP of the...

Page 122: ...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 108 TDSUSB2 Universal Serial B...

Page 123: ...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 124: ...Application Examples Figure 75 Setting the trigger level The application measures the number of bits 88 192 between the packets 110 TDSUSB2 Universal Serial Bus Measurement Package...

Page 125: ...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 126: ...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 127: ...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 128: ...Application Examples Figure 79 Report in CSV format Figure 80 Packet Parameter test results 114 TDSUSB2 Universal Serial Bus Measurement Package...

Page 129: ...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 130: ...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 131: ...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 132: ...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 133: ...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 119...

Page 134: ...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 135: ...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 136: ...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 137: ...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 138: ...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 139: ...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 140: ...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 141: ...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 142: ...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 143: ...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 144: ...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 145: ...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 146: ...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 147: ...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 148: ...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 149: ...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 150: ...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 151: ...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 152: ...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 153: ...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 154: ...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 155: ..._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 156: ...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 157: ...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 158: ...Application Examples Figure 117 Report in SCV format for Chirp Measurement Figure 118 Report in Plug Fest format for Chirp Measurement 144 TDSUSB2 Universal Serial Bus Measurement Package...

Page 159: ...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 160: ...Application Examples 146 TDSUSB2 Universal Serial Bus Measurement Package...

Page 161: ...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 162: ...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 163: ...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 164: ...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 165: ...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 166: ...or 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 m...

Page 167: ...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 168: ...Returns 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 addi...

Page 169: ...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 170: ...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 171: ...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 172: ...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 173: ...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 174: ...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 175: ...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 176: ...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 177: ...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 178: ...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 179: ...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 180: ...A Chapter 7 7 1 13 1 Paired Jitter 10 ns N A 8 12 ns N A Chapter 7 7 1 13 1 Rise Time 300 ns 75 ns 240 360 ns 60 90 ns Chapter 7 7 1 2 1 Fall Time 300 ns 75 ns 1240 360 ns 60 90 ns Chapter 7 7 1 2 1...

Page 181: ...ces 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 but outside...

Page 182: ...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 high sp...

Page 183: ...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 184: ...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 185: ...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 186: ...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 187: ...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 188: ...lculated bit time of the input signal This warning appears when the calculated Rise Time is more than the calculated bit time of the input signal Increase the lower level and decrease the upper level...

Page 189: ...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 190: ...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 191: ...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 192: ...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 193: ...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 194: ...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 195: ...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 196: ...by area Table 53 Measurement parameters Parameters Selections Default setting None Low Speed Eye Diagram Signal Rate EOP Width Rise Time Fall Time Cross Over Voltage Consecutive Jitter Paired JK Jitte...

Page 197: ...ined 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 as differ...

Page 198: ...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 199: ...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 200: ...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 201: ...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 202: ...tions tdsusb2 tsvfilegenerator Dminus csv C TekApplications tdsusb2 tsvfilegenerator Differential csv TSV File name TSV Source File C TekApplications tdsusb2 tsvfilegenerator TsvFile001 tsv Help Menu...

Page 203: ...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 204: ...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 205: ...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 206: ...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 207: ...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 208: ...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 209: ...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 210: ...s calculated using the equation 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 is...

Page 211: ...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 212: ...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 213: ...wing equation Where TRise is the rise time THi is the VRefHi crossing on the rising edge TLo is the VRefLo crossing on the rising edge Fall Time The Fall Time measurement is the time difference betwee...

Page 214: ...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 215: ...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 216: ...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 217: ...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 218: ...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 219: ...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 220: ...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 221: ...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 222: ...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 223: ...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 224: ...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 225: ...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 226: ...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 227: ...Measurement Algorithms Figure 126 Equipment setup for Chirp Test TDSUSB2 Universal Serial Bus Measurement Package 213...

Page 228: ...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 214 TDSUSB2 Uni...

Page 229: ...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 230: ...Measurement Algorithms 216 TDSUSB2 Universal Serial Bus Measurement Package...

Page 231: ...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 232: ...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 233: ...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 234: ...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 235: ...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 236: ...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 237: ...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 238: ...e c 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 the second packet...

Page 239: ...est fixture and the 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...

Page 240: ...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 241: ...Measurement Algorithms Figure 138 Viewing SOF TDSUSB2 Universal Serial Bus Measurement Package 227...

Page 242: ...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 243: ...red 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_25 As the signal is differential the EO...

Page 244: ...ures 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 waveform 230 TDSUSB2 U...

Page 245: ...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 231...

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

Page 247: ...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 248: ...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 249: ...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 250: ...Glossary 236 TDSUSB2 Universal Serial Bus Measurement Package...

Reviews: