Table of Contents General Safety Summary................xi Introduction ....................1 Welcome to the TDSUSB2 Universal Serial Bus Measurements Package ......1 Online Help and Related Documentation ................2 Using Online Help ......................2 Printing from the Online Help .................... 4 Conventions ........................4 Related Documentation.......................
Page 4
Table of Contents Application Directories and File Names ..............21 File Name Extensions....................21 Returning to the Application ..................21 Exiting the Application ....................22 Setting up the Software to take Measurements..............22 Description of the Test Fixture................... 22 Setting Up the Device Details ..................23 Setting up the Software ....................
Page 5
Table of Contents Resume Measurement....................... 45 Reset from Suspend Measurement..................46 Reset from High Speed Measurement ................48 Taking Measurements................... 49 Acquiring Data........................49 Control Menu Options ...................... 51 Viewing Results........................ 51 Eye Diagram....................... 52 Waveform Plot ......................54 Report Generation......................57 Generating Reports.....................
Page 6
Table of Contents Typical Equipment Setup-Full Speed Signal Quality Downstream Tests....75 Selecting and Configuring Measurements-Full Speed Signal Quality Tests ..... 76 Configuring the Measurement..................77 Viewing Results-Full Speed Signal Quality Tests ............. 78 Generating Reports-Full Speed Signal Quality Tests..........79 Droop Test for Ports of Hub .....................
Page 7
Table of Contents for Upstream Testing....................93 Selecting and Configuring Measurements-Signal Quality Tests for High Speed Devices for Upstream Testing ..............94 Configuring the Measurement..................95 Viewing Results-Signal Quality Tests for High Speed Devices for Upstream Testing....................95 Generating Reports-Signal Quality Tests for High Speed Devices for Upstream Testing....................
Page 8
Table of Contents Configuring the Measurement.................. 126 Viewing Results-Suspend Measurement..............127 Generating Reports-Suspend Measurement ............. 128 Reset from High Speed Measurement ................130 Specifying the Equipment-Reset from High Speed Measurement......130 Typical Equipment Setup-Reset from High Speed Measurement......130 Selecting and Configuring Measurement-Reset from High Speed Measurement..131 Configuring the Measurement..................
Page 9
Table of Contents Low Speed........................ 164 Full Speed......................... 165 High Speed ....................... 166 Inrush Current Check ....................166 Droop Test........................ 167 Error Codes and Warnings....................167 Settings for the supported Instruments ................174 Upstream Setups for Low Speed signals..............174 Upstream Setups for Full Speed signals..............
Page 10
Table of Contents Configure........................182 Source........................182 Configure Droop Test Parameters .................. 183 Configure........................183 Source........................183 Configure Receiver Sensitivity ..................183 Configure Suspend, Reset from High Speed, Resume, Reset from Suspend ....183 Configure Packet Parameter ................... 184 Configure Chirp ......................184 Results Menus.........................
Page 11
Table of Contents Falling Edge Rate......................197 Packet Parameter......................198 Resume ........................... 199 Suspend........................... 199 Reset from Suspend ......................200 Reset from High Speed ....................201 Equipment Setup for Tests....................202 Low Speed Downstream Signal Quality Host Equipment Setup ......202 Low Speed Signal Quality for HUB Downstream ...........
General Safety Summary Review the following safety precautions to avoid injury and prevent damage to this product or any products connected to it. To avoid potential hazards, use this product only as specified. Only qualified personnel should perform service procedures. While using this product, you may need to access other parts of the system.
Page 14
General Safety Summary Symbols on the Product: The following symbol (s) may appear in the product: CAUTION Refer to Help TDSUSB2 Universal Serial Bus Measurement Package...
Introduction Welcome to the TDSUSB2 Universal Serial Bus Measurements Package TDSUSB2 Universal Serial Bus Measurements Package is a Sun Java-based application that runs on the supported instruments connected to a PC. You can use the application software with the compliance test fixture to take the following measurements: Signal Quality Inrush...
Introduction The application runs on the oscilloscope and displays on the lower part of the screen. The oscilloscope application runs on the upper part of the screen. Online Help and Related Documentation You can access the information on how to operate the application and the oscilloscope through the following related documents and online help.
Page 17
Introduction Browse buttons (Next >> and Previous <<) allow you to move forward and backward through topics in the order of the Table of Contents (TOC). Sometimes you will see the word, Note, in the topic text. This indicates important information. Certain aspects of the online help are unique to applications that run on the oscilloscope.
Introduction Printing from the Online Help Some online help topics have color in the examples of the displayed application. If you want to print this type of topic on a monochrome printer, some information may not print because of certain colors. Instead, you should print the topic from the PDF (portable document format) file that corresponds to the Online Help.
Programmer Information: The online help for your oscilloscope provides details on how to use GPIB commands to control the oscilloscope You can also download the following files, which contain programmer information and examples, from the Tektronix Web site. Optional Applications Software on Windows-Based Oscilloscopes Installation Manual TDSUSB2 Universal Serial Bus Measurements Package Reference TDSUSBF USB2.0 Compliance Test Fixture Instructions...
Introduction Feedback Tektronix values your feedback on our products. To help us serve you better, please send us your suggestions, ideas, or comments about your oscilloscope. Direct your feedback via email to techsupport@tektronix.com or FAX at (503) 627-5695 and include the following information. Please be as specific as possible.
Getting Started Introduction and Product Description The TDSUSB2 Universal Serial Bus Measurements is a package that runs on the supported instruments. The solution consists of a Java-based application and a comprehensive test fixture. You can use the application software with the compliance test fixture to take the following measurements: Signal Quality Inrush...
For information on oscilloscope compatibility*, refer to the Optional Applications Software on Windows-Based Oscilloscopes Installation Manual, Tektronix part number 071-1888-XX. The manual is also available as a PDF file. The dynamic range of the probes used for Low Speed and Full Speed testing should be at least ±...
Page 23
Getting Started P6245, P6243, TAP1500 Single-ended active probes 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 (067-0405-XX) TDSUSB2 Universal Serial Bus Measurement Package...
Page 24
Getting Started TDSUSB2 Universal Serial Bus Measurement Package...
Installing an application Applying a new label Enabling an application Downloading updates from the Tektronix Web site You can find a PDF (portable document format) file of this document in the Documents directory on the Optional Applications Software on Windows-Based Instruments CD–ROM.
Installation Deskewing Deskewing the Probes and Channels To ensure accurate measurements, you must deskew the probes before you take measurements from your unit under test. The deskew process is where the oscilloscope adjusts the relative delay between the signals to accurately time correlate the displayed waveforms.
Page 27
Installation The following figure shows signals before performing the deskew procedure with a single edge: Figure 1: Signals before deskew To start the application from a supported oscilloscope, select File> Run Application> USB2.0 Test Package or Analyze>USB2.0 Test Package from the menu bar of the oscilloscope.
Page 28
Installation 11. Select the Hysteresis in the To area for Ch2 and set the hysteresis value. 12. Select the Slope, Rise or Fall, on which to perform the deskew operation. 13. Select the number of edges used for deskew. 14. To start the deskew utility, select Utilities> Perform Deskew and confirm the operation.
Page 29
Connect an external source to the deskew fixture. Follow the instructions of the Probe Calibration and Deskew fixture (Tektronix part number: 067-0405-xx) to make the connections. Set up the oscilloscope as follows: Use the Horizontal Scale knob to set the oscilloscope to an acquisition rate so that there are two or more samples on the deskew edge.
Page 30
Installation The following figure shows an example of a deskew setup: Figure 3: Example of deskew 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 performing the deskew for the multiple edge: TDSUSB2 Universal Serial Bus Measurement Package...
Page 31
Installation Figure 4: Signals after deskew for multiple edges 19. The 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 automatically removed. TDSUSB2 Universal Serial Bus Measurement Package...
Page 32
Installation TDSUSB2 Universal Serial Bus Measurement Package...
Operating Basics About Basic Operations This section contains information on the following topics and tasks: Application interface Using basic oscilloscope functions Setting up the software Selecting a measurement How to Save and Recall setups Exiting the application Application Interface The application uses a Windows interface. You should refer to your oscilloscope user manual for the operating details of other controls, such as the front-panel buttons.
Operating Basics Basic Instrument Functions Using Basic Oscilloscope Functions You can use the Help menu to access information about the oscilloscope. You can also use other oscilloscope functions and easily return to the application. The TDSUSB2 application includes Online Help about the application menus and controls.
Operating Basics Application Directories and File Names The application uses the directories for several functions, such as save and recall setup files, and uses the extensions appended to the file names to identify the file type. The following table lists default directory names for the supported instruments: Table 2.
Operating Basics Exiting the Application To exit the application, select the Exit button or File> Exit or select the Exit button from the control panel. When you exit the application, you can keep the oscilloscope setup currently in use or restore the oscilloscope setup that was present before you started the application.
Operating Basics Figure 6: Test fixture Setting Up the Device Details You can enter a unique identifier (ID) and description for the unit under test (device). The identifier and the description appear in the generated reports for the tests performed on the unit under test. You can either type in the text directly in the boxes for these fields, or use the keypad or a keyboard.
In addition, you can view the results as a summary, details, an eye diagram, and a waveform plot for Signal Quality checks. You can also generate 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 use the application effectively.
Page 39
Operating Basics Figure 9: Setting advanced preferences In the General tab, you can select the following options: Set a warning to indicate that the configuration options were not changed since the last time you ran the application. If you set this option, the application prompts you to configure the measurements before acquiring data Automatically display the Eye Diagram without having to select the Eye...
Page 40
Operating Basics In the Advanced tab, you can select the following options: Test a Low or Full Speed device with USB2.0 silicon Prompt during report generation for the Droop test readout. When you enable this option, the application disables report generation in the Automatic mode Configure the test limits.
Operating Basics Table of Measurements and Options Low Speed and Full Speed Measurements Table 4. Low and Full Speed measurements Area Option Description Signal Quality Check Eye Diagram Checks whether the USB signal is aligned with its corresponding eye diagram Signal Quality Check Signal Rate Measures the inverse of the average bit-time that gives the transmission...
Operating Basics Where Amplitude is the peak-to-peak amplitude for the corresponding signaling rate and the Rise time is calculated based on the high level of the inner vertical eye height reference levels Signal Quality Check Falling Edge Rate Measures the Falling Edge/Slew rate in V/μs is calculated using the Fall time as Falling Edge Rate = Amplitude / Fall Time Where Amplitude is the peak-to-peak amplitude for the corresponding signaling rate and the Fall time is calculated based on the lower level of the...
Operating Basics There are three categories of measurements: Low Speed, Full Speed, and High Speed measurements. The measurements for Low, Full and High Speed signals are Signal Quality Checks, Inrush Current Check, and Droop Test. The additional measurements for High Speed tests are Receiver Sensitivity, Monotonic Property, and Chirp Test, Packet Parameter, Suspend, Resume, Reset from Suspend, and Reset from High Speed.
Operating Basics Area Option Description Where Amplitude is the peak-to-peak amplitude for the corresponding signaling rate and the Fall time is calculated based on the lower level of the inner vertical eye height reference levels Signal Quality Check Monotonic Property (For High Speed only) Measures the Monotonic Signal if the data [i] < data [i-1] where data[l] is the record point in the acquired waveform.
Operating Basics Figure 10: Results of the Inrush current check Droop Measurement The Droop voltage is the difference in the V voltage when you apply a no load condition and a 100 mA load to the port under test (all other ports are fully loaded).
The Receiver Sensitivity test requires a high-speed data simulator, such as the Tektronix DG2040 USB Data Generator or a DTG5000 series instrument, to transmit IN tokens of varying amplitude. The test requires the unit under test to be placed in the Test_SE0_NAK mode.
Operating Basics Chirp Measurement To perform a Chirp test, connect the unit under test and the single-ended probes to acquire data. You can measure the Data for Chirp K amplitude, Chirp K duration, and Reset duration. You need to manually verify that there are three K–J pairs in less than 500 µs.
In addition, the oscilloscope should have enough bandwidth to ensure that the high frequency non-monotonic transition is not attenuated. The application coupled with a high performance Tektronix oscilloscope automates the process and ensures repeatability of test results.
Operating Basics Configure Limits The application displays the maximum and minimum values for the selected tests. You can use the ‘>’ sign on the keypad to configure limits for these options. Table 7. Configure limits description Option Description Sets the values you enter Default Restore the default values Cancel...
Operating Basics Configuring Inrush Current Measurements To access the Measurements: Configure menu, go to the Measurements> Configure. The Configure tab allows you to set the voltage value on V and the unit under test. The V can be entered manually or probed from a channel that is captured from the test fixture.
Operating Basics Configuring Receiver Sensitivity Measurements To configure receiver sensitivity measurements, follow these steps: Select the High Speed measurement tab> More button> Receiver Sensitivity measurement. To access the Configure Measurements menu, select Measurements> Configure. Figure 15: Configuring Receiver Sensitivity measurement Select the Source from Ch1 to Ch4.
Page 52
Operating Basics Figure 16: Configuring Chirp measurement for host Select the Host option to display the different tests for the DUT. The available tests are: EL_33, EL_34: You can perform two separate measurements on an acquired waveform EL_35: You can perform a single measurement on an acquired waveform Figure 17: Configuring Chirp measurement for device Select the Device option to display the different tests for the DUT.
Operating Basics Select the channel source in the D+ and D– fields. Use the drop down arrow in the D+, D- field to set the source. The available options are: Ch1- Ch4 and Ref1-Ref4. Select the Run button. To generate reports, select Utilities> Report Generator. Configuring Reset from High Speed Measurement To configure Reset from High Speed measurement, follow these steps: Select the High Speed measurement tab>...
Operating Basics Configuring Resume Measurement To configure Resume measurement, follow these steps: Select the High Speed measurement tab> More button> Resume measurement. The device/HUB resumes the High-Speed operation, which is indicated by the presence of High-speed SOF packets (with 400 mV nominal amplitude) following the K state driven by the host controller.
Operating Basics Configuring Suspend Measurement To configure Suspend measurement, follow these steps: Select the High Speed measurement tab> More button> Suspend measurement. This measures the time between the end of the last SOF and the rising edge transition to the Full Speed J state. The acceptable range is between 3 ms to 3.125 ms.
Operating Basics Configuring Reset from Suspend Measurement To configure Reset from Suspend measurement, follow these steps: Select the High Speed measurement tab> More button> Reset from Suspend measurement. This measures the time between the falling edge of D+ signal and the start of Device chirp-K. It is between 2.5 us and 3 ms. This test is applicable for Device and HUB upstream.
Operating Basics Configuring Packet Parameter Measurement To configure Packet Parameter measurement, follow these steps: Select the High Speed measurement tab> More button> Packet Parameter measurement. To access the Configure Measurements menu, go to Measurements> Configure. In the Configure tab, you can select the DUT (Host or Device) and perform selected tests associated with it.
Operating Basics Figure 23: Configuring Packet Parameter measurement for device Select the Device option to display the different tests for the DUT. The available tests are: EL_21, EL_22, EL_25: You can perform three separate measurements on an acquired waveform EL_22: You can perform a single measurement on an acquired waveform Use the drop down arrow in the Differential field to set the channel source.
Operating Basics Suspend Measurement This test calculates the time between the end of last SOF and the rising edge transition to Full-speed J state for Host / Device / Hub- upstream. This time must be between 3 ms and 3.125 ms. To get the Suspend signal, hot-plug the unit under test (device) and measure the signaling with single-ended probes on both lines.
Operating Basics Reset from Suspend Measurement This test calculates the time between the falling edge of D+ signal and the start of Device 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-ended probes on both lines.
Page 61
Operating Basics TDSUSB2 Universal Serial Bus Measurement Package...
Operating Basics Reset from High Speed Measurement This test calculates the time between the beginning of the last SOF and before the reset and the beginning 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 single-ended probes on both lines.
Taking Measurements Acquiring Data The application automatically sets the oscilloscope settings for the selected measurements. To acquire data from the oscilloscope, follow these steps: Select the command button to run the application. The application displays the message “Please press OK when correct waveform is acquired”...
Page 64
Taking Measurements Figure 26: Confirm waveform for Inrush measurement If you select the Droop measurement, the application displays the message in the following figure: Figure 27: Confirm waveform for Droop measurement If you select the Packet Parameter measurement, the application displays the message in the following figure: Figure 28: Confirm waveform screen The application automatically displays the result after acquiring the data.
Taking Measurements Note: You can modify the automatic oscilloscope settings if there is no valid waveform on the oscilloscope screen. To do so, select the command button to run the application and select OK to complete the process. You may need to adjust the inrush setups, as inrush currents have a wide variety of durations and peak currents.
Taking Measurements To access the Details: select Results> Details. Use the scroll bar to view the results that are not visible within the display window. The report contains statistical values for the following: Standard deviation (StdDev) Mean Peak-to-peak (Pk–Pk) Root mean square (RMS) Maximum (Max) and minimum (Min) values Population (the number of cycles used to calculate the statistics).
Page 67
Taking Measurements Figure 29: Eye diagram Figure 30: Eye diagram (zoomed) Cursors: You can select the Cursors and 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 .
Taking Measurements Waveform Plot You can select the Waveform Plot option to view the Waveform Plot for the unit under test. The Waveform Plot has a Zoom and the Cursor feature that you can use to view the results. The Waveform Plot has features that enable you to zoom in and out on the waveform, use Vertical and Horizontal Cursors, Save the Plot, Reset the original plot, and select to display the signals.
Page 69
Taking Measurements Figure 32: Using the cursors and viewing cursor readout Select the Horizontal cursors . You can drag the horizontal cursors to change the positions, and read the voltage values on the Y- axis. Note: The Zoom and Cursor options are mutually exclusive. Save: You can use the Save button to save the zoomed in or zoomed out diagram as a .jpg file.
Page 70
Taking Measurements You can use any combination of the Zoom or Cursors, D+, D–, CMD (Common Mode Voltage) and Diff buttons to view and save the waveform plot. The annotations at the lower edge of the Waveform Plot classify the signal pulse into different bus states: J, K, E (EOP), I (IDLE) and Sync (C).
To access the Report Generator menu, select Utilities> Report Generator. You can generate the USB IF report in any one of the three formats: Tektronix Specific is the default format used by the TDSUSB2 application Plug-Fest format is the format used by the USB-IF...
File> Preferences> Advanced tab. Viewing Reports You can use an HTML viewer or a browser to view the Tektronix specific and Plug-Fest format reports. You can view the .csv (Comma Separated Variable) report in a text editor, spreadsheet, database, or a data analysis program for further analysis.
Taking Measurements TSV file format description For Low Speed and Full Speed Signal Quality Check, the input TSV file is an m x 3 matrix with m rows and three columns. The file has Time values and Voltage values for D+ and D– in the first, second and third columns respectively. The input TSV file for High Speed Signal Quality Check is a m x 2 matrix with m rows and two columns.
Taking Measurements Saving and Recalling Setups How to Save and Recall a Setup You can use the Save and Recall menus to save and recall the various configuration setups. To access the Save and Recall menus, go to the File menu in the menu bar and choose Save or Recall.
Taking Measurements Recalling the Default Setup To recall the application settings from the Default setup file, select File> Recall Default. The application recalls the default setup and displays the message ‘Default setup recalled successfully.’ Figure 35: Recalling a default setup Recently Saved Setup The application stores the last four saved setups.
Page 76
Taking Measurements TDSUSB2 Universal Serial Bus Measurement Package...
Tutorial Introduction to the Tutorial The tutorial teaches you how to set up the application by recalling a .tsv file, take measurements, and view the results. More operating information is available in the Operating Basics section. Before you begin the tutorial, you must do the following tasks: Start the application Recall a .tsv file...
Tutorial Taking a Full Speed Signal Quality Measurement This section discusses how to take a Full Speed Signal Quality measurement, view the results, and generate a report. To perform these tasks, the application must be installed and enabled on a supported oscilloscope. View Installing the application to install the application.
Page 79
Tutorial Figure 36: Eye diagram Figure 37: Waveform plot Minimize the eye diagram and waveform plot to view the summary results. The application displays the Results Summary as PASS . You can also select the result to view the details of the selected test. To view the Results Details, select Results>...
Page 80
Select Utilities> Report Generator in the application menu bar to generate the Report. 10. You can view the default 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 on the Generate button.
Tutorial Taking a Low Speed Inrush Current Measurement This section discusses how to take a Low Speed Inrush Current Measurement, view the results, and generate a report. To perform these tasks, the application must be installed and enabled on a supported oscilloscope. To set the application to default values, select File>...
Tutorial 13. The application displays the sample report file in a browser. Figure 41: Report for Inrush Current in CSV format Taking a High Speed Signal Quality Measurement This section discusses how to take a High Speed Signal Quality measurement, view the results, and generate the report.
Page 83
Tutorial Figure 42: Eye diagram for a High Speed Signal Quality Measurement Figure 43: Waveform plot for a High Speed Signal Quality Measurement Minimize the eye diagram and the waveform plot button to view the summary results. Select Results> Details in the application menu bar to view the Results Details.
Page 84
Tutorial Figure 44: Results details for a High Speed Signal Quality Measurement Select Utilities> Generate Report 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 in Plug-Fest format for High Speed Signal Quality Measurement TDSUSB2 Universal Serial Bus Measurement Package...
Tutorial Taking a Low Speed Signal Quality Measurement This section discusses how to take a Low Speed Signal Quality measurement, view the results, and generate a report. To perform these tasks, the application must be installed and enabled on a supported oscilloscope. View Installing the application to install the application.
Page 86
Tutorial Figure 46: Eye diagram for Low Speed Signal Quality Measurement Figure 47: Waveform plot for Low Speed Signal Quality Measurement Minimize the eye diagram and waveform plot to view the summary results. The application displays the Results Summary as PASS .
Page 87
Select Utilities> Report Generator in the application menu bar to generate the Report. 10. You can view the default 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.
Page 88
Tutorial TDSUSB2 Universal Serial Bus Measurement Package...
Specifying the Equipment-Full Speed Signal Quality Downstream Tests The following equipment is needed for downstream signal quality check on a Full Speed device testing: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Three P6245 or TAP1500 single-ended voltage probes...
Application Examples Select the measurement and select the command button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. Note: Make sure the acquired signal is a valid waveform. Figure 50: Equipment setup for Full 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 check: From the application menu, select Measurement >...
Application Examples Cross-Over Voltage Rising Edge Rate Falling Edge Rate Select the Select All toggle button to select all the measurements simultaneously. Click on any measurement button to deselect it. Configuring the Measurement Follow the steps to configure the selected measurements: From the application menu, select Measurement>...
Application Examples Viewing Results-Full Speed Signal Quality Tests To view the results of the tests, follow these steps: From the application menu, select Results> Summary. Figure 51: Results summary for Full Speed Signal Quality Measurement Click on any of the test result buttons to get the details of that test.
To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report Formats: Tektronix Specific, Plug-Fest Specific or CSV format. Figure 53: Report in Plug-Fest format for Full Speed Signal Quality Measurement Select the manual generation mode.
Droop Test for Ports of Hub Specifying the Equipment-Low Speed Droop Tests The following equipment is needed to perform a Droop Test for Low Speed device: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Two P6245 or TAP1500 single-ended probes...
Page 95
Application Examples Select the measurement and select the command button to run the application. 10. Select OK when the valid waveform is acquired. 11. Observe the droop in the VBUS when Droop test load is applied. Note 1: The application automatically sets up the oscilloscope to acquire the Droop signal.
Application Examples Selecting and Configuring Measurements-Droop Tests From the application menu, select Measurement> Select> Droop Test. Configuring the Measurement Follow the steps to configure the selected measurement: From the application menu, select Measurement> Configure. Configure the following options: Table 12. Configuring measurement Option Set to Port...
Generating Reports-Droop Tests To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report Formats: Tektronix Specific, Plug-Fest Specific or CSV format. Select Manual option to generate the report.
Specifying the Equipment-Full Speed Signal Quality Tests for Upstream Testing The following equipment is needed for upstream signal quality check on a low or full speed device: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Three P6245 or TAP1500 single-ended voltage probes...
Application Examples Figure 55: Equipment setup for Full Speed Signal Quality Measurement for upstream testing Selecting and Configuring Measurements-Full Speed Signal Quality Tests for Upstream Testing Follow the steps to select measurements for Full Speed Signal Quality check: Select Measurements> Select > Full Speed tab. Select Signal Quality tests: Eye Diagram Test Signal Rate...
Application Examples Select the Select All toggle button to select all the measurements simultaneously. Click on any measurement button to deselect it. Configuring the Measurement Follow the steps to configure the selected measurement: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 13.
Page 101
Application Examples Figure 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 Measurement Package...
Application Examples Viewing Results-Full Speed Signal Quality Tests for Upstream Testing To view the results of the tests, follow these steps: Run the application and from the application menu, select Results> Summary. Click any of the test result buttons to get the details of that test. From the application menu, select Results>...
Generating Reports-Full Speed Signal Quality Tests for Upstream Testing To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report Formats: Tektronix, Plug-Fest Specific or CSV format. Select the Manual option to generate the report.
Page 104
Application Examples Connect the unit under test to the A Receptacle of the Inrush section of the test fixture and observe the Inrush current signal. Select OK after acquiring a waveform. Verify that it is a correct waveform. Note: To 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).
Application Examples Selecting and Configuring Measurements-Inrush Current Test From the application menu, select Measurement> Select> Inrush Current. Configuring the Measurement Follow the steps to configure the selected measurement: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 15.
To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats – Tektronix Specific, Plug-Fest Specific or CSV format. Figure 60: Report in CSV format for Inrush Current test Select the manual report generation mode.
Specifying the Equipment-Signal Quality Tests for High Speed Devices for Upstream Testing The following equipment is needed for signal quality tests on a High Speed device for upstream testing: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture One P6248 differential probe...
Application Examples Figure 61: Equipment setup for Signal Quality Measurement for high-speed devices for upstream testing Selecting and Configuring Measurements-Signal Quality Tests for High Speed Devices for Upstream Testing Follow the steps to select measurements for High Speed Signal Quality check: From the application menu, select Measurement>...
Application Examples Configuring the Measurement Follow the steps to configure the selected measurements: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 17. Configuring measurements Option Set to Tier Tier1 Direction Upstream Test Point Set the test point to Near End Configure the following options in the Source field: Table 18.
Page 110
Application Examples Figure 62: Results summary for Signal Quality Measurement for high-speed devices for upstream testing Click any one of the test result buttons to get the details of that test. Click the Additional Information button to display the additional information.
Page 111
Application Examples Figure 64: Eye diagram for Signal Quality Measurement for high-speed devices for upstream testing Click the Waveform Plot to view the waveform plot. Figure 65: Waveform plot for Signal Quality Measurement for high-speed devices for upstream testing TDSUSB2 Universal Serial Bus Measurement Package...
Select any one of the Report 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 Select the manual generation mode. Select the Generate button to display and view the selected report format.
Application Examples Packet Parameter Measurement Specifying the Equipment-Packet Parameter Measurement The following equipment is needed for a Packet Parameter measurement: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture One P6248 differential probe Host Controller (Host controller card with the test mode software on a...
Page 114
Application Examples If your DUT is EL_22, select the Step button in the HS electrical test tool to acquire the waveform as shown in the following figure: Figure 67: Setting the trigger level You can use the application to perform the following measurements: 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...
Page 115
Application Examples The application measures the EOP of the second packet (8bits). This is EL_25. As the signal is differential, the EOP can be a positive or a negative pulse The application measures the inter-packet gap of the first two packets (88-192 bits).
Page 116
Application Examples Figure 69: Acquiring the waveform The application displays the message “Press OK when correct waveform is acquired” Figure 70: Setting the trigger level TDSUSB2 Universal Serial Bus Measurement Package...
Page 117
Application Examples The application displays the waveform The application measures the inter packet gap of the second and the third packet (88-192 bits). This is EL_22 High speed Host: EL_55 (SOF-EOP) Complete the procedure 1 Run the 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 application.
Page 118
Application Examples To set up the oscilloscope for the High Speed Device EL_21, EL_23, EL_25 (Sync-EOPIII-InterPacketII&III) and a High Speed Device EL_22 (InterPacketI&II), follow these steps: Select the measurement and run the application. The application automatically sets the oscilloscope parameters (Horizontal, Vertical, and Trigger) and displays the message, Press OK when correct waveform is acquired.
Page 119
Application Examples You can use the application to perform the following measurements: High Speed Device:EL_21, EL_23, EL_25 (Sync-EOPIII-InterPacketII&III) Complete procedures 1 and 3 to set up the oscilloscope The oscilloscope acquires and displays the waveform The application displays the message “Press OK when correct waveform is acquired”...
Page 120
Application Examples The 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 TDSUSB2 Universal Serial Bus Measurement Package...
Page 121
Application Examples High Speed Device:EL_22 (InterPacketI&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 waveform TDSUSB2 Universal Serial Bus Measurement Package...
Page 122
Application Examples Figure 75: Setting the trigger level The application measures the number of bits (88-192) between the packets TDSUSB2 Universal Serial Bus Measurement Package...
Application Examples Figure 76: Equipment setup for Packet Parameter measurement Selecting and Configuring Measurement-Packet Parameter Measurement Follow these steps to select measurements for Packet Parameter measurement: From the application menu, select Measurement> Select> High speed tab. Select the More button to display the following tests: Receiver Sensitivity Suspend Reset from High Speed...
Application Examples Configuring the Measurement Follow the steps to configure the selected measurements: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 19. Configuring measurements Option Set to Select DUT Host, Device Configure the following options: Table 20.
Generating Reports-Packet Parameter Measurement To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific, or CSV format. TDSUSB2 Universal Serial Bus Measurement Package...
Page 126
Application Examples Figure 79: Report in CSV format Figure 80: Packet Parameter test results TDSUSB2 Universal Serial Bus Measurement Package...
Application Examples Figure 81: Report in Tektronix Specific format Select the manual generation mode. 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 .csv format in Microsoft Excel.
Application Examples Typical Equipment Setup-Resume Measurement To set up the Device SQ in the test fixture for the Resume test, follow these steps: Set the S5 switch to the Init position. Use a standard length of the USB cable with an A plug on one end and a B plug on the other end.
Application Examples Selecting and Configuring Measurement-Resume Follow these steps to select measurements for the Resume measurement: From the application menu, select Measurement> Select> High speed (tab). Select the More button to display the following tests: Receiver Sensitivity Suspend Reset from High Speed Packet Parameter Chirp Resume...
Generating Reports-Resume Measurement To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific, or CSV format. TDSUSB2 Universal Serial Bus Measurement Package...
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...
Page 132
Application Examples Figure 87: Report in Tektronix-Specific format for Resume Measurement Select the manual generation mode. 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 .csv format in Microsoft Excel.
Application Examples Reset from Suspend Measurement Specifying the Equipment-Reset from Suspend Measurement The following equipment is needed for Reset from Suspend measurement: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Two P6245 or TAP1500 single-ended probes Typical Equipment Setup-Reset from Suspend Measurement...
Application Examples Figure 88: Equipment for Reset from Suspend Measurement Selecting and Configuring Measurement-Reset from Suspend Measurement Follow these steps to select measurements for Reset from Suspend measurement: From the application menu, select Measurement> Select> High Speed tab. Select the More button to display the following tests: Receiver Sensitivity Suspend Reset High Speed...
Application Examples Configuring the Measurement Follow the steps to configure the selected measurements: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 22. Configuring measurements Option Set to Signal Direction Upstream Source D+ Ch1-Ch4, Ref1-Ref4 D–...
Generating Reports-Reset from Suspend Measurement To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific, or CSV format. TDSUSB2 Universal Serial Bus Measurement Package...
Page 137
Application 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 Package...
Application Examples Figure 94: Report in Tektronix-Specific format for Reset from Suspend Measurement Select the manual generation mode. 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 .csv format in Microsoft Excel.
Application Examples Typical Equipment Setup-Suspend Measurement To set up the Device SQ in the test fixture for the Suspend test, follow these steps: Set the S6 switch to the Init position. Use a standard length of USB cable with an A plug on one end and a B plug on the other end.
Application Examples Selecting and Configuring Measurement-Suspend Measurement Follow these steps to select measurements for Suspend measurement: From the application menu, select Measurement> Select> High Speed tab. Select the More button to display the following tests: Receiver Sensitivity Suspend Reset High Speed Packet Parameter Chirp Resume...
Application Examples Viewing Results-Suspend Measurement To view the results of the tests, follow these steps: Run the application and from the application menu, and select Results> Summary. Figure 96: Results summary for Suspend Measurement Click any of the test result buttons to get the details of that test. Figure 97: Results summary/details for Suspend Measurement From the application menu, select Results>...
To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific, or CSV format. Figure 99: Report in CSV format for Suspend Measurement...
Page 143
Application Examples Figure 100: Report in Plug-Fest format for Suspend Measurement Figure 101: Report in Tektronix-Specific format for Suspend Measurement Select the manual generation mode. 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 .csv format in Microsoft Excel.
Application Examples Reset from High Speed Measurement Specifying the Equipment-Reset from High Speed Measurement The following equipment is needed for Reset from High Speed measurement: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Two P6245 or TAP1500 single-ended probes...
Application Examples Figure 102: Equipment setup in Reset from High Speed Measurement Selecting and Configuring Measurement-Reset from High Speed Measurement Follow these steps to select measurements for Reset from High Speed measurement: From the application menu, select Measurement> Select> High Speed tab. Select the More button to display the following tests: Receiver Sensitivity Suspend...
Application Examples Configuring the Measurement Follow these steps to configure the selected measurements: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 24. Configuring measurements Option Set to Signal Direction Upstream Source D+ Ch1-Ch4, Ref1-Ref4 D–...
Page 147
Application Examples Figure 104: Results summary/detail for Reset from High Speed Measurement From the application menu, select Results> Details. Figure 105: Results details for Reset from High Speed Measurement TDSUSB2 Universal Serial Bus Measurement Package...
To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific or CSV format. Figure 106: Report in CSV format for Reset from High Speed Measurement...
Page 149
Application Examples Figure 107: Report in Plug-Fest format for Reset from High Speed Measurement Figure 108: Report in Tektronix-Specific format for Reset from High Speed Measurement Select the manual generation mode. Select the Generate button to display and view the selected report format.
Application Examples Chirp Measurement Specifying the Equipment-Chirp The following equipment is needed to test Chirp measurement: Tektronix digital oscilloscope TDSUSB2 application TDSUSBF compliance test fixture Two P6245 or TAP1500 single-ended probes Typical Equipment Setup-Chirp The section used for this device test is Device SQ in the test fixture. To set up the equipment for the Chirp test, follow these steps: Set the S6 switch to the Init position.
Page 151
Application Examples Figure 109: Chirp signal Select OK after acquiring a waveform. Verify that it is 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 test.
Application Examples Figure 110: Equipment setup for Chirp Measurement Selecting and Configuring Measurement-Chirp Follow these steps to select measurements for Chirp measurement: From the application menu, select Measurement> Select> High Speed tab. Select the More button to display the following tests: Receiver Sensitivity Suspend Reset from High Speed...
Application Examples Configuring the Measurement Follow the steps to configure the selected measurements: From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 25. Configuring measurements Option Set to Select DUT Host, Device Host EL_33, EL_34 EL_35 Device EL_28, EL_29, EL_31...
Page 154
Application Examples Figure 112: Results summary/details for Chirp Measurement From the application menu, select Results> Details. Figure 113: Results details for Chirp Measurement Click here to view the results of the Chirp Host measurement. Figure 114: Results summary for Chirp Host Measurement TDSUSB2 Universal Serial Bus Measurement Package...
Generating Reports-Chirp To generate reports of the test results, follow these steps: From the application menu, select Utilities> Report Generator. Select any one of the Report formats: Tektronix Specific, Plug-Fest Specific or CSV format. TDSUSB2 Universal Serial Bus Measurement Package...
Page 156
Application Examples Figure 117: Report in SCV format for Chirp Measurement Figure 118: Report in Plug-Fest format for Chirp Measurement TDSUSB2 Universal Serial Bus Measurement Package...
Page 157
Application Examples Figure 119: Report in Tektronix-Specific format for Chirp Measurement Select the manual generation mode. 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 .csv format in Microsoft Excel.
Page 158
Application Examples TDSUSB2 Universal Serial Bus Measurement Package...
R-GPIB Commands About the R-GPIB Program An example of an R-GPIB program that can execute the TDSUSB2 measurement is included with the application. The oscilloscope hard disk and optional applications compact disc both contain the file, TDSUSB2_rgpib.c. On the hard drive, the file resides in the C:\Program Files\TekApplications\tdsusb2 directory.
R-GPIB Commands Introduction to the R-GPIB Commands With the knowledge of R-GPIB command syntax, you can design an R-GPIB program to do the following tasks: Start the TDSUSB2 application Recognize an active application with R-GPIB protocol Program and read the application setup parameters Sequence measurements Generate reports Guidelines to R-GPIB Programming...
R-GPIB Commands Launching the Application Using R-GPIB You must manually set up the oscilloscope to launch the application. To start the TDSUSB2 application, you must send the oscilloscope the following R-GPIB command: application:activate"USB2.0 Test Package" The application uses the R-GPIB VARIABLE: VALUE command with arguments to execute some features.
R-GPIB Commands Variable: Value Command Variable: Value Command Description This command accepts strings arguments for a control or data variable and a value to which to set the argument. Syntax VARIABLE:VALUE “<variable name>”,“<variable value>” The arguments <variable name> and <variable value> are required in the order indicated.
Querying Form reportFormat {tek, plug-fest, csv} Sets the Report format to Returns the current report format Tektronix specific, plug-fest specific or CSV format reportName It is recommended to have any Sets the report file name Returns the report file name string comprising of A-Z, a-z, 0-9 in the manual mode.
R-GPIB Commands Variable: Value TDSUSB2 Command Arguments and Queries- Results Variable Name Valid values Function Querying Form resultFor {eye, sigrt, jk, kj, con, eop, Sets the result variables with After being set to a measurement appropriate result values for value, the query returns "Busy" eopbit, cross, rer, fer, mon, in, that particular test until the results are refreshed.
Page 165
R-GPIB Commands Variable Name Valid values Function Querying Form Packet Parameter ppOverallStatus {Pass, Fail} Returns the overall Pass/Fail status of the selected packet parameter measurement result ppHostEL21Status {Pass, Fail} Returns the Sync Field Pass/Fail status ppHostEL23 Returns the inter packet gap between first two packets ppHostEL23Status {Pass, Fail}...
Page 166
R-GPIB Commands Variable Name Valid values Function Querying Form Chirp chirpHostEL33 Returns the host response time chirpHostEL33Status {Pass, Fail} Returns the host response time status chirpHostKEL34 Returns the host K duration chirpHostJEL34 Returns the host J duration ChirpHostEL34Status {Pass, Fail} Returns the host KJ duration status chirpHostEL35...
Page 167
R-GPIB Commands variable:value “recallName”, “sqc” variable:value “setup”,”Recall” variable:value “sequencerState”, “Sequencing” …..keep 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 is queried variable:value? “resultFor”...
R-GPIB Commands Sample Program /* TDSUSB2 * This is a reference program to illustrate how to communicate with TDSUSB2 * using Remote GPIB facilities. Typically, the application does the following steps: Start up the application Recall Full Speed Signal Quality setup Run the measurement Generate the report Exit the application...
Page 169
R-GPIB Commands void display_results(int scope); /* parameters needed to access the device driver handler */ #define BDINDEX 0 // Board Index #define PRIMARY_ADDR_OF_DMM 1 // Primary address of device #define NO_SECONDARY_ADDR 0 // Secondary address of device #define TIMEOUT T10s // Timeout value = 10 seconds #define EOTMODE 1...
Page 171
R-GPIB Commands timer = 1; while (1) /* Check whether application has started */ sprintf(write_buffer, "%s", "Variable:value? \"application\""); status = ibwrt(scope, write_buffer, strlen(write_buffer)); status = ibrd(scope, read_buffer, sizeof(read_buffer)); read_buffer[ibcnt] = '\0'; if (strcmp(app_name, read_buffer) == return 1; timer++; if (timer > 60) return 0;...
Page 172
R-GPIB Commands ibwrt(scope, write_buffer, strlen(write_buffer)); return 1; int recall_setup(int scope, char* filename) char write_buffer[100]; int status; /* Set Recall file name */ sprintf(write_buffer, "%s%s%s", "Variable:value \"recallName\",\"", filename, "\""); status = ibwrt(scope, write_buffer, strlen(write_buffer)); if (ibsta & ERR) GPIBCleanup(scope, "Unable to communicate with Scope");...
Page 173
R-GPIB Commands return 1; int run_test (int scope) char write_buffer[100]; char read_buffer[100]; int timer; sprintf(write_buffer, "%s", "Variable:value \"sequencerState\",\"Sequencing\""); ibwrt(scope, 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 >...
Page 174
R-GPIB Commands GPIBCleanup(scope, "Unable to write to device"); read_buffer[ibcnt] = '\0'; (strcmp(read_buffer,"\"Ready\"\n") == 0) printf("Test Complete ...\n"); return 1; Sleep(1000); void report_generate(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); status = ibwrt(scope, write_buffer, strlen(write_buffer));...
Page 175
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);...
Page 176
R-GPIB Commands GPIBCleanup(Dev, "Unable to open device"); else printf("My device id - %i", Dev); Sleep(1000); sprintf(write_buffer, "%s", "header off"); status = ibwrt(Dev, write_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_application(Dev); /* leave the device back elegantly */ printf("Cleanup: Taking device offline\n");...
Reference Shortcut Keys This table lists the shortcut keys that you can use for different tasks. Table 30. Shortcut keys Action Shortcut Keys File Menu Recall Default AltF+D Recall AltF+R Save AltF+S Preferences AltF+P Recently Recalled AltF+C Recently Saved AltF+A Minimize AltF+N Exit...
Reference Note: Use the Alt key with only the first keystroke. Release the Alt key before you press the final key. For example, to use the shortcut key AltF+D, press the Alt and F keys together. Release the keys and then press D. USB2.0 Specifications This section gives the USB2.0 values for measurements for Low, Full and High speed signals.
Reference Full Speed Table 32. Full Speed measurements USB Limits User Configure Limits References* Measure-ments Max Max range Min range Cross-Over 2.0 V 1.3 V 1.6-2.4 V 1.04-1.56 V Chapter 7, Table 7-7, Voltage Section 7.1.2.1 Signal Rate 12.03 Mbps 11.97 Mbps 12.15 to 14.8 9.48-11.85 Chapter 7,7.1.13.1...
Reference High Speed Table 33. High Speed measurements USB Limits User Configure Limits 80% to References* 120% Measure- Max range Min range ments Pass/Fail Signal Rate 480.24 479.76 Mbps 480.264- 383.7888- Chapter 7,7.1.11 Mbps 576.3168 Mbps 479.736 Mbps Rising Edge 1422 V/μs 0 From MATLAB Rate...
Reference Droop Test Table 35. Inrush Current measurements USB Limits User Configure Limits 80% to 120% References* Measurements Max range Min range Pass/Fail Droop Compliance <330 mV 70.0 mV 264-396 mV Chapter 7, 7.2.4.1 Voltage *References Section refers to the chapter numbers in ‘Universal Serial Bus Specifications Revision 2.0-2000’.
Page 182
Reference Table 36.Error Code descriptions (cont.) Error in acquiring waveform from oscilloscope E111 Timeout occurred while This is the GPIB timeout information Make sure the probe and compliance test acquiring a waveform that appears when the application is fixture connections are proper. Reacquire acquiring the waveform the new waveform E112...
Page 183
Reference Table 36.Error Code descriptions (cont.) JK and KJ Jitter Measurement Errors E304 Number of bits is not sufficient More than four Cross-Over points are Try acquiring the signal again by pressing to calculate JK jitter expected by the algorithm Run button E305 Number of bits is not sufficient...
Page 184
Reference Table 36.Error Code descriptions (cont.) Utilities E701 Number of edges found in the Before the deskew operation can Adjust the timebase and (or) increase the waveform is less than required start, the edge(s) available for record length. Perform the deskew operation edges (user input) to perform the deskew operation must be greater by entering less number of edges...
Page 185
Reference Table 36.Error Code descriptions (cont.) Save and Recall E751 The file name has invalid The application expects the file Make sure the valid characters are used in characters and could not be names in alphanumeric characters the file names saved E754 The file name has invalid...
Page 186
Reference Table 36.Error Code descriptions (cont.) Rising Edge Rate / Falling Edge Rate Measurement E901 The High level values need to This message is displayed if no Decrease the percentage of the high level be decreased edge is found in the high level values of Rising Edge Rate/Falling Edge Rate E902 The Low level values need to be...
Page 187
Reference Table 36.Error Code descriptions (cont.) Miscellaneous E1000 Invalid device Chirp-K for this As part of the USB2.0 description, a Try acquiring the signals again by pressing test minimum of 3 Chirp-K and 3 Chirp-J Run button states are expected after Chirp Response timing.
Reference Settings for the supported Instruments This section gives a list of default oscilloscope settings the application uses for supported instruments. The recommended voltage probes for single-ended signals are the P6245, TAP1500 probes and for differential signals is the P6248 probe. The next table shows the oscilloscope settings for Low Speed and Full Speed signals for the supported instruments.
Parameters About Application Parameters This section describes the TDSUSB2 application parameters, and includes the menu default settings. You should refer to the user manual for your oscilloscope for operating details of other controls, such as front-panel buttons. The parameters for the menus and options list the selections or range of values available for each, and include the default values.
Parameters Parameters Selections Default setting Modify HoldOff 250 ns to 12 s 1.2 µs Measurement Menus The options available under the Measurements menu are as follows: Select Configure Measurement Parameters The next table lists the options in the Select Measurements menu by area: Table 53.
Parameters Table 53. Measurement parameters (cont.) High Speed Eye Diagram None Signal Rate EOP Width Rising Edge Rate Falling Edge Rate Monotonic Property Chirp Receiver Sensitivity Inrush Current Droop test Packet Parameter Suspend Resume Reset from High Speed Reset from Suspend Device ID User defined or fsfe_001 fsfe_001...
Parameters Configure Droop Test Parameters Configure Table 58. Configure Droop Test parameters Parameters Selections Default setting Port Port 1, Port 2, Port 3, Port 4, Port 5, Port 6, Port 7 Port 1 Device Type Self Powered Hub Bus Powered Hub Bus Powered Hub Source Table 59.
Rise, Fall Fall Edges 1 to 50 Report Generator Menu Parameters Table 65. Report Generator Menu parameters Parameters Selections Default setting Report Format Tektronix specific, Plug-Fest format, Tektronix specific CSV format Generation Automatic, Manual Manual File name fsfe_001-tek.htm C:\TekApplications\tdsusb2\report\fsfe_001- tek.htm...
Parameters TSV File Generator Menu Parameters Table 66. TSV File Generator Menu parameters Parameters Selections Default setting Input CSV, Live C:\TekApplications\tdsusb2\csv files\csvFile001.csv CSV Waveform Source Single-Ended Single-Ended C:\TekApplications\tdsusb2\tsvfilegenerator\Dplus.csv C:\TekApplications\tdsusb2\tsvfilegenerator\Dminus.csv Differential C:\TekApplications\tdsusb2\tsvfilegenerator\Differential.csv TSV File name TSV Source File C:\TekApplications\tdsusb2\tsvfilegenerator\TsvFile001.tsv Help Menu Help Topics - Displays the help file for the TDSUSB2 application.
Measurement Algorithms About Measurement Algorithms The TDSUSB2 package performs measurements for USB2.0 compliance. This section contains information about the algorithms used by the application to perform each measurement. Cross-Over Voltage for Low Speed and Full Speed Signals You can define the Cross-Over point as the point where the Data+ line voltage crosses the Data–...
Page 202
Measurement Algorithms The intersection of the four voltage points p1, p2, q1, and q2 gives the Cross- Over point for Voltage level (y) and time (x). x and y coordinates are obtained by solving the following two equations: Where: p1, p2, q1, and q2 are the consecutive data points of a single-ended signal.
Measurement Algorithms Cross-Over Voltage for High-Speed Signals The Cross-Over is defined as that point where the Differential line voltage becomes zero. The voltage value at this point is called the Cross-Over Voltage and the time value is called the Cross-Over Time. The following algorithms are used for High Speed signals for Cross-Over voltage.
Measurement Algorithms Signal Rate You can define the signal rate for Low or Full speed signals as the inverse of the average bit time that gives the transmission rate of the USB2.0 signal. For high speed signals, the signal rate is defined as the inverse of the average bit time that gives the transmission rate of the Test_Packet.
Measurement Algorithms EOP Width Calculation You can define the EOP width for Low or Full speed signals as the width of the end-of-packet of a USB2.0 signal. For 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.
Measurement Algorithms Consecutive and Paired Jitter You can test two types of Jitter measurements: Consecutive and Paired Jitter. Consecutive jitter measures the consecutive data bit calculated using the signal rate. Consecutive jitter is calculated as follows. Where: C1, C2, C3, and C4 are the Cross -Over points. R1, R2, R3, and R4 are the reference points.
Measurement Algorithms JK) differential data transition. They are calculated for all the consecutive jitters and so on till the last Cross-Over. Eye Diagram The Eye Diagram checks whether the USB signal is aligned with its corresponding eye diagram. It represents the whole signal by splicing it into a number of waveforms of unit interval (each waveform is of one bit time interval) scaled and represented on the eye masks.
Measurement Algorithms Inrush Current Inrush Current is calculated by recording all the current values above the 100 mA current level throughout the signal. This signal is integrated to get the total charge greater than 100 mA. This is the charge in Coulombs and is calculated using the equation: ?idt i is the current waveform above 100 mA.
Measurement Algorithms Receiver Sensitivity Test You can test the Receiver sensitivity of a high speed device to respond to the particular data pattern generated by the digital signal generator. Receiver Sensitivity responds whenever the data pattern level of the voltage level is greater than 150 mV and does not respond when the voltage level is equal to or less than 100 mV below the squelch level.
Measurement Algorithms Note: There must be three K-J pairs after chirp-K that are less than 500 µs. This is to check the response of the device. The response time must be less than 100 µs. You can verify this manually. Host Chirp Test This test examines the basic timing and voltages of both upstream and downstream ports during the speed detection protocol.
Measurement Algorithms For Falling slope, f(x) is a differential signal if for all values of x till the last data point. Rising Edge Rate The Rising Edge Rate in V/us is calculated using the following equation: Rising Edge Rate = Amplitude/Rise Time Where: Amplitude is the difference between the positive and negative thresholds that vary for each of the signaling rates.
Measurement Algorithms Packet Parameter The algorithm calculates the SYNC field length, EOP length, and the Inter- Packet gap. The acceptable range of EOP for all transmitted packets (except SOFs) must be between 7.5 and 8.5 bits. The packet parameter algorithm calculates and verifies the EOP depending on this range.
Measurement Algorithms Resume 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 by the host controller. For the Host, this is the time between the falling edge of D+ and the First SOF.
Measurement Algorithms Reset from Suspend This test calculates the time between the falling edge of D+ signal and the start of Device 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-ended probes on both lines.
Measurement Algorithms Reset from High Speed This test calculates the time between the beginning of the last SOF and before the reset and the beginning 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 single-ended probes on both lines.
Measurement Algorithms Equipment Setup for Tests Low Speed Downstream Signal Quality Host Equipment Setup To set up the equipment for Low Speed Downstream Signal Quality test, follow these steps: Connect a cable between the A receptacle from the Inrush test section of the test fixture and the USB device.
Measurement Algorithms Figure 120: Equipment setup for Low Speed Downstream Signal Quality Host Low Speed Signal Quality for HUB Downstream To set up the equipment for Low Speed Signal Quality (hub) test, follow these steps: Connect the A plug dongle from the Inrush section of the test fixture to the port of the unit under test (hub).
Measurement Algorithms Figure 121: Equipment setup for Low Speed Signal Quality for HUB Downstream Full Speed Signal Quality HUB Downstream Setup To set up the equipment for Full Speed Signal Quality Downstream test, follow these steps: Set the S6 switch to the Init position. Use the adapters to connect the A receptacle from Device SQ test section (marked DUT) of the test fixture to the USB2.0 Low Speed device.
Page 219
Measurement Algorithms Note: Make sure the acquired signal is a valid waveform. If the signal is clipped, follow these steps to increase the vertical scale: In the oscilloscope menu, select Vertical>Vertical Setup to display the Channel screen. In the Scale field, increase the vertical scale values until the waveform is completely displayed on screen.
Measurement Algorithms Full Speed Downstream Host Equipment Setup To set up the equipment for Full Speed Downstream (host) test, follow these steps: Set the S6 switch to the Init position. Connect the A receptacle from Device SQ test section (marked DUT) of the test fixture to the hub system.
Measurement Algorithms Figure 123: Equipment setup for Full Speed Downstream Host Full Speed Upstream Signal Quality Setup To set up the equipment for Full Speed Upstream test, follow these steps: Use the A receptacle to connect the USB unit under test (device) to the Inrush section of the test fixture.
Page 222
Measurement Algorithms Note: Use the standard USB cables to connect between the hubs. Keep the Discharge switch in the Inrush Droop section in the ON position. If the signal is clipped, follow these steps to increase the vertical scale: In the oscilloscope menu, select Vertical>Vertical Setup to display the Channel screen.
Measurement Algorithms High Speed Device Signal Quality Setup To set up the equipment for the High Speed Signal Quality test, follow these steps: Set the S6 switch to the Init position. Connect the standard USB cable between the Device SQ Init port and the host port.
Measurement Algorithms Chirp Test Equipment Setup The section used for this device test is Device SQ in the test fixture. To set up the equipment for Chirp test, follow these steps: Set the S6 switch to the Init position. Use a standard USB cable with an A plug on one end and B plug on the other end.
Page 225
Measurement Algorithms Figure 126: Equipment setup for Chirp Test TDSUSB2 Universal Serial Bus Measurement Package...
Measurement Algorithms Receiver Sensitivity 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 TDSUSB2 Universal Serial Bus Measurement Package...
Measurement Algorithms 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 Measurement Package...
Page 228
Measurement Algorithms TDSUSB2 Universal Serial Bus Measurement Package...
Page 229
Measurement Algorithms Inrush setup To set up the equipment for Inrush test, follow these steps: Use the dongle on the Inrush section of the test fixture to connect it to the host system. Connect the current probe between the V loop wire on the Inrush section on the Test fixture and Ch1 of the oscilloscope.
Measurement Algorithms Figure 129: Equipment setup for Inrush test Resume Test Equipment Setup To set up the Device SQ in the test fixture for the Resume test, follow these steps: Set the S5 switch to the Init position. Use a standard length of the USB cable with an A plug on one end and a B plug on the other end.
Measurement Algorithms Figure 130: Equipment setup for Resume test Reset from Suspend Test Equipment Setup To set up the Device SQ in the test fixture for the Reset from Suspend test, follow these steps: Set the S6 switch to the Init position. Use a standard length of the USB cable with an A plug on one end and a B plug on the other end.
Measurement Algorithms Figure 131: Equipment setup for Reset from Suspend test Suspend Test Equipment Setup To set up the Device SQ in the test fixture for the Suspend test, follow these steps: Set the S6 switch to the Init position. Use a standard length of USB cable with an A plug on one end and a B plug on the other end.
Measurement Algorithms Figure 132: Equipment setup for Suspend test Reset from High Speed Test Equipment Setup To set up the Device SQ in the test fixture for the Reset from High Speed test, follow these steps: Set the S6 switch to the Init position. Use a standard length of the USB cable with an A plug on one end and a B plug on the other end.
Measurement Algorithms Figure 133: Equipment setup for Reset from High Speed test Packet Parameter Test Equipment Setup Test Fixture Setup To set up the test fixture, follow these steps: Set the S5 switch to the Init position. Connect the standard USB cable between the Device SQ Init port and the host port.
Measurement Algorithms Set up the Oscilloscope for High Speed Host Select the measurement and run the application. The application automatically sets the oscilloscope parameters (Horizontal, Vertical, and Trigger) and displays the message, "Press OK when correct waveform is acquired”. You can see the SOFs on the oscilloscope screen. If you are not able to acquire the waveform automatically, perform Autosetup in the oscilloscope to display the SOF.
Page 236
Measurement Algorithms You can use the application to perform the following measurements: 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 waveform as shown in the following figure.
Page 237
Measurement Algorithms 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 Tool. The oscilloscope acquires and displays the waveform as shown in the following figure: Figure 136: Acquiring the waveform The application displays the message “Press OK when correct...
Page 238
Measurement Algorithms Figure 137: Setting the trigger level The application displays the waveform. The application measures the inter packet gap of the second and the third packet (88-192 bits). This is EL_22. High speed Host: EL_55 (SOF-EOP) Complete the procedure 1. Run the test mode software and select the Host option.
Page 239
Measurement Algorithms Figure 138: Viewing SOF TDSUSB2 Universal Serial Bus Measurement Package...
Page 240
Measurement Algorithms To set up the oscilloscope for the High Speed Device EL_21, EL_23, EL_25 (Sync-EOPIII-InterPacketII&III) and a High Speed Device EL_22 (InterPacketI&II), follow these steps: Select the measurement and run the application. The application automatically sets the oscilloscope parameters (Horizontal, Vertical, and Trigger) and displays the message, "Press OK when correct waveform is acquired”.
Page 241
Measurement Algorithms You can use the application to perform the following measurements: High Speed Device:EL_21, EL_23, EL_25 (Sync-EOPIII-InterPacketII&III) Complete procedures 1 and 3 to set up the oscilloscope. The oscilloscope acquires and displays the waveform. The application displays the message “Press OK when correct waveform is acquired”.
Page 242
Measurement Algorithms High Speed Device:EL_22 (InterPacketI&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 141: Acquiring the waveform TDSUSB2 Universal Serial Bus Measurement Package...
Page 243
Measurement Algorithms Figure 142: Setting the trigger level The application measures the number of bits (88-192) between the packets. TDSUSB2 Universal Serial Bus Measurement Package...
Page 244
Measurement Algorithms Figure 143:Equipment setup for Packet Parameter Measurement TDSUSB2 Universal Serial Bus Measurement Package...
Glossary Cross-Over Points The Cross-Over point is defined as the intersection of the D+ and D– single- ended signals. For differential signals, the Cross-Over is zero crossings of the differential signal. Downstream The direction of data flow from the host or away from the host. A downstream port is the port on a hub electrically farthest from the host that generates downstream data traffic from the hub.
Page 246
Glossary Hot-Plug It is the technology that supports automatic configuration of the PC hardware and the attached device. You can attach a device or hot plug and start working without having to manually configure the device. This is how it is referred to in the application.
Page 247
Glossary Signal Direction Upstream It is defined as the direction of data flow towards the host. An upstream port is the port on a device closest to the host that generates upstream data traffic from the hub. Upstream ports receive downstream data traffic. Tier The position in the hub where the device is connected to the system.
Page 248
Glossary TDSUSB2 Universal Serial Bus Measurement Package...
Need help?
Do you have a question about the TDS5032 and is the answer not in the manual?
Questions and answers