Teledyne QPHY-USB User Manual

QPHY-USB
USB Serial Data
Operator’s Manual
Relating to the Following Release Versions:
Software Option Rev. 5.7
USB Script Rev. 1.5
Style Sheet Rev. 1.2
LeCroy Corporation
700 Chestnut Ridge Road Chestnut Ridge, NY, 10977-6499 Tel: (845) 578-6020, Fax: (845) 578 5985
Internet: www.lecroy.com © 2008
Document Number: 915303 Rev F
by
LeCroy Corporation
. All rights reserved.
2
QPHY-USB Operator’s Manual Rev F
TABLE OF CONTENTS
QPHY-USB Software Option
INTRODUCTION ........................................................................................................................ 6
Device tests ................................................................................................................................................................ 6
Host tests ................................................................................................................................................................... 6
Hub tests .................................................................................................................................................................... 7
Equipment list ............................................................................................................................................................. 8
LeCroy equipment............................................................................................................................................... 8
Additional equipment .......................................................................................................................................... 8
No cost equipment .............................................................................................................................................. 8
USB Test Fixture ........................................................................................................................................................ 9
QualiPHY Compliance Test Platform ....................................................................................................................... 12
INSTALLATION ....................................................................................................................... 14
Oscilloscope Option Key Installation ........................................................................................................................ 14
Typical (Recommended) Configuration .................................................................................................................... 14
Remote (Network) Configuration ............................................................................................................................. 14
Oscilloscope Selection ............................................................................................................................................. 14
Accessing the QPHY-USB Software using QualiPHY ............................................................................................. 15
Customizing QualiPHY ............................................................................................................................................. 17
QPHY-USB Operation .............................................................................................................................................. 19
USB-IF Test Scripts .................................................................................................................................................. 20
Test Bed Computer .................................................................................................................................................. 20
MATLAB ................................................................................................................................................................... 21
USB Test Wizard ...................................................................................................................................................... 21
HIGH-SPEED SIGNAL QUALITY ............................................................................................ 25
Host and Hub Downstream High-Speed Signal Quality ........................................................................................... 25
Device and Hub Upstream High-Speed Signal Quality ............................................................................................ 26
HIGH-SPEED PACKET PARAMETERS ................................................................................. 28
HOST HIGH-SPEED CHIRP TIMING ...................................................................................... 29
Host High-Speed Chirp Timing ................................................................................................................................. 29
Device and Hub High-Speed Chirp Timing .............................................................................................................. 31
HIGH-SPEED SUSPEND RESUME RESET TIMING .............................................................. 33
Host High-Speed Suspend Resume Reset Timing .................................................................................................. 33
Device or Hub High-Speed Suspend Resume Reset Timing ................................................................................... 34
HOST AND HUB DISCONNECT ............................................................................................. 35
HUB HIGH-SPEED UPSTREAM REPEATER ......................................................................... 37
HUB HIGH-SPEED DOWNSTREAM REPEATER .................................................................. 40
RECEIVER SENSITIVITY ........................................................................................................ 42
FULL AND LOW-SPEED TESTS ............................................................................................ 46
Equipment requirements .......................................................................................................................................... 46
Standard USB products .................................................................................................................................... 46
Hub and Host Drop Test ........................................................................................................................................... 48
Self-powered Hubs or Hosts ............................................................................................................................. 48
Bus-powered Hubs ........................................................................................................................................... 49
Test Criteria ...................................................................................................................................................... 49
Droop Test ................................................................................................................................................................ 50
Test Steps ......................................................................................................................................................... 51
Test Criteria ...................................................................................................................................................... 51
Test Results ...................................................................................................................................................... 52
Reporting Results ............................................................................................................................................. 52
Host Low-Speed Downstream Signal Quality .......................................................................................................... 53
QPHY-USB Operator’s Manual Rev F
3
Host Full-Speed Downstream Signal Quality ........................................................................................................... 55
Inrush current ........................................................................................................................................................... 57
Hub Down Stream Low-Speed Signal Quality.......................................................................................................... 58
Hub Full-Speed Downstream Signal Quality ............................................................................................................ 59
Device and Hub Full-Speed Upstream Signal Quality Test ...................................................................................... 61
Device and Hub Full- or Low-Speed Upstream Signal Quality Test ......................................................................... 62
TF-USB-B TEST AND CALIBRATION PROCEDURES ......................................................... 63
Cable Deskewing ..................................................................................................................................................... 63
APPENDIX A ........................................................................................................................... 65
Receiver Sensitivity Test Waveform Setup .............................................................................................................. 65
MIN_ADD1 ........................................................................................................................................................ 65
IN_ADD1 ........................................................................................................................................................... 65
TABLE OF FIGURES
Figure 1. USB 2.0 Test Fixture (Part Number TF-USB-B) ..................................................................................... 9
Figure 2. TF-USB-B package ................................................................................................................................. 10
Figure 3. TF-USB-B Showing Power Supply Selection Jumper ........................................................................ 11
Figure 4. Probe Connection Pins Showing Grounds ......................................................................................... 11
Figure 5. Report menu in QualiPHY General Setup ............................................................................................ 12
Figure 6. The Test Report includes a summary table with links to the detailed test results .......................... 13
Figure 7. QualiPHY main menu and compliance test Standard selection menu ............................................. 15
Figure 8. QualiPHY configuration selection menu ............................................................................................. 16
Figure 9. QualiPHY test item selection menu ...................................................................................................... 17
Figure 10. Variable Setup and Limits Manager windows ................................................................................... 18
Figure 11. Start button ........................................................................................................................................... 19
Figure 12. Example of pop-up message box ....................................................................................................... 19
Figure 13. Example of pop-up connection diagram and dialog box ................................................................. 19
Figure 14. USB-IF HS Electrical Test Tool main menu ....................................................................................... 20
Figure 15. Device test High-Speed Upstream Near End Signal Quality ........................................................... 21
Figure 16. USB camera connected to the Signal Quality section ..................................................................... 22
Figure 17. Step 2 of 4: Probe Hookup .................................................................................................................. 22
Figure 18. Two SMA Cables Connected to the Test Fixture ............................................................................... 23
Figure 19. D600ST-SP Connected to the Test Fixture ........................................................................................ 23
Figure 20. Single-ended Probe Connection Example ........................................................................................ 24
Figure 21. Step 3 of 4: EL_2-EL_7 Signal Quality ............................................................................................... 24
Figure 22. HS Electrical Test Tool Setup for Device High-Speed Signal Quality ............................................. 25
Figure 23. Signal Quality Host Section ................................................................................................................ 25
Figure 24. Host High-Speed Downstream Signal Quality Analysis .................................................................. 26
Figure 25. Device High-Speed Upstream Signal Quality .................................................................................... 27
Figure 26. Host High-Speed packet parameters trace ........................................................................................ 28
Figure 27. Chirp Response Time .......................................................................................................................... 29
Figure 28. Chirp J and Chirp K Duration ............................................................................................................. 30
Figure 29. Chirp to Start of Frame Time ............................................................................................................... 31
Figure 30. Chirp K Latency .................................................................................................................................... 32
Figure 31. Time from Last Start of Frame to Host Suspend .............................................................................. 33
Figure 32. Time from Last Start of Frame to Device Suspend ........................................................................... 34
Figure 33. Host Disconnect Section of Test Fixture ........................................................................................... 35
Figure 34. Initial voltage before disconnect ........................................................................................................ 35
Figure 35. Voltage after disconnect ...................................................................................................................... 36
Figure 36. Hub and Device Fixture Connections for Upstream Repeater Test ................................................ 37
Figure 37. Initial signal acquisition for hub upstream repeater test ................................................................. 37
Figure 38. Hub upstream repeater sync field truncation and corruption ......................................................... 38
4
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
Figure 39. Hub upstream repeater end of packet dribble .................................................................................. 38
Figure 40. Hub upstream repeater delay ............................................................................................................. 39
Figure 41. Hub and Device Fixture Connections for Downstream Repeater Test ........................................... 40
Figure 42. Hub downstream repeater delay ........................................................................................................ 40
Figure 43. Hub downstream repeater sync field truncation and corruption .................................................... 41
Figure 44. Hub downstream repeater end of packet dribble ............................................................................. 41
Figure 45. Receiver Sensitivity Test Setup .......................................................................................................... 42
Figure 46. Use Device Command drop down list of HS Electrical Test Tool ................................................... 43
Figure 47. Response to IN tokens with 12-bit sync - all packets NAK’d .......................................................... 43
Figure 48. Intermittent Response to IN tokens at low amplitude ...................................................................... 44
Figure 49. Receiver squelch level – no response to IN tokens ......................................................................... 45
Figure 50. FS/LS Signal Quality Test Fixture Sections....................................................................................... 47
Figure 51. Bus-Powered Hub Drop test equipment setup ................................................................................. 48
Figure 52. Hub Droop Test Equipment Setup ...................................................................................................... 50
Figure 53. Device and oscilloscope connections for droop test ...................................................................... 50
Figure 54. Droop voltage waveform ..................................................................................................................... 51
Figure 55. Host Low-Speed Downstream Signal Quality Test Equipment Setup ............................................ 53
Figure 56. Cursor Positioning for Host Low-Speed Signal Quality Test .......................................................... 54
Figure 57. Host Full-Speed Downstream Signal Quality Test Equipment Setup ............................................. 55
Figure 58. Cursor Positioning for Host Full-Speed Downstream Signal Quality ............................................ 56
Figure 59. Inrush Current Pulse ........................................................................................................................... 57
Figure 60. Hub Low-Speed Downstream Signal Quality Setup ......................................................................... 58
Figure 61. Hub Full-Speed Downstream Signal Quality Setup .......................................................................... 59
Figure 62. Cursor Placement For Hub FS Downstream Signal Quality Test .................................................... 60
Figure 63. Device Full-Speed Upstream Signal Quality Test Equipment Setup .............................................. 61
Figure 64. Isolation of Upstream Data Packet ..................................................................................................... 62
Figure 65. The Skew parameter right side dialog, Skew clock 2 tab, showing default setup ........................ 64
QPHY-USB Operator’s Manual Rev F
5
INTRODUCTION
QPHY-USB is an automated test package that performs all the required tests from the USB-IF for physical layer compliance of USB2.0 hosts, hubs, and devices. The package contains software that runs within the LeCroy WavePro 7000A series, WaveMaster, SDA, WaveRunner 6000A or WaveRunner Xi series of X-Stream digitizing oscilloscopes, and an optional pair of test fixtures for coupling into the electrical USB signals.
The QPHY-USB option gives the user the ability to both automate compliance testing and debug devices, hosts and hubs. Users may be specifically interested in the following capabilities:
Users interested in compliance testing should begin by using QualiPHY.
Users interested in debugging circuits, should begin by using the oscilloscope’s embedded test tools.
Users that begin by using QualiPHY may detect failures on their device, and then have the option of
switching to the oscilloscope’s embedded test tools.
This manual covers the use of both QualiPHY (compliance testing) and the oscilloscope’s embedded test tools (debugging).
The software and fixture combine to perform the following measurements for USB2.0 hosts, hubs, and devices.
Device tests
HS Upstream Signal Quality
o Far-end for tethered hubs o Near-end for un-tethered hubs
HS Packet Parameters
HS Chirp Timing
HS Suspend / Resume / Reset
HS Upstream J and K Voltages
HS Upstream Receiver Sensitivity
FS Upstream Signal Quality
LS Upstream Signal Quality
Inrush current
Back-Voltage
Host tests
HS Downstream Signal Quality
HS Downstream Packet Parameters
HS Downstream Chirp Timing
HS Downstream Suspend / Resume / Reset
HS Downstream Disconnect
HS Downstream J and K Voltages
FS Downstream Signal Quality
LS Downstream Signal Quality
Drop
Droop
6
QPHY-USB Operator’s Manual Rev F
Hub tests
HS Signal Quality (Upstream/Downstream)
HS Upstream Packet Parameters
HS Upstream Chirp Timing
HS Upstream Suspend / Resume / Reset
HS Disconnect
HS J and K Voltages (Upstream/Downstream)
HS Upstream Repeater
HS Downstream Repeater
HS Upstream Receiver Sensitivity
FS Signal Quality (Upstream/Downstream)
LS Signal Quality (Upstream/Downstream)
Inrush current
Drop
Droop
Back-Voltage
QPHY-USB Software Option
In the previous tests, the J and K Voltages tests are performed with the use of a digital voltmeter. This test is performed for Hosts, Devices, and Hubs.
QPHY-USB Operator’s Manual Rev F
7
Equipment list
USB testing requires a number of probes and additional USB devices. The High-Speed receiver sensitivity test requires a digital pattern generator. The following equipment is required for High-Speed, Full-Speed, and Low-Speed USB testing:
High-Speed / Full-Speed / Low-Speed Tests Full-Speed / Low-Speed Tests
SDA (Serial Data Analyzer) Series
DDA (Disk Drive Analyzer) Series
WaveMaster Series (3 GHz bandwidth or higher)
WavePro 7300A, 7200A
WaveRunner 6200A, 204Xi, including "MXi" models
WavePro 7xxZi (2 GHz bandwidth or higher)
LeCroy equipment
USB test fixture (LeCroy TF-USB-B)
2 GHz or higher bandwidth active differential probe (LeCroy WL300/D350ST-SP) [for HS tests]
o LeCroy WL600/D600ST-SP recommended (but not mandatory) for WM-class oscilloscopes
o A second differential probe is required for Hub testing
2 GHz (or higher) active probe (LeCroy HFP2500, 2 ea.) [for HS/FS/LS tests]
1.5 GHz (or lower) active probe (HFP1500) or passive probe (PP006A or equivalent) [for FS/LS tests]
o PP00x passive probe will require AP-1M adapter for WM-class oscilloscopes
30A or lower Current probe (LeCroy CP030) [for B.4 Inrush test only]
o Adapter (AP-1M) required for WM-class oscilloscopes
Additional equipment
WavePro 7100A, 7000A
WaveRunner 104Xi, 64Xi, 44Xi, including "MXi" models
WaveRunner 6100A, 6050A
WavePro 715Zi
Certified High-Speed USB self-powered hub (4 ea.) [for FS/LS tests]
Certified Full-Speed USB self-powered hub [for FS/LS tests]
5 meter USB cables type-A to type-B male (6 ea.) [for FS/LS tests]
1 meter USB cables type-A to type-B male (up to 12, depending on hub under test) [for HS/FS/LS tests]
Certified Low-Speed trigger device (e.g. USB mouse) [for LS tests]
Certified Full-Speed (or High-Speed) trigger device (e.g. USB memory stick or web camera) [for FS tests]
Certified High-Speed trigger device (can be used as the FS Certified device) [for HS tests]
Digital Voltmeter 3 ½ digits (Keithley 2000 multimeter or equivalent) [for HS/FS/LS tests]
Data Pattern Generator (e.g 2 x Tabor WW1281A with synchronization cable) [for HS tests]
USB host system [for HS/FS/LS tests]
No cost equipment
MATLAB runtime component (http://www.lecroy.com/goto/matlabmcrinstaller77/)
USB High-Speed Electrical Test Tool software (www.usb.org/developers/tools/USBHSET.exe)
8
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
USB Test Fixture
The USB test fixture (TF-USB-B) is required to perform compliance tests. The fixture consists of several sections designed to allow connection to the electrical signal under test. Each section is marked on the fixture, and the ports on each section are also labeled. The section and port(s) to use for a given test are called out in the procedure on the instrument display and in this manual.
Figure 1. USB 2.0 Test Fixture (Part Number TF-USB-B)
The TF-USB-B package is delivered in a black plastic case with a foam insert.
TF-USB-B Standard supplied items
1 x safety sheet (# 915235-00)
1 x TF active section (# 915189-00)
1 x TF loads section (# 915190-00)
1 x USB cable (to power the Test Fixture)
2 x 50 terminator
2 x SMA cables
2 x BNC-to-SMA adapter
1 x MultiWrench
5 x 6" USB cable A-male to B-male
1 x USB adapter A-female to B female
1 x USB adapter A-male to mini-B male
Note: SMA and USB connectors are not rated for repetitive make/break connections. Use of this fixture for high volume manufacturing should utilize an appropriately rated intermediate contact fixture.
QPHY-USB Operator’s Manual Rev F
9
Figure 2. TF-USB-B package
10
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
The fixture requires a 5 V power supply for operation. The fixture can be supplied from either a DC adapter or USB port and is selectable from a jumper on the fixture. When the jumper is placed over pins 2 and 3, the power is supplied from the USB port (default setting); when placed over pins 1 and 2, the power is supplied from the DC adapter. The following figure shows the jumper set so the board receives power from the USB port.
Figure 3. TF-USB-B Showing Power Supply Selection Jumper
The USB test fixture has square pins that provide connection points for differential and single-ended probes. The pins are connected to the “+” and “-“ signal lines and a pair of ground pins are also provided.
Note: Use probes as indicated. All unnecessary probes for a given test must be removed.
Ground Pins
Figure 4. Probe Connection Pins Showing Grounds
QPHY-USB Operator’s Manual Rev F
11
QualiPHY Compliance Test Platform
QualiPHY is LeCroy’s unique compliance test framework which leads the user through the compliance tests. QualiPHY displays connection diagrams to ensure tests run properly, automates the oscilloscope setup, and generates full compliance reports.
QPHY-USB (DSO option) can be used without QualiPHY if each compliance test is executed manually. However, QualiPHY makes QPHY-USB easy and fast. QualiPHY is designed to use the TF-USB-B test fixture.
The LeCroy QPHY-USB package displays all parameters for each measurement on the instrument screen along with pass/fail indicators and appropriate waveforms. Print the screen by using the oscilloscope hardcopy feature.
The QualiPHY software application automates the test and report generation.
Figure 5. Report menu in QualiPHY General Setup
12
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
See the QualiPHY Operator’ s Manual for more information on how to use the QualiPHY framework.
Figure 6. The Test Report includes a summary table with links to the detailed test results
QPHY-USB Operator’s Manual Rev F
13
INSTALLATION
Oscilloscope Option Key Installation
An option key must be purchased to enable the QPHY-USB option. Call LeCroy Customer Support to place an order and receive the code.
Enter the key and enable the purchased option as follows:
1. From the oscilloscope menu select Utilities Utilities Setup...
2. Select the Options tab and click the Add Key button.
3. Enter the Key Code using the on-screen keyboard.
4. Restart the oscilloscope to activate the option after installation.
Typical (Recommended) Configuration
QualiPHY software can be executed from the oscilloscope or a host computer. The first step is to install QualiPHY. Please refer to the QualiPHY Operator’s Manual for installation instructions.
LeCroy recommends running QualiPHY on an oscilloscope equipped with Dual Monitor Display capability (Option DMD-1 for oscilloscopes where this is not standard). This allows the waveform and measurements to be shown on the oscilloscope LCD display while the QualiPHY application and test results are displayed on a second monitor.
By default, the oscilloscope appears as a local host when QualiPHY is executed in the oscilloscope. Follow the steps under Oscilloscope Selection (as follows) and check that the IP address is 127.0.0.1.
Remote (Network) Configuration
It is also possible to install and run QualiPHY on a host computer, controlling the oscilloscope with a Network/LAN Connection.
The oscilloscope must already be configured, and an IP address (fixed or network-assigned) must already be established.
Oscilloscope Selection
Set up the oscilloscope using QualiPHY over a LAN (Local Area Network) by doing the following:
1. Make sure the host computer is connected to the same LAN as the oscilloscope. If unsure, contact
your system administrator.
2. From the oscilloscope menu, select Utilities Utilities Setup…
3. Select the Remote tab.
4. Verify the oscilloscope has an IP address and the control is set to TCP/IP.
5. Run QualiPHY in the host computer and click the General Setup button.
6. Select the Connection tab.
7. Enter the IP address from step 4 (previous).
8. Click the Close button.
QualiPHY is now ready to control the oscilloscope.
14
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
QualiPHY tests the oscilloscope connection after clicking the Start button. The system prompts you if there is a connection problem. QualiPHY’s Scope Selector function can also be used to verify the connection. Please refer to the QualiPHY Operator’s Manual for explanations on how to use Scope Selector and other QualiPHY functions.
Accessing the QPHY-USB Software using QualiPHY
This topic provides a basic overview of QualiPHY’s capabilities. Please refer to the QualiPHY Operator’s Manual for detailed information.
Access the QPHY-USB software using the following steps:
1. Wait for the oscilloscope to start and have its main application running.
2. Launch QualiPHY from the Analysis menu if installed on the oscilloscope or from the desktop icon if installed on a host computer.
3. From the QualiPHY main window (as follows), select Standard, then USB from the pop-up menu (if not already selected). If you check the Pause on Failure box (circled) QualiPHY prompts to retry the measure whenever a test fails.
Figure 7. QualiPHY main menu and compliance test Standard selection menu
QPHY-USB Operator’s Manual Rev F
15
4. Click the Configuration button in the QualiPHY main menu:
5. Select a configuration from the pop-up menu:
Figure 8. QualiPHY configuration selection menu
6. Click Start.
7. Follow the pop-up window prompts.
16
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
Customizing QualiPHY
The predefined configurations in the Configuration screen cannot be modified. However, you can create your own test configurations by copying one of the standard test configurations and making modifications. A description of the test is also shown in the description field when selected.
Figure 9. QualiPHY test item selection menu
QPHY-USB Operator’s Manual Rev F
17
Once a custom configuration is defined, script variables and the test limits can be changed by using the Variable Setup and Limits Manager from the Edit/View Configuration window.
Figure 10. Variable Setup and Limits Manager windows
18
QPHY-USB Operator’s Manual Rev F
QPHY-USB Software Option
QPHY-USB Operation
After pressing Start in the QualiPHY menu, the software instructs how to set up the test using pop-up connection diagrams and dialog boxes. QualiPHY also instructs how to properly configure the USB-IF HS Electrical Test Toolkit to change test signal modes (when necessary).
Figure 11. Start button
Figure 12. Example of pop-up message box
Figure 13. Example of pop-up connection diagram and dialog box
QPHY-USB Operator’s Manual Rev F
19
USB-IF Test Scripts
The test package uses USB-IF written test scripts specifically made to analyze test data acquired by the oscilloscope. These scripts are also released by the USB-IF as a stand-alone program called the USB Electrical Analysis Tool (USBET).
Test Bed Computer
A host computer with a USB2.0 controller card is required to place the device under test (DUT) into the necessary test modes. This computer must be running Windows 2000 Professional or Windows XP, and have the USB-IF High-Speed Electrical Test Toolkit (USBHSET) installed. The instructions in the LeCroy test package prompt to execute specific functions within the USB High-Speed Electrical Test Toolkit on the host computer for various tests. Best practice is to use an external host computer, separate from the oscilloscope, as the test bed computer.
Both the USBET and the USBHSET can be downloaded from the USB-IF Web site at the following address:
UU
http://www.usb.org/developers/tools/UU
The test package has been validated with version 1.1.0.4 of the USBHSET.
Open the HS Electrical Test Tool as follows: Windows Start Menu Programs USB-IF Test Suite  USB HS Electrical Toolkit  HSElectricalTestTool.
The main menu is then shown as follows.
Figure 14. USB-IF HS Electrical Test Tool main menu
Note: All USB devices are disabled when the HS Electrical Test Toolkit is started. Functionality is restored upon exiting the Test Tool menu.
This means that during this process, a USB mouse and/or keyboard are disabled.
If a USB 2.0 host is found, it appears on the list box control. If no host is found either there is no USB 2.0 host or the driver is not functioning correctly.
Note: If the USB-IF supplied HS Electrical Test Tool stops working and does not exit normally, open the Device Manager and remove all the USB hosts, devices, and hubs, and then reboot the computer.
20
QPHY-USB Operator’s Manual Rev F
Loading...
+ 46 hidden pages