Tektronix TDSUSB2 Manual
Tektronix TDSUSB2 Manual

Tektronix TDSUSB2 Manual

Universal serial bus measurement package
Hide thumbs Also See for TDSUSB2:
Table of Contents

Advertisement

Quick Links

TDSUSB2
Universal Serial Bus Measurement Package
077-0015-03
This document supports software version 3.0.3 and above.
www.tektronix.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TDSUSB2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Tektronix 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 Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its suppliers and are protected by United States copyright laws and international treaty provisions. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supercedes that in all previously published material.
  • Page 3: Table Of Contents

    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..................5 Feedback ......................6 General information ..................6...
  • Page 4 Configuring Chirp Measurement ..............37 Configuring Reset from High Speed Measurement........39 Configuring Resume Measurement ...............40 Configuring Suspend Measurement...............41 Configuring Reset from Suspend Measurement ..........42 Configuring Packet Parameter Measurement ..........43 Packet Parameter Measurement..............44 Suspend Measurement ...................45 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 5 Taking a Low Speed Inrush Current Measurement ........67 Taking a High Speed Signal Quality Measurement........69 Taking a Low Speed Signal Quality Measurement ........72 Application Examples..............77 Full Speed Signal Quality Tests for Downstream Testing......77 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 6 Generating Reports-Full Speed Signal Quality Tests for Upstream Testing ...................91 Inrush Current Test for a Device ..............91 Specifying the Equipment-Full Speed Inrush Current Test ....91 Typical Equipment Setup-Inrush Current Test........91 Selecting and Configuring Measurements-Inrush Current Test....93 Configuring the Measurement..............93 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 7 Typical Equipment Setup-Resume Measurement .........116 Selecting and Configuring Measurement-Resume........117 Configuring the Measurement...............117 Viewing Results-Resume Measurement ..........118 Generating Reports-Resume Measurement...........118 Reset from Suspend Measurement...............121 Specifying the Equipment-Reset from Suspend Measurement .....121 Typical Equipment Setup-Reset from Suspend Measurement ....121 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 8 Viewing Results-Chirp................141 Generating Reports-Chirp ..............143 R-GPIB Commands ..............147 About the R-GPIB Program.................147 R-GPIB Reference Materials ...............147 Introduction to the R-GPIB Commands ............148 Guidelines to R-GPIB Programming ............148 Launching the Application Using R-GPIB ..........149 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 9 Queries- Sequencer ..................150 Variable: Value TDSUSB2 Command Arguments and Queries- Save/Recall..................151 Variable: Value TDSUSB2 Command Arguments and Queries- Report Generation .................151 Variable: Value TDSUSB2 Command Arguments and Queries- Results ...152 Sample Program...................156 Reference ................165 Shortcut Keys....................165 USB2.0 Specifications .................166 Low Speed.....................166...
  • Page 10 Suspend ....................185 Configure Packet Parameter ................186 Configure Chirp ...................186 Results Menus....................186 Utilities Menus.....................187 Deskew ......................187 Report Generator Menu Parameters.............187 TSV File Generator Menu Parameters............188 Help Menu ....................188 Control Menu....................188 Control Menu Parameters..............188 viii TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 11 Full Speed Upstream Signal Quality Setup...........209 High Speed Device Signal Quality Setup..........211 Chirp Test Equipment Setup ..............212 Receiver Sensitivity Setup ..............214 Procedural steps..................215 Resume Test Equipment Setup..............218 Reset from Suspend Test Equipment Setup ..........219 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 12 Suspend Test Equipment 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 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 13: General Safety Summary

    DANGER indicates an injury hazard immediately accessible as you read the marking. WARNING indicates an injury hazard not immediately accessible as you read the marking. CAUTION indicates a hazard to property including the product. TDSUSB2 Universal Serial Bus Measurement Package...
  • 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...
  • Page 15: Introduction

    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...
  • Page 16: 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. Click Start > Programs > TekApplications > TDSUSB2 > Help to access the Online Help. Click Start > Programs > TekApplications > TDSUSB2 > Help (PDF Version) to access the PDF version of the Online Help.
  • Page 17 Note: The light bulb and the word Tip in the graphic . This graphic indicates additional information to help you function faster or more efficiently. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 18: Printing From The Online Help

    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 application When steps require a sequence of selections using the application interface, the ">"...
  • Page 19: Related Documentation

    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...
  • Page 20: Feedback

    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.
  • Page 21: Getting Started

    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...
  • Page 22: Compatibility

    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...
  • Page 25: Installation

    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.
  • Page 26: Deskewing

    Connect the probe compensation signal to the deskew fixture. You can use the probe compensation signal from the oscilloscope as the source for the deskew fixture. Follow the on-screen prompts for the deskew operation with an external source. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 27 Select the Reference Level in the To area for Ch2 and set the reference value. 10. Select the Hysteresis in the From area for Ch1. Hysteresis helps to ignore the noise level in the waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 28 0 to 1 volt in a traditional oscilloscope. Set the Reference level and the Hysteresis level appropriately so that the Ref level is at the middle of the swing on the signal. Figure 2: Signals after deskew TDSUSB2 Universal Serial Bus Measurement Package...
  • 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 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 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...
  • Page 33: Operating Basics

    Keypad appears when you select the box; select and use it to enter a value MP/GPknob A line that appears between the knob and the box when the MP or GP knob is selected; turn the knob and select a value TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 34: Basic Instrument Functions

    Minimizing and Maximizing the Application To minimize the application, select File> Minimize. When you minimize the oscilloscope, the application is continually displayed. To maximize the application, select the TDSUSB2 icon in the Windows taskbar. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 35: Application Directories And File Names

    Select the Menu bar or the Toolbar mode on the oscilloscope and access the menus. To return to the application, click the App button on the menu bar of the oscilloscope or click on Analyze > Restore Application to restore the application. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 36: Exiting The Application

    The compliance test fixture consists of the following sections: SQ Test Section Receiver Sensitivity Test Impedance Measurement Test (TDR) Disconnect Detect Test Adjacent Trigger and Droop Test Host SQ Inrush Test Downstream Signal Quality TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 37: Setting Up The Device Details

    Note: If you check the Generate Automatic ID, the Device ID field is disabled and the Prefix field is enabled. The report for Inrush Measurement displays details of the Signal Setup with the device description. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 38: Setting Up The Software

    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 Automatically generate .tsv files Display the generated report Always display the waiver mask for High-Speed Near End and Low Speed eye diagrams Do Autoset Every Time. Note: Autoset will happen only for Full-Speed/High Speed SQC measurements. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 40 Signal Quality measurements Set the trigger holdoff value to capture the USB2.0 high-speed test packet Note: If you enable the Configure Test Limits options, the Results Summary and Report Generation in Plug-Fest format is disabled. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 41: Table Of Measurements And Options

    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 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 42: Selecting A Measurement

    After selecting the tests, you must configure the application based on Signal Source, Tier, Test Point, and Signal Direction. You can test the units for the following: Devices for Upstream Signal Quality Check TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 43: Signal Quality Check

    USB2.0 unit to Tier 6 to ensure the worst case. Each hub level is referred to as a Tier. The hub under test is connected to the Tier 5, so that you can test the hub on the Tier 6. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 44: Inrush Current Check

    All the V measurements are relative to local ground. The TDSUSB2 application automatically sets up the oscilloscope for the specified test configuration. When you start the application, it acquires the signal, and provides the V measurement, and displays PASS or FAIL.
  • Page 45: Receiver Sensitivity Measurement

    Operating Basics Figure 11: Results of the Droop measurement Note: The TDSUSB2 application helps to report the Drop test. You can do this by enabling an option in the File> Preferences> Advanced menu. You can enter the multimeter reading for the Drop test in the TDSUSB2 application during report generation for a consolidated report.
  • Page 46 Operating Basics Figure 12: Results of the Receiver Sensitivity measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 47: Chirp Measurement

    Reset 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 generates the results and reports for the results of Chirp-K duration, Chirp-K amplitude, and Reset duration.
  • Page 48: Monotonic Property

    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.
  • Page 49: Configure Limits

    For a live signal there are two options: Differential and Single- Ended. For Low Speed and Full Speed devices, you can test only single-ended signals (D+ and D–). For High Speed devices, it is recommended that you use a differential probe. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 50: Configuring Inrush Current Measurements

    The Configure tab allows you to select the Port (Port 1 through 7), Hub and Source of the signal. The source of the signal can be live or from a .tsv file. The hubs can either be Self-powered or Bus-powered. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 51: Configuring Receiver Sensitivity Measurements

    Select the High Speed measurement tab> More button> Chirp 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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 52 Select the Device option to display the different tests for the DUT. The available tests are: EL_28, EL_29: You can perform two separate measurements on an acquired waveform EL_31: You can perform a single measurement on an acquired waveform TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 53: Configuring Reset From High Speed Measurement

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 54: Configuring Resume Measurement

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 55: Configuring Suspend Measurement

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 56: Configuring Reset From Suspend Measurement

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 57: Configuring Packet Parameter Measurement

    EL_21, EL_23, EL_25: You can perform three separate measurements on a single acquired waveform EL_22: You can perform a single measurement on an acquired waveform EL_55: You can perform a single measurement on an acquired waveform TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 58: Packet Parameter Measurement

    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 EOP indexes. The EOP width in time is calculated by dividing the EOP width by 480 Mbps. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 59: Suspend Measurement

    D+ and the First SOF. This should not exceed 3.0 ms. To get the Suspend signal, hot-plug the unit under test (device) and measure the signaling with single-ended probes on both lines. The application analyzes data for the following: Resume Time Amplitude TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 60: Reset From Suspend Measurement

    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. The application analyzes data for the Reset From Suspend Time. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 61 Operating Basics TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 62: Reset From High Speed Measurement

    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. The application analyzes data for Reset From High Speed Time. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 63: Taking Measurements

    Cursors at the start and end position of the USB packet.” Press OK when done. Figure 25: Place cursors screen If you select the Inrush measurement, the application displays the message in the following figure: TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 64 The application automatically displays the result after acquiring the data. The application automatically displays the eye diagram and the waveform plot for the acquired signals. This is possible only if you enable this option in the Preferences> General. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 65: Control Menu Options

    USB2.0 specifications. A Conditional PASS indicates that the limits of the tests are within the USB2.0 waiver limits. Note: The application displays PASS or FAIL based on the limits you set. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 66: Eye Diagram

    The selected area is displayed in the entire upper half of the oscilloscope. Select the icon to zoom out. You can use the Zoom In and Zoom Out icons until the application reaches the maximum and the minimum zoom limits. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 67 X-axis. Use the mouse to select the Horizontal cursor . You can drag the cursors to change the positions, and read the voltage values on the Y-axis. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 68: Waveform Plot

    Figure 31: Using the zoom feature Cursor: You can select the Cursors and the vertical cursors appear. Drag the cursors to change the positions of the cursors, and read the time values on the X-axis. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 69 D– signal CMD: Use this button to turn on or turn off the display of the Common Mode voltage Diff: Use this button to turn on or turn off the display of the Differential signal TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 70 Note: The application displays the user column in the Results Details only if the User Configurable Limits are selected in File> Preferences> Advanced tab. The application disables the Results> Summary and Report generation in Plug- Fest Specific format when you enable Configure Test Limits. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 71: Report Generation

    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...
  • Page 72: Viewing Reports

    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.
  • Page 73: Tsv File Format Description

    You require only one .csv file for Inrush and Droop tests. This .csv file has two columns: one column for the Time Values and the other for Current (Inrush) and Voltage (Droop) values. You must use the Differential option for conversion. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 74: Saving And Recalling Setups

    To recall the application settings from a saved setup file, follow these steps: Select File> Recall Browse the directory C:\TekApplications\tdsusb2\setup to recall the .ini files or select the directory where you have saved the setup file Select or enter an .ini file name Choose Open to recall the setup or Cancel to cancel the operation Note: The application recalls the oscilloscope setup from a .set file.
  • Page 75: Recalling The Default Setup

    Select the setup from the list of setups displayed. Note: When you select a file from the list of recently saved files popup menu, the file becomes the first element in the list of selections. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 76 Taking Measurements TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 77: Tutorial

    The application distribution includes the .tsv files used with this tutorial. The table below shows the types of signals that represent these waveforms. Table 9. .tsv files Tsv File name Signal type C:\TekApplications\tdsusb2\tsvfiles\LS_SQC.tsv Low Speed C:\TekApplications\tdsusb2\tsvfiles\FS_SQC.tsv Full Speed C:\TekApplications\tdsusb2\tsvfiles\HS_sqc.tsv High Speed C:\TekApplications\tdsusb2\tsvfiles\inrush.tsv Low/Full/High Speed TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 78: Taking A Full Speed Signal Quality Measurement

    If the source is from a file, use the browse button to look for the file. Select the file C:\TekApplications\tdsusb2\tsvfiles\FS_SQC.tsv. Select the command button to run the application. The application displays the Eye Diagram and the Waveform Plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 79 To view the Results Details, select Results> Details in the application menu bar or PASS command button in the Overall Result area to view the details of each measurement. TDSUSB2 Universal Serial Bus Measurement Package...
  • 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.
  • Page 81: Taking A Low Speed Inrush Current Measurement

    Tutorial Figure 39: Report in Tektronix-Specific format for Signal Quality Test 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.
  • Page 82 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. 13. The application displays the sample report file in a browser. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 83: Taking A High Speed Signal Quality Measurement

    Select the Configure option or go to Measurements> Configure. Select the Source tab> From File>Browse and locate the file. Select the file C:\TekApplications\tdsusb2\tsvfiles\HS_sqc.tsv. Select the command button to run the application. The application automatically displays the Eye Diagram and the Waveform Plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 84 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. Click the Additional Information button to display the additional information. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 85 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...
  • Page 86: Taking A Low Speed Signal Quality Measurement

    If the source is from a file, use the browse button to look for the file. Select the file C:\TekApplications\tdsusb2\tsvfiles\LS_SQC.tsv. Select the command button to run the application. The application displays the Eye Diagram and the Waveform Plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 87 To view the Results Details, select Results> Details in the application menu bar or PASS command button in the Overall Result area to view the details of each measurements. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 88 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 89 Tutorial Figure 49: Report in Tektronix-Specific format for Low Speed Signal Quality Measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 90 Tutorial TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 91: Application Examples

    To use these examples, you must have the TDSUSB2 application installed and enabled on the oscilloscope. Connect the probes to your unit under test (UUT), and perform the configuration tasks.
  • Page 92: Quality Tests

    Follow the steps to select measurements for Full Speed Signal Quality check: From the application menu, select Measurement > Select> Full Speed tab. Select the following signal quality checks: Eye Diagram Test Signal Rate Paired JK Jitter Paired KJ Jitter Consecutive Jitter EOP Width TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 93: Configuring The Measurement

    If you select Single-ended, you must select two channels for D+ and D–. Select to acquire the data. The application automatically displays the eye diagram and waveform plot of the signal acquired from the unit under test. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 94: Viewing Results-Full Speed Signal Quality Tests

    Figure 52: Results details for Full Speed Signal Quality Measurement Click the Eye Diagram option in Results Summary or the Details to view the Eye Diagram. Click the Waveform Plot option to view the annotated waveform plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 95: Generating Reports-Full Speed Signal Quality 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. Figure 53: Report in Plug-Fest format for Full Speed Signal Quality Measurement Select the manual generation mode.
  • Page 96: Droop Test For Ports Of Hub

    Adjacent Trigger section to the Port4 of the unit under test (hub). Port4 is the port under test of the hub. Connect the Load3 to Port3 of the unit under test (hub). Now all the ports of the unit under test are connected (hub). TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 97 Droop testing of bus powered hub and system. Use the Load Switch to select 500 mA test loads for Droop testing of self powered hub and system. Figure 54: Equipment setup for Low Speed Droop test TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 98: Selecting And Configuring Measurements-Droop Tests

    From the application menu, select Results> Details. Click on the Eye Diagram option in Results Summary or Results Details to view the Eye Diagram. Click on the Waveform Plot to view the annotated waveform plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 99: Generating Reports-Droop Tests

    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.
  • Page 100: Full Speed Signal Quality Tests For Upstream Testing

    Select OK after acquiring a waveform. Verify that it is a correct waveform. Note: Use the standard USB cables to connect between the hubs. Keep the Discharge switch in the Inrush Droop section in the ON position. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 101: 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 Paired JK Jitter Paired KJ Jitter Consecutive Jitter EOP Width Cross-Over Voltage Rise Time Fall Time TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 102: Configuring The Measurement

    Option Set to Live/Ref Single-ended Ch1, Ch2 Qualify Channel Select to acquire the data. The application automatically displays the Eye Diagram and the Waveform Plot of the signal acquired from the unit under test. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 103 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...
  • Page 104: Viewing Results-Full Speed Signal Quality Tests For Upstream Testing

    Click the Eye Diagram option in Results Summary or Results Details to view the Eye Diagram. Figure 58: Eye diagram for Full Speed Signal Quality Measurement for upstream testing Click the Waveform Plot to view the annotated waveform plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 105: Generating Reports-Full Speed Signal Quality Tests For Upstream Testing

    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 106 (device). In case a valid Inrush signal is not acquired, use the cursor mode in File> Preferences or set up the oscilloscope to get a valid waveform. Figure 59: Equipment setup for Full Speed Inrush Current test TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 107: Selecting And Configuring Measurements-Inrush Current Test

    Click any of the test result buttons to get the details of that test. From the application menu, select Results> Details. Click the Eye Diagram option in Results Summary or Results Details to view the Eye Diagram. Click the Waveform Plot to view the annotated waveform plot. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 108: Generating Reports-Inrush Current 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 60: Report in CSV format for Inrush Current test Select the manual report generation mode.
  • Page 109: Signal Quality Tests For High Speed Devices

    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. 10. In the Scale field, increase the vertical scale values until the waveform is completely displayed in the screen. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 110: Selecting And Configuring Measurements-Signal Quality Tests For High Speed Devices For Upstream Testing

    Select the tests: Eye Diagram Test Signal Rate EOP Width Rise/Fall Time Monotonic Property Select the Select All toggle button to select all the measurements simultaneously. Click on any measurement button to deselect it. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 111: Configuring The Measurement

    Preferences menu. Viewing Results-Signal Quality Tests for High Speed Devices for Upstream Testing To view the results of the tests, follow these steps: Run the application and from the application menu, select Results> Summary. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 112 From the application menu, select Results> Details. Figure 63: Results details for Signal Quality Measurement for high-speed devices for upstream testing Click the Eye Diagram in Results Summary or the Results Details to view the eye diagram. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 113 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...
  • Page 114: Generating Reports-Signal Quality Tests For High Speed Devices For

    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.
  • Page 115: Packet Parameter Measurement

    If you are not able to acquire the waveform automatically, perform Autosetup in the oscilloscope to display the SOF. If your DUT is EL_21, EL_23, EL_25, select the Single Step Set Feature option from the HS electrical test tool. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 116 The application measures the synchronous bits (32) of the first and second packets. This is EL_21 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 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 117 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: TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 118 Application Examples Figure 69: Acquiring the waveform “Press OK when correct waveform is acquired” Figure 70: Setting the trigger level The application displays the waveform TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 119 Select the measurement and run the application. The application automatically sets the oscilloscope parameters (Horizontal, Vertical, and Trigger). You can see the SOFs on the oscilloscope screen Figure 71: Viewing SOFs TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 120 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 72: Setting the trigger level You can use the application to perform the following measurements: TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 121 The application measures the synchronous bits (32) of the third packet. This is EL_21 The application measures the EOP of the third packet (8bits). This is EL_25. As the signal is differential, the EOP can be a positive or a negative pulse TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 122 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 123 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 124 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...
  • Page 125: 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 Reset Suspend Select Packet Parameter measurement. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 126: Configuring The Measurement

    Viewing Results-Packet Parameter Measurement To view the results of the tests, follow these steps: Run the application and from the application menu, select Results> Summary. Figure 77: Results summary of the Packet Parameter Measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 127: Generating Reports-Packet Parameter Measurement

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

    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.
  • Page 130: Typical Equipment Setup-Resume Measurement

    Select the Resume measurement in the application, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. Figure 82: Equipment setup for Resume Measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 131: Selecting And Configuring Measurement-Resume

    From the application menu, select Measurement> Configure> Configure tab. Configure the following options: Table 21. Configuring measurements Option Set to Signal Direction Upstream, Downstream Source D+ Ch1-Ch4, Ref1-Ref4 D– Ch1-Ch4, Ref1-Ref4 Select to acquire the data. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 132: Viewing Results-Resume Measurement

    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 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...
  • Page 134 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.
  • Page 135: Reset From Suspend Measurement

    Select the Reset from Suspend measurement from the application, configure its options, and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 136 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 Reset From Suspend Select the Reset from Suspend measurement. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 137: Configuring The Measurement

    Run the application and from the application menu, and select Results> Summary. Figure 89: Results summary for Reset from Suspend Measurement Click any of the test result buttons to get the details of that test. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 138: Generating Reports-Reset From Suspend Measurement

    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 139 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...
  • Page 140: Suspend Measurement

    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.
  • Page 141: Typical Equipment Setup-Suspend Measurement

    Select the Suspend measurement, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. Figure 95: Equipment setup for Suspend Measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 142: Selecting And Configuring Measurement-Suspend Measurement

    From the application menu, select Measurement> Configure> Configure tab. Configure the following signal direction options: Table 23. Configuring measurements Option Set to Signal Direction Upstream, Downstream Source D+ Ch1-Ch4, Ref1-Ref4 D– Ch1-Ch4, Ref1-Ref4 Select to acquire the data. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 143: Viewing Results-Suspend Measurement

    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> Details. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 144: Generating Reports-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. Figure 99: Report in CSV format for Suspend Measurement...
  • Page 145 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.
  • Page 146: Reset From High Speed Measurement

    Select the Reset from High Speed from the application, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 147: Selecting And Configuring Measurement-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 Reset High Speed Packet Parameter Chirp Resume Reset From Suspend Select the Reset from High Speed measurement. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 148: Configuring The Measurement

    Run the application and from the application menu, and select Results> Summary. Figure 103: Results summary for Reset from High Speed Measurement Click any of the test result buttons to get the details of that test. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 149 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...
  • Page 150: Generating Reports-Reset From High Speed 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. Figure 106: Report in CSV format for Reset from High Speed Measurement...
  • Page 151 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.
  • Page 152: Chirp Measurement

    (device) and observe the chirp signal on the oscilloscope. Rather than enumerating the device, an alternative method to generate the chirp signal is to disconnect and reconnect the unit under test (device) to the port. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 153 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. This disables the switch bounce to the trigger. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 154: Selecting And Configuring Measurement-Chirp

    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 Reset Suspend Select Chirp measurement. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 155: Configuring The Measurement

    Run the application and from the application menu, and select Results> Summary. The following figures show the result of a Chirp Device measurement: Figure 111: Results summary for Chirp Measurement Click any of the test result buttons to get the details of that test. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 156 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...
  • Page 157: Generating Reports-Chirp

    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 158 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 159 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 160 Application Examples TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 161: R-Gpib Commands

    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.
  • Page 162: Introduction To The R-Gpib Commands

    R-GPIB command to prevent event queue overflow. Commands are case and space sensitive. Your program will not operate correctly if you do not follow the capitalization and spacing precisely. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 163: Launching The Application Using R-Gpib

    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.
  • Page 164: Variable: Value Command

    Note: Commands are case and space sensitive. Your program will not operate correctly if you do not follow the capitalization and spacing precisely. Variable: Value TDSUSB2 Command Arguments and Queries- Application Table 26. Variable: Value TDSUSB2 Command Arguments and Queries- Application Variable Name Valid values...
  • Page 165: Queries- Save/Recall

    Returns the setup save file name string of length 1-8 chars, comprising of A-Z, a-z, 0-9 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...
  • Page 166: Variable: Value Tdsusb2 Command Arguments And Queries- Results

    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"...
  • Page 167 Returns the reset from high speed time resetHSStatus {Pass, Fail} Returns the reset from high speed status resumeTime Returns the resume time for upstream resumeAmp Returns the resume amplitude for downstream resumeStatus {Pass, Fail} Returns the resume status TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 168 For example: Measured mean value for rise time test. It is recommended to give a delay of at least one second between commands. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 169 …..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” “rt” variable:value? “mean” 1.88n TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 170: Sample Program

    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...
  • Page 171 * succeeded. If an NI-488.2 call fails, the GPIB driver sets the * corresponding bit in the global status variable. If the call * failed, this procedure prints an error message, takes * the device offline and exits. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 172 ) 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:activate \"USB2.0 Test Package\""); status = ibwrt(scope, write_buffer, strlen(write_buffer)); if (ibsta & ERR) GPIBCleanup(scope, "Unable to start the application");...
  • Page 173 = 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; Sleep(1000); return 1; int exit_application(int scope) char write_buffer[100]; printf("Exit Application ...\n"); sprintf(write_buffer, "%s", "Variable:value \"application\",\"exit\""); TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 174 GPIBCleanup(scope, "Unable to communicate with Scope"); return 0; Sleep(1000); /* Recall setup */ sprintf(write_buffer, "%s", "Variable:value \"setup\",\"Recall\""); status = ibwrt(scope, write_buffer, strlen(write_buffer)); if (ibsta & ERR) GPIBCleanup(scope, "Unable to communicate with Scope"); return 0; TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 175 /* 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_buffer, "%s", "Variable:value? \"sequencerState\""); ibwrt(scope, write_buffer, strlen(write_buffer)); ibrd(scope, read_buffer, 99); if (ibsta & ERR) TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 176 /* Set report file name */ sprintf(write_buffer, "Variable:value \"reportName\",\"%s\"",reportfilename); printf("%s",write_buffer); status = ibwrt(scope, write_buffer, strlen(write_buffer)); if (ibsta & ERR) GPIBCleanup(scope, "Unable to communicate with Scope"); TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 177 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...
  • Page 178 "%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"); ibonl(Dev, 0); TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 179: Reference

    AltF+N Exit AltF+X Measurements Menu Select AltM+S Configure AltM+C Results Menu Summary AltR+S Details AltR+D Utilities Menu Deskew AltU+K Report Generator AltU+R TSV File Generator AltU+T Help Menu Help Topics AltH+T About TDSUSB2 AltH+A TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 180: Usb2.0 Specifications

    Note 2:Testing at Tier 6 leads to a PASS. Testing at Tier 5 and 4 leads to a Conditional PASS that is a Pass within the waiver limits. Testing at Tier 1 to 3 leads to a FAIL. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 181: Full Speed

    Note 3: The application uses the USB signal rate limits of Low Speed or Full Speed devices that are not capable of High Speed. The same limits for Low Speed or Full Speed that are High Speed capable to decide the result - PASS or FAIL. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 182: High Speed

    User Configure Limits 80% to 120% References* Measurements Max range Min range USB Pass/Fail Hot Plug Attach VBUS Default 5.25V 4.4 V Chapter 7, 7.22 Volts 5.15 Inrush Level 100 mA 80-120 mA Current Draw.pdf TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 183: Droop Test

    The record length is too high for the Click the "Horiz" button or "Horiz/Acq" record length to less than waveform Menu from the oscilloscope UI. Go to XXXXXX data points Horizontal tab and decrease the record length TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 184 Ensure that the selection in the Full and High Speed signals application is the same. For example, if a Low Speed unit is under test, make sure Low Speed is selected in the application TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 185 Try acquiring the correct waveform signal waveform Inrush Measurements E501 Final data point is still above the The signal has not fallen below the Try acquiring the correct waveform inrush threshold Inrush threshold level TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 186 A valid .tsv file is needed as Make sure to press the Enter key while destination file entering the file name in the file selection field to update old file names. Enter the .tsv extension while entering the file name TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 187 As part of the USB2.0 Chirp Press the Run button to acquire the signals description, a minimum of one Chirp-K state is expected after Chirp Response timing. An absence of this may lead to incorrect results TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 188 Rise Time and Fall Time upper level of the configure limits of Rise calculated bit time of the input is more than the calculated bit time Time/Fall Time signal of the input signal TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 189 The acquired signal is not a correct Try acquiring the signals again by pressing From Resume signal. Acquire Reset From Resume signal. Correct Run button the correct signal and proceed Reset From Resume signal is required to perform the measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 190: Settings For The Supported Instruments

    Length Scale Pos. Trigger Type Function Limit Mode Ch1 (D-) 0 DC 5000 25 E-9s 83% Logic >100 ns 800 mV Normal Off Ch2 (D+) 0 DC N/A 800 mV DC N/A 2.7 V Qualify TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 191: Downstream Setups For Low Speed Signals

    Vertical Setup Pos. Scale Offset Horizontal Setup Record Main Trigger Setup Trigger Slope Display Hold Off Coupling Trigger length scale pos. Threshold Trigger type mode Mode Mode 25000 1.00E-05 Edge Rise 20 mA Normal Sin(x)/x 100 E-09 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 192: Droop Setup

    Threshold Trigger type Mode state mode Offset Coupling length scale pos. -3.40 .5V 12500 1.00E-03 95% Pulse Positive 0.30 V Normal Off 9.0E-9 Accept 5.00 Sin(x)/x (D+) (Glitch) Ch2 (D- -3.4 .5 V 0 N/A N/A TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 193: Suspend Setup

    Pos Scale Offset Cpling Reclen Mainscale Trigpos Trig type Slope Threshold Trigmd state mode Ch1 (D+) -3.40 50000 1.00E-03 15% Edge Fall 1.8 V Normal Off 1.00 E- Sin(x)/x Ch2 (D-) -3.40 .5 V TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 194: Packet Parameter

    Horizontal Setup Trigger Setup Trigtype Slope Repeat Hold Display Offset Cpling Reclen Mainscale Threshold Trigmd state mode Trigpos Ch1 (D+) 0.0 0.2V 50000 Width Fall Normal Off 1.00 E- Sin(x)/x Ch2 (D-) 0.0 0.2V TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 195: Parameters

    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.
  • Page 196: Measurement Menus

    Paired KJ Jitter Inrush Current Droop test Full Speed Eye Diagram Eye Diagram Signal Rate EOP Width Rise Time Fall Time Cross-Over Voltage Consecutive Jitter Paired JK Jitter Paired KJ Jitter Inrush Current Droop test TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 197: Configure Menu

    Table 54. Configure Signal Quality parameters Parameters Selections Default setting Tier Tier 1, Tier 2, Tier 3, Tier 4, Tier 5, Tier 6 Tier 6 Direction Upstream, Downstream Upstream Test Point Near End, Far End Far End TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 198: Source

    Resume, High Power Configure, High Power Unconfigure, High Power Resume Source Table 57. Configure Inrush Current Source Measurement parameters Parameters Selections Default setting Live/Ref Ch1, Ch2, Ch3, Ch4Ref1, Ref2, Ref, Ref4 File None C:\TekApplications\tdsusb2\tsvfiles\LS_INRUSH.tsv TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 199: Configure Droop Test Parameters

    Configure Suspend, Reset from High Speed, Resume, Reset from Suspend Table 61. Configure Reset, Resume, Suspend parameters Parameters Selections Default setting Signal Direction Upstream, Downstream Upstream Source D+ Ch1, Ch2, Ch3, Ch4 Ref1, Ref2, Ref3, Ref4 D-Ch2, Ch3, Ch4 Ref1, Ref2, Ref3, Ref4 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 200: Configure Packet Parameter

    Ref1, Ref2, Ref3, Ref4 Device EL_28, EL_29, EL_31 EL_28, EL_29, EL_31 Source D+-Ch1, Ch2, Ch3, Ch4 Ref1, Ref2, Ref3, Ref4 D–-Ch2, Ch3, Ch4 Ref1, Ref2, Ref3, Ref4 Results Menus There are no parameters for the Results Menus. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 201: Utilities Menus

    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 Report Directory None C:\TekApplications\tdsusb2\report TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 202: Tsv File Generator Menu Parameters

    TSV Source File C:\TekApplications\tdsusb2\tsvfilegenerator\TsvFile001.tsv Help Menu Help Topics - Displays the help file for the TDSUSB2 application. About TDSUSB2 - Displays a dialog box with information about the current TDSUSB2 application. Control Menu Control Menu Parameters Table 67. Control parameters...
  • Page 203: Measurement Algorithms

    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 204 Cross-Over coordinates x and y that is given by the intersection of p1, p2, q1, and q2. t1 and t2 are the time values for the data points p1 and p2. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 205: Cross-Over Voltage For High-Speed Signals

    Cross-Over Voltage. Note 2: For High Speed devices, the signal is differential, Cross-Over voltage is zero and cross-Over time is the interpolation of two data points at zero crossings. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 206: Signal Rate

    Where: SumWeights is the total number of bits in the packet. SumPeriod is the sum of all time periods between the Cross-Overs. C1 and C2 are the Cross-Over points. Bit time is the difference of the time values of C2 and C1. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 207: Eop Width Calculation

    EOP Width is calculated as shown below. Where: EOP1 and EOP2 are the data points on a USB2.0 signal crossing the Mean Cross-Over level. The Cross-Over level is the mean value of all Cross-Overs in the USB2.0 packet. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 208: Consecutive And Paired Jitter

    Consecutive jitter is calculated for all Cross-Overs of the USB2.0 signal. Paired JK Jitter is defined as the jitter time for paired (JK next to KJ) differential data transition. Paired KJ Jitter is defined as the jitter time for paired (KJ next to TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 209: Eye Diagram

    By default, the application displays the waiver mask if the result is either CONDITIONAL PASS or FAIL. If you select the option "Always show the waiver mask in the eye diagram" in File> Preferences menu, the waiver mask is displayed irrespective of the result. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 210: Inrush Current

    The supply voltage is one of the inputs to Inrush measurement. Droop Test Droop voltage is the difference between the V value when the droop load is off and the lowest voltage of the V value when the droop load is powered on. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 211: Receiver Sensitivity Test

    To get the Chirp signal, hot-plug the unit under test (device) and measure the signaling with single-ended probes on both lines. The application analyzes data for the following: Reset duration Chirp-K amplitude Chirp-K duration TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 212: Host Chirp Test

    Monotonicity is calculated for Rising and Falling slopes as follows. For Rising slope, f(x) is a differential signal if, signal is monotonic for all values of x till the last data point. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 213: Rise Time

    The application calculates this measurement using the following equation: Where: TFall is the fall time, TLo- is the VRefLo crossing on the falling edge THi- is the VRefHi crossing on the falling edge TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 214: Packet Parameter

    Oscilloscope setup details The application sets the oscilloscope automatically to the following values: Horizontal Scale: 400 ns Record Length: 50 K Vertical Scale: 200 mV Trigger Type Pulse Width Trigger Hold Off: 5 s TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 215: Resume

    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. The application analyzes data for the Suspend Time. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 216: Reset From Suspend

    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. The application analyzes data for the Reset From Suspend Time. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 217: Reset From High Speed

    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. The application analyzes data for Reset From High Speed Time. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 218: Equipment Setup For Tests

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 219: Low Speed Signal Quality For Hub Downstream

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 220: Full Speed Signal Quality Hub Downstream Setup

    (hub) using the USB cable. 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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 221 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. Figure 122: Equipment setup for Full Speed Signal Quality HUB Downstream TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 222: Full Speed Downstream Host Equipment Setup

    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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 223: Full Speed Upstream Signal Quality Setup

    Inrush Droop section of the test fixture to another port of Hub 5. 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. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 224 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. Figure 124: Equipment setup for Full Speed Upstream testing TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 225: High Speed Device Signal Quality Setup

    Set the S6 switch to the test position to isolate the unit under test while maintaining the bus power. Select OK after acquiring a waveform. Verify that it is a correct waveform. Figure 125: Equipment setup for High Speed Device testing TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 226: Chirp Test Equipment Setup

    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. This disables the switch bounce to the trigger. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 227 Measurement Algorithms Figure 126: Equipment setup for Chirp Test TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 228: Receiver Sensitivity Setup

    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...
  • Page 229: Procedural Steps

    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 230 Measurement Algorithms TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 231 ON position and hot- plug the unit under test (device). If a valid Inrush signal is not acquired, use the cursor mode in File> Preferences or setup the oscilloscope to get a valid waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 232: Resume Test Equipment Setup

    Connect the single-ended probes of the oscilloscope to the D+ and D– pins. Select the Resume measurement in the application, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 233: Reset From Suspend Test Equipment Setup

    Select the Reset from Suspend measurement from the application, configure its options, and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 234: Suspend Test Equipment Setup

    Connect the single-ended probes of the oscilloscope to the D+ and D– pins. Select the Suspend measurement, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 235: Reset From High Speed Test Equipment Setup

    Select the Reset from High Speed from the application, configure its options and select the Run button to run the application. Select OK after acquiring a waveform. Verify that it is a correct waveform. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 236: Packet Parameter Test Equipment Setup

    Connect the A receptacle (marked DUT) from the Device SQ test port to the B receptacle device. Apply the power to the test fixture. Apply the power to the DUT. Attach the differential probe near the device connector on the test fixture. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 237: Set Up The Oscilloscope For High Speed Host

    HS electrical test tool. 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 134: Setting the trigger level TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 238 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). This is EL_23 as shown in the following figure: Figure 135: Measuring EL_23 TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 239 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 Press OK when correct waveform is acquired. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 240 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 application automatically sets the oscilloscope parameters (Horizontal, Vertical, and Trigger). You can see the SOFs on the oscilloscope screen. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 241 Measurement Algorithms Figure 138: Viewing SOF TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 242 HS electrical test tool. 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 139: Setting the trigger level TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 243 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 140: Measuring EL_23 High Speed Device:EL_22 (InterPacketI&II) TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 244 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 245 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 246 Measurement Algorithms Figure 143:Equipment setup for Packet Parameter Measurement TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 247: Glossary

    USB operation at 480 Mb/s. Host The host computer system where the USB Host Controller is installed. This includes the host hardware platform (CPU, bus, etc.) and the operating system in use. Host Controller The host’s USB interface. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 248 It is defined as the direction of data flow away from the host. A downstream port is the port on a hub farthest from the host that generates downstream data traffic from the hub. Downstream ports receive upstream data traffic. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 249 The direction of data flow is towards the host. An upstream port is the port on a device electrically closest to the host that generates upstream data traffic from the hub. Upstream ports receive downstream data traffic. It is the supply voltage which a function or hub requires to work. TDSUSB2 Universal Serial Bus Measurement Package...
  • Page 250 Glossary TDSUSB2 Universal Serial Bus Measurement Package...

Table of Contents