QPHY-SAS3 Operator’s Manual Revision A – May, 2014

QPHY-SAS3
Operator’s Manual
Revision A – May, 2014
Relating to the Following Release
Versions:
•
Software Version Rev. 7.4
•
SAS3 Script Rev. 7.4
•
Style Sheet Rev. 1.2
700 Chestnut Ridge Road
Chestnut Ridge, NY, 10977-6499
Tel: (845) 425-2000, Fax: (845) 578 5985
teledynelecroy.com
© 2014 by Teledyne LeCroy. All rights reserved.
Teledyne LeCroy and other product or brand names are trademarks or requested trademarks of their
respective holders. Information in this publication supersedes all earlier versions. Specifications are
subject to change without notice.
922545 Rev A
May 2014
QPHY-SAS3 Software Option
TABLE OF CONTENTS
INTRODUCTION TO QUALIPHY SAS3 .................................................................................... 5
Required Equipment .................................................................................................................................................. 5
USING QUALIPHY SAS3 .......................................................................................................... 6
QUALIPHY COMPLIANCE TEST PLATFORM ......................................................................... 7
Oscilloscope Option Key Installation .......................................................................................................................... 9
Typical (Recommended) Configuration...................................................................................................................... 9
Remote (Network) Configuration ............................................................................................................................... 9
Oscilloscope Selection ............................................................................................................................................... 9
Accessing the QPHY-SAS3 Software using QualiPHY ............................................................................................ 10
Customizing QualiPHY............................................................................................................................................. 12
Creating Custom Configurations .............................................................................................................................. 13
QPHY-SAS3 Operation ............................................................................................................................................ 15
QPHY-SAS3 TEST CONFIGURATIONS ................................................................................. 16
QPHY-SAS3 VARIABLES ....................................................................................................... 17
QPHY-SAS3 TEST DESCRIPTIONS....................................................................................... 19
Tx Group 1 Out of Band Tests 5.1.x (OOB) ............................................................................................................. 19
Tx Group 2 Spread Spectrum Clocking Tests .......................................................................................................... 21
Tx Group 3 (Link Stability, Common Mode, … WDP) .............................................................................................. 23
Tx 5.3.1 Phy Link Rate Stability (HFTP) ........................................................................................................... 23
Tx 5.3.2 Common Mode RMS Voltage (CJTPAT) ............................................................................................ 24
Tx 5.3.3 Common Mode Spectrum (CJTPAT) .................................................................................................. 25
Tx 5.3.4 and 5.3.5 Vpp, VMA, EQ (D30.3) ....................................................................................................... 26
Tx 5.3.6 Rise and Fall Times (HFTP) ............................................................................................................... 28
Tx 5.3.7 and 5.3.8 RJ, TJ (MFTP, MFTP-SSC-DOWN, MFTP-SSC-CENTER) .............................................. 29
Tx 5.3.9 Waveform Distortion Penalty (Not applicable for 12Gbps) ................................................................. 31
Tx Group 4 Tx Emphasis ......................................................................................................................................... 33
Tx Emphasis Off (IDLE_REF0) ......................................................................................................................... 35
Tx Emphasis Ref1 (IDLE_REF1) ...................................................................................................................... 36
Tx Emphasis Ref2 (IDLE_REF2) ...................................................................................................................... 38
HOW TO RUN THE SASWDP SCRIPT ................................................................................... 41
HOW TO RUN THE SAS3_EYEOPENING SCRIPT................................................................ 43
Running the SAS3_EYEOPENING script on the oscilloscope ......................................................................... 43
Running the SAS3_EYEOPENING script using an External PC ...................................................................... 43
APPENDIX A: CABLE DESKEWING ...................................................................................... 44
Using Fast Edge ....................................................................................................................................................... 45
Using MFTP from DUT ............................................................................................................................................. 48
APPENDIX B: FILE NAME CONVENTIONS FOR SAVED WAVEFORM DATA .................... 50
922545 Rev A
3
TABLE OF FIGURES
Figure 1 - Report menu in QualiPHY General Setup................................................................................ 7
Figure 2 - The Test Report includes a summary table with links to the detailed test results ............. 8
Figure 3 - QualiPHY main menu and compliance test Standard selection menu ............................... 10
Figure 4 - QualiPHY configuration selection menu ............................................................................... 11
Figure 5 - QualiPHY test item selection menu ....................................................................................... 12
Figure 6 - Variable Setup and Limits Manager windows ....................................................................... 14
Figure 7 - Start button ............................................................................................................................... 15
Figure 8 - Example of pop-up connection diagram and dialog box .................................................... 15
Figure 9 - Oscilloscope Configuration after Out of Band Tests ........................................................... 19
Figure 10 - OOB Test Results ................................................................................................................... 20
Figure 11 - Oscilloscope Configuration after SSC Tests ....................................................................... 21
Figure 12 - SSC Test Results ................................................................................................................... 22
Figure 13 - Oscilloscope Configuration after Phy Link Rate Stability Test ......................................... 23
Figure 14 - Phy Link Rate Stability Test Results .................................................................................... 24
Figure 15 - Oscilloscope Configuration after the Common Mode RMS Voltage Test ........................ 24
Figure 16 - Common Mode RMS Voltage Results .................................................................................. 25
Figure 17 - Oscilloscope Configuration after the Common Mode Spectrum Test.............................. 25
Figure 18 - Common Mode RMS Voltage Results .................................................................................. 26
Figure 19 - Oscilloscope Configuration after the Vpp, VMA, and EQ tests......................................... 27
Figure 20 - Vpp, VMA and EQ Results ..................................................................................................... 27
Figure 21 - Oscilloscope Configuration after the Rise and Fall Times Test ........................................ 28
Figure 22 - Rise and Fall Times Results ................................................................................................. 29
Figure 23 - Oscilloscope Configuration after the Rj and Tj Tests ........................................................ 30
Figure 24 - Rj and Tj Results .................................................................................................................... 31
Figure 25 - WDP Message Box................................................................................................................. 31
Figure 26 - Oscilloscope Configuration after the WDP Test ................................................................. 32
Figure 27 - WDP Results ........................................................................................................................... 32
Figure 28 – Definition of Rpre, Rpost, VMA, and VHL ........................................................................... 34
Figure 29 – IDLE_REF0 Message Box ..................................................................................................... 35
Figure 30 - Oscilloscope Configuration after REF0 Test....................................................................... 35
Figure 31 – IDLE_REF1 Message Box ..................................................................................................... 36
Figure 32 - Oscilloscope Configuration after REF1 Test....................................................................... 37
Figure 33 – Tx Emphasis Ref1 Results ................................................................................................... 37
Figure 34 – IDLE_REF2 Message Box ..................................................................................................... 38
Figure 35 - Oscilloscope Configuration after REF2 Test....................................................................... 39
Figure 36 – Tx Emphasis Ref2 Results ................................................................................................... 39
Figure 37 - Example BER Map with WDP Results (Figure 5.3.9-3 from UNH-IOL SAS-3 12Gbps
Physical Layer Test Suite)................................................................................................................. 41
Figure 38 – Startup of Deskew Wizard .................................................................................................... 44
Figure 39 – Choice of Deskew Method ................................................................................................... 44
Figure 40 – Fast Edge – Step 1 Prompt .................................................................................................. 45
Figure 41 – Fast Edge – Step 1 Oscilloscope Display ........................................................................... 45
Figure 42 – Fast Edge – Step 2 Prompt .................................................................................................. 46
Figure 43 – Fast Edge – Step 2 Oscilloscope Display ........................................................................... 46
Figure 44 – Fast Edge – Step 3 Prompt .................................................................................................. 47
Figure 45 – Fast Edge – Step 3 Oscilloscope Display ........................................................................... 47
Figure 46 – MFTP – Step 1 Prompt .......................................................................................................... 48
Figure 47 – MFTP – Step 1 Oscilloscope Display .................................................................................. 48
Figure 48 – MFTP – Step 2 Prompt .......................................................................................................... 49
Figure 49 – MFTP – Step 2 Oscilloscope Display .................................................................................. 49
Figure 50 – MFTP – Step 3 Prompt .......................................................................................................... 49
4
922545 Rev A
QPHY-SAS3 Software Option
INTRODUCTION TO QUALIPHY SAS3
QPHY-SAS3 is an automated software package designed to capture, analyze, and report measurements
in conformance with T10 SAS-3 specification as described in the UNH IOL Serial Attached SCSI (SAS)
Consortium SAS-3 12Gbps Physical Layer Test Suite (Version 1.0). A copy of the specification can be
found on the UNH-IOL FTP site.
Note: As of May 19th, 2014 this document can be found at the following site but this is subject to change:
ftp://ftp.iol.unh.edu/pub/sas/test_suite/SAS-3_12Gbps_Physical_Layer_Test_Suite_(v1.0).pdf
The software can be run on any Teledyne LeCroy Zi Series oscilloscope with at least 20 GHz
bandwidth and a sample rate of at least 40 GS/s. The oscilloscope must also be equipped with the
QPHY-SAS3, SDAIII and Eye Doctor II options.
Required Equipment
•
Real time Teledyne LeCroy Oscilloscope with at least 20 GHz bandwidth and sample rate of at
least 40 GS/s. The minimum recommended bandwidth for SAS 12Gbps is 25 GHz.
•
QPHY-SAS3 (available on firmware 7.4.0.3 or later), SDA III, and Eye Doctor II options
Note: SDAIII is included on all SDA and DDA oscilloscope models
o
•
The VirtualProbe option is required to perform de-embedding using the SDAIII
oscilloscope software
SAS Test Fixture – Available from Wilder Technologies
o
For a SAS-3 Target (Drive/Device): SAS Receptacle Adapter (SAS-TPA-R)
o
For a SAS-3 Initiator (Host): SAS Plug Adapter (SAS-TPA-P)
o
For Mini-SAS HD (Drive/Device): Mini-SAS HD Receptacle Adapter (MSASHD-TPA-R)
o
For Mini-SAS HD (Host): Mini-SAS HD Plug Adapter Right (MSASHD-TPAR-P) or Left
(MSASHD-TPAL-P)
•
1 PC power supply – required to power the SAS test fixture and Device Under Test (DUT)
•
SMA Cables (Qty. 2)
o
These cables should be nominally the same length so that the attenuation characteristics
and length are well matched. The cables should be as short as possible, while allowing
connection between the text fixtures and the oscilloscope (nominally 6 inches each).
o
For the automated de-skew procedure employing the differential signals from the DUT,
these cables must be matched to better than 1/2UI of the data rate tested (e.g. less than
~10ps for 12Gbps)
•
DC Blocks (Qty. 2) – <=10MHz to >=18GHz DC blocks (e.g Pasternack PE8210)
•
MATLAB (either installed on the oscilloscope or on a separate PC) – required for the
SAS3_EYEOPENING script and Waveform Distortion Penalty test
•
Matlab Complier Runtime 7.7 – required for the Waveform Distortion Penalty test, available for
download from teledynelecroy.com
922545 Rev A
5
USING QUALIPHY SAS3
QualiPHY SAS3 guides the user, step-by-step, through each of the tests in conformance with the T10
SAS-3 specification as described by the UNH-IOL SAS-3 Physical Layer Test suite. To do this, the
user must set up a test session.
Before beginning testing, users choose the test configuration they wish to run. There are nine pre-loaded
test configurations. They are:
•
12.0 Gbps Tx tests using Live (Acquisition) Data
•
12.0 Gbps Tx tests using Saved Data
•
Demo of 12 Gbps Tx tests using Saved Data
•
1.5 Gbps Tx tests using Live (Acquisition) Data
•
1.5 Gbps Tx tests using Saved Data
•
3.0 Gbps Tx tests using Live (Acquisition) Data
•
3.0 Gbps Tx tests using Saved Data
•
6.0 Gbps Tx tests using Live (Acquisition) Data
•
6.0 Gbps Tx tests using Saved Data
These pre-loaded configurations provide quick and easy ways to begin compliance testing (see the
QPHY-SAS3 Test Configurations section for details on each configuration). If the user does not want
to run any of these configurations, they can create their own custom configuration (see the Creating
Custom Configurations section for details).
The pre-loaded configurations are set up to run all of the tests required for compliance. If this is not what
the user wants, the variables can be modified (see the QPHY-SAS3 Variables section of this manual).
The variables are pre-loaded with the standard settings for compliance testing; however, the user may
choose to create their own configuration with the variables set as desired.
6
922545 Rev A
QPHY-SAS3 Software Option
QUALIPHY COMPLIANCE TEST PLATFORM
QualiPHY is Teledyne LeCroy’s 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 complete, detailed reports.
The QualiPHY software application automates the test and report generation.
Figure 1 - Report menu in QualiPHY General Setup
922545 Rev A
7
See the QualiPHY Operator’s Manual for more information on how to use the QualiPHY framework.
Figure 2 - The Test Report includes a summary table with links to the detailed test results
8
922545 Rev A
QPHY-SAS3 Software Option
Oscilloscope Option Key Installation
The required option keys must be purchased to enable the QPHY-SAS3 compliance tests. If you do not
have the required option keys already call Teledyne LeCroy Customer Support to place an order and
receive the codes.
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.
Teledyne 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.
922545 Rev A
9
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-SAS3 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-SAS3 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 SAS  SAS3 from the popup 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 3 - QualiPHY main menu and compliance test Standard selection menu
10
922545 Rev A
QPHY-SAS3 Software Option
4. Click the Configuration button in the QualiPHY main menu:
5. Select a configuration from the pop-up menu:
Figure 4 - QualiPHY configuration selection menu
6. Click Start.
7. Follow the pop-up window prompts.
922545 Rev A
11
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 5 - QualiPHY test item selection menu
12
922545 Rev A
QPHY-SAS3 Software Option
Creating Custom Configurations
Beginning with any of the pre-loaded configurations,
1. Click on the Test Selector tab to change what tests you would like to be included in your new
configuration.
2. Click on the Variable Setup tab to change the variables for your new configuration.
3. Click on the Limits tab to change which limit set should be used for your new configuration
•See QualiPHY Manual for more information
4. Once a change has been made to any of these sections, the Save As button becomes clickable
on the bottom of the dialog.
5. Clicking the Save As button will prompt you for a new configuration name and description.
Note: If a Custom Configuration was used for the procedure, the Save button will also become
clickable on the bottom of the dialog. Clicking this button will update the current configuration
with new changes.
6. 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.
922545 Rev A
13
Figure 6 - Variable Setup and Limits Manager windows
14
922545 Rev A
QPHY-SAS3 Software Option
QPHY-SAS3 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 DUT to
change test signal modes (when necessary).
Figure 7 - Start button
Figure 8 - Example of pop-up connection diagram and dialog box
922545 Rev A
15
QPHY-SAS3 TEST CONFIGURATIONS
Configurations include variable settings and limit sets as well, not just test selections. See the QPHYSAS3 Variables section for a description of each variable value and its default value.
12.0 Gbps Tx tests using Live (Acquisition) Data
This configuration will run all of the tests except for the WDP test and the legacy VMA and VPP tests.
The limit set in use is SAS3-12G. All of the variables are set to their default settings except Bitrate is set
to 12e9.
12.0 Gbps Tx tests using Saved Data
This configuration will run all of the tests except for the WDP test and the legacy VMA and VPP tests.
The limit set in use is SAS3-12G. All of the variables are set to their default settings except Bitrate is set
to 12e9 and Test Mode is set to Use Saved Data.
Demo of 12.0 Gbps Tx tests using Saved Data
This configuration will run all of the tests on the demo waveforms (available from
www.teledynelecroy.com). The limit set in use is SAS3-12G. All of the variables are set to their default
settings except Bitrate is set to 12e9, Test Mode is set to Use Saved Data, Path to saved Waveforms
for offline tests is set to D:\Waveforms\SAS3\Demo and Demo Mode is set to Yes.
1.5 Gbps Tx tests using Live (Acquisition) Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-1.5G. All of the variables are set to their default settings except Bitrate is set to 1.5e9.
1.5 Gbps Tx tests using Saved Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-1.5G. All of the variables are set to their default settings except Bitrate is set to 1.5e9 and
Test Mode is set to Use Saved Data.
3.0 Gbps Tx tests using Live (Acquisition) Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-3G. All of the variables are set to their default settings except Bitrate is set to 3e9.
3.0 Gbps Tx tests using Saved Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-3G. All of the variables are set to their default settings except Bitrate is set to 3e9 and
Test Mode is set to Use Saved Data.
6.0 Gbps Tx tests using Live (Acquisition) Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-6G. All of the variables are set to their default settings except Bitrate is set to 6e9.
6.0 Gbps Tx tests using Saved Data
This configuration will run all of the tests except for the WDP test and the Equalization tests. The limit set
in use is SAS3-6G. All of the variables are set to their default settings except Bitrate is set to 6e9 and
Test Mode is set to Use Saved Data.
16
922545 Rev A
QPHY-SAS3 Software Option
QPHY-SAS3 VARIABLES
Use the Upper (A) or Lower (B) Input
For oscilloscope with 2 inputs per channel, this variable allows the user to decide whether to use the A or
B input to run the selected tests. The default value for this variable is InputA.
Bitrate for SAS3
This variable allows the user to specify the bitrate that is being used for testing. The default value for this
variable is 12e9.
JTF Damping
When defining a custom 2-pole PLL this variable allows the user to specify the JTF Damping factor. The
default variable for this variable is 0.85.
JTF Natural Frequency
When defining a custom 2-pole PLL this variable allows the user to specify the JTF Natural Frequency.
The default variable for this variable is 4.2e6.
JTF Pole Frequency
When defining a custom 1-pole PLL this variable allows the user to specify the JTF Pole Frequency. The
default variable for this variable is 5.5e6.
JTF Zero Frequency
When defining a custom 1-pole PLL this variable allows the user to specify the JTF Zero Frequency. The
default variable for this variable is 50e6.
Demo Mode
This variable allows the user to run the tests in demo mode. When you set this value to “Yes,” you can run
the tests in demonstration mode using saved waveforms. The waveforms must be located in the Saved
Waveform Path. During demo mode, the user is still prompted with connection diagrams based on their
other variable selections. This allows the user to experience running the test as it would be run on live
signals. The default value for this variable is “No”.
Is device either a Target or Initiator
This variable allows the user to specify if the device being tested is a target or initiator. This is used to
generate the proper connection diagram. The default value for this variable is Target.
Matlab Path
This variable allows the user to define the path for EyeOpening script and associated files. These files are
included with the QPHY-SAS3 installer but can be manually replaced by the user. The default value for
this variable is C:\Program Files (x86)\LeCroy\XReplay\SAS3\EyeOpening.
Matlab Startup Path
This variable allows the user to define the path for the startup.m file which allows Matlab to communicate
with the oscilloscope and is automatically by QPHY-SAS3 each time the software is run. This “startup
path” is the actual startup path from the Matlab installation and can be stored in different locations
depending upon where Matlab was installed. The default value for this variable is C:\Program
Files\MATLAB\R2013b\toolbox\local. Note: make sure this path is not set to “read only”
Which port (A or B) is Being Tested
This variable allows the user to specify if the port being tested is the primary or secondary port. This is
used to generate the proper connection diagram. The default value for this variable is Secondary.
922545 Rev A
17
Drive Letter for Matlab
This variable is used for allows the user to specify the location of the waveforms to be used when running
the EyeOpening script remotely over a network. The default value for this variable is D:\.
Path to saved Waveforms for offline test
This variable allows the user to specify the location of the waveforms to be used when running QPHYSAS3 in Use Saved Data mode. The default value for this variable is D:\Waveforms\SAS3\.
Save Individual Runs
When this value is set to "Yes", acquired waveforms will be saved in a separate folder for each time the
test is run for example:
D:\Waveforms\SAS3\[Device Under Test]\Run1
When this value is set to "No" waveforms will be overwritten on every run and saved in:
D:\Waveforms\SAS3\[Device Under Test]
This setting has no effect when testing is on saved waveforms.
The default value for this variable is No.
Stop On Test
When set to Yes, the script stops after each test allowing you to view the results. Any new acquisition
done may cause the script to produce unexpected results. The default value for this variable is No.
Path to stressor file for WDP script
This variable defines the path the stressor file which is used in the SASWDP script. The default value for
this variable is D:\Waveforms\SAS3.
Test Mode
This variable allows the user to choose to run QPHY-SAS3 on newly acquired data or on previously saved
data. The default value for this variable is Acquire New Data.
Tx Negative Source
The variable allows the user to select the input source used for Tx negative signal. The default value for
this variable is C3.
Tx Positive Source
The variable allows the user to select the input source used for Tx positive signal. The default value for
this variable is C2.
Use Sierra to Control Test Pattern
This variable allows the user to specify if a Sierra, Teledyne LeCroy Protocol Analyzer, is being used to
control the test patterns. This is used to generate the proper connection diagram. The default value for
this variable is No.
Use De-embedding
This variable allows the user to specify if the de-embedding feature in SDA3 will be used. The setup file
will in use is defined by the VirtualProbe Path variable. The default value for this variable is No.
VirtualProbe Path
If the user is using the de-embedding feature within SDA3, this variable allows the user to specify if the
path for the VirtualProbe setup file. The default value for this variable is
D:\Applications\VirtualProbe\SAS3\VirtualProbe.lss.
18
922545 Rev A
QPHY-SAS3 Software Option
QPHY-SAS3 TEST DESCRIPTIONS
Tx Group 1 Out of Band Tests 5.1.x (OOB)
There are 4 tests run in this group. The tests that are run are:
1. 5.1.1 – Tx Maximum Noise During OOB Idle
2. 5.1.2 – Tx OOB Burst Amplitude
3. 5.1.3 – Tx OOB Offset Delta
4. 5.1.4 – Tx OOB Common Mode Delta
After the completion of the Out of Band Tests the oscilloscope is in the following configuration:
Figure 9 - Oscilloscope Configuration after Out of Band Tests
Shown on this screen:
• F3 is the Idle Differential Signal. This trace represents only the idle portion of the differential OOB
signal.
• F4 is the Burst Differential Signal. This trace represents only the burst portion of the differential OOB
signal after it is filtered by a 4.5GHz low-pass Butterworth filter.
Having these two traces separate from each other allows us to perform the measurement on the idle
portion and the burst portion separately.
• F5 is the Burst Common Mode signal.
• F6 is the Wide Band AM Demodulated Differential Signal. This is used for the separation of the idle
portion from the burst portion.
• F7 is the Idle Common Mode signal. This is calculated by summing the two inputs and dividing them
by 2.
922545 Rev A
19
• F8 is a view of the Differential Signal after it has been filtered by the 4.5GHz low-pass Butterworth
filter. This is calculated by subtracting the negative input from the positive input. This signal is
used to create many of the traces described earlier.
Figure 10 - OOB Test Results
In the Measure section:
• IdleNoise (P1) is the peak-to-peak measurement of F3 (idle differential signal). This is the measured
value for Tx – Max Noise During Idle (5.1.1). This value must be less than 120mV(P-P) in order
to pass the test.
• OffsetDelta (P3) is the mean amplitude of F4 (burst differential signal). This is the measured value
for Tx- OOB Offset Delta (5.1.3). This value must be between -25mV and 25mV (inclusive) in
order to pass the test.
• BurstAmpl (P4) is the peak-to-peak value of F4 (burst differential signal). This is the measured
value for Tx – Max Burst Amplitude and Tx – Min Burst Amplitude (5.1.2). The maximum
value must be less than 1.6V and the minimum value must be great than 240mV in order to pass
this test.
• CMMdelta (P7) is the difference between the mean of the Burst Common Mode Signal (F5) and the
Idle Common Mode Signal (F7). This is the measured value for Tx - OOB Common Mode Delta
(5.1.4). This value must be between +/- 50mV in order to pass this test.
20
922545 Rev A
QPHY-SAS3 Software Option
Tx Group 2 Spread Spectrum Clocking Tests
There are 3 tests run in this group. The tests that are run are:
1. 5.2.1 - Tx SSC Modulation Frequency
2. 5.2.2 - Tx SSC Modulation Deviation and Balance
3. 5.2.3 - Tx SSC DFDT (Informative)
Each of these 3 tests is run when the DUT is using Center-spreading and Down-Spreading SSC. The
purpose of these tests is to verify the SSC Modulation Frequency, Modulation Deviation and Balance and
DFDT are within the specification limits. After the completion of each of the Spread Spectrum Clocking
tests the oscilloscope is in the following configuration:
Figure 11 - Oscilloscope Configuration after SSC Tests
Shown on this screen:
th
• F2 is the SSCTrack of the input. This signal is filtered by a 4 order Butterworth filter with a
200kHz cutoff as described by the specification.
th
• F3 is the SSCTrack of the input without the effects of the 4 order Butterworth filter used by F2.
• F4 is the Rate of Frequency Modulation (dF/dT). This is calculated by: slope = (f(t)–f(t–
0.27us))/0.27 us).
922545 Rev A
21
Figure 12 - SSC Test Results
In the Measure section:
• Max Freq and Min Freq (P1 and P2) are calculated by measuring the minimum and maximum of
the Unfiltered SSCTrack (F3). These are the measured values for Tx - SSC Mod Freq Min and
Tx - SSC Mod Freq Max (5.2.2). For 12Gbps these values must be in between +/- 1100 ppm in
order to pass this test for center-spreading and -1100 and 100 ppm for down-spreading. For
1.5Gbps, 3Gbps, and 6Gbps these values must be in between +/- 2300 ppm in order to pass this
test for center spreading and -2300 and 100 ppm for down spreading.
• Variation P-P (P3) is the difference between the Max Freq and Min Freq of the Unfiltered
SSCTrack. This is the measured value for Tx - Variation P-P (5.2.2). This is test is informational
only.
• Mod Freq (P7) is calculated by measuring the frequency @ level of the Filtered SSCTrack (F2).
This is the measured value for Tx - SSC Mod Freq (5.2.1). This value must be between 30kHz
and 33kHz (inclusive) in order to pass this test.
• MinDFDT and MaxDFDT (P9 and P10) are calculated by measuring the minimum and maximum
of the DFDT (F4). This is the measured value for Tx- SSC DFDT Min and Tx- SSC DFDT Max
(5.2.3). These values must be between +/-850pm/us in order to pass this test. This test is not a
required test and is informative.
• Imbalance (P12) is a measure of the deviation asymmetry of the DFDT. It is measured by taking
the sum of the averaged max peak level and the averaged min peak level. Rather than measure
the absolute value, the software measures the signed value to provide additional insight. This is
the measured value of Tx – Deviation Asymmetry (5.2.2b). This value must be between +/- 288
ppm in order to pass this test. This test is only required on SSC with center spreading.
22
922545 Rev A
QPHY-SAS3 Software Option
Tx Group 3 (Link Stability, Common Mode, … WDP)
There are 7 tests run in this group. The tests that are run are:
1. Tx 5.3.1 Phy Link rate Stability (HFTP)
2. Tx 5.3.2 Common Mode RMS Voltage (CJTPAT)
3. Tx 5.3.4 and 5.3.5 Vpp, VMA, EQ (D30.3)
4. Tx 5.3.6 Rise and Fall Times (HFTP)
5. Tx 5.3.7 RJ, (MFTP, MFTP-SSC-DOWN, MFTP-SSC-CENTER)
6. Tx 5.3.8 TJ, (MFTP, MFTP-SSC-DOWN, MFTP-SSC-CENTER)
7. Tx 5.3.9 Waveform Distortion Penalty
Each of these tests are described in detail below.
Tx 5.3.1 Phy Link Rate Stability (HFTP)
The purpose of this test is to characterize the quality and consistency of the transmitter’s reference clock
by measuring the physical link rate long term stability. After the completion of the Phy Link Rate Stability
test the oscilloscope is in the following configuration:
Figure 13 - Oscilloscope Configuration after Phy Link Rate Stability Test
Shown on this screen:
• F2 is the SSCTrack of the input. This signal is filtered by a 1 order Butterworth filter with a 3.7 MHz
cutoff as described by the specification. The first division of the result is discarded to allow for
clock recovery “capture” as well as settling of the startup effect of the filter. This is the same as
creating the SSCTrack, however, when SSC is not enabled on the device, we can use this to
calculate the long term stability.
st
922545 Rev A
23
Figure 14 - Phy Link Rate Stability Test Results
In the Measure section:
• P1 and P2 are used to calculate the min and the max of F2. These are the measured values for Tx
– Min Phy Link Rate Stability (5.3.1) and Tx – Max Phy Link Rate Stability (5.3.1). These
values must be between +/- 100ppm in order to pass this test.
Tx 5.3.2 Common Mode RMS Voltage (CJTPAT)
The purpose of this test is to verify that the common-mode RMS voltage is within the specification limits.
After the completion of the Common Mode RMS Voltage test the oscilloscope is in the following
configuration:
Figure 15 - Oscilloscope Configuration after the Common Mode RMS Voltage Test
Shown on this screen
• F2 is the Common Mode Trace. This is calculated by summing the two inputs and dividing by 2.
24
922545 Rev A
QPHY-SAS3 Software Option
Figure 16 - Common Mode RMS Voltage Results
In the Measure section:
• CM Offset (P1) is the common mode offset. This is measured by taking the mean of the common
mode trace. This is the measured value of Tx – Common Mode Offset (5.3.2). This test is
informational only.
• CM RMS (P2) is the common mode RMS voltage. This is measured by taking the RMS of the
common mode trace. This is the measured value for Tx – CM RMS voltage (5.3.2). This value
must be less than 30mV in order to pass this test.
Tx 5.3.3 Common Mode Spectrum (CJTPAT)
The purpose of this test is to verify that the common-mode spectrum is within the specification limits. After
the completion of the Common Mode RMS Voltage test the oscilloscope is in the following configuration:
Figure 17 - Oscilloscope Configuration after the Common Mode Spectrum Test
Shown on this screen:
• F5 is the Common Mode Spectrum trace. This is the FFT of the common mode trace displayed in
dBmV/MHz. The common mode trace is calculated by summing the differential inputs and
dividing by 2.
922545 Rev A
25
• M3 is the Common Mode Spectrum Mask as defined in the specification shown on a linear scale. If
the Common Mode Spectrum trace exceeds the mask the test will fail.
• F7 is the margin and is calculated as the difference between the Common Mode Spectrum trace and
the Common Mode Spectrum Mask. A cursor is placed at 0 dBmV in order to provide a visual aid
in seeing where there is positive margin.
Figure 18 - Common Mode RMS Voltage Results
In the Measure section:
• CM Offset (P1) is the common mode offset. This is measured by taking the mean of the common
mode trace. This is provided as informational only.
• CM RMS (P2) is the common mode RMS voltage. This is measured by taking the RMS of the
common mode trace. This is provided as informational only.
• Max(F5) (P3) is maximum value of the Common Mode Spectrum trace. This is provided as
informational only.
• CM Margin (P5) is the amount of margin between the Common Mode Spectrum trace and the mask.
This is measured by taking the minimum value of the difference between the Common Mode
Spectrum trace and the Common Mode Spectrum mask. This is the measured value for Tx –
Common Mode Spectrum (5.3.3). This value must be greater than 0 dBmV/MHz in order to pass
this test.
Tx 5.3.4 and 5.3.5 Vpp, VMA, EQ (D30.3)
The purpose of these tests is to verify that the peak-to-peak voltage, the voltage modulation amplitude,
and the amount of equalization are within the specification limits. These tests only apply for 1.5Gbps,
3Gbps, and 6Gbps DUTs and is not included in any of the pre-loaded configurations for 12Gbps.
However, it still can be run on 12Gbps DUTs for additional information. After the completion of the Vpp,
VMA, and EQ tests the oscilloscope is in the following configuration:
26
922545 Rev A
QPHY-SAS3 Software Option
Figure 19 - Oscilloscope Configuration after the Vpp, VMA, and EQ tests
Shown on this screen:
• F2 is Eye Diagram created from the input signal using a 2 pole PLL with a natural frequency of
3.9MHz and a damping factor of .800. This is shown for information only.
• F4 is a histogram of the input waveform.
• F5 is this histogram converted to a waveform (this is required to perform certain measurements on
the histogram).
• F6 is the differential input waveform. This is calculated by subtracting the negative input from the
positive input.
Figure 20 - Vpp, VMA and EQ Results
In the Measure section:
• Vpp (P1) is measuring the full range of the F4 histogram. This is the measured result for Tx - Vpp
(5.3.4). This value must be between 850mV and 1.2V in order to pass this test.
• LowMode (P4) is the maximum peak from the left side of the F5 waveform. This represents the deemphasized low voltage level of the signal.
922545 Rev A
27
• HighMode (P5) is the maximum peak from the right side of the F5. This represents the deemphasized high voltage level of the signal. These are used to calculate the VMA.
• VMA (P6) is the difference between the 2 modes of the histogram. This is the measured value of Tx
- VMA (5.3.5a). This value must be less than 600mV in order to pass this test.
• EQ (P8) is calculated as 20*log10(Vp-p/VMA). This is the measured value of Tx - EQ (5.3.5b). This
value must be between 2 and 4 dB in order to pass this test.
Tx 5.3.6 Rise and Fall Times (HFTP)
The purpose of this test is to verify that the rise and fall times are within the specification limits. After the
completion of this test the oscilloscope is in the following configuration:
Figure 21 - Oscilloscope Configuration after the Rise and Fall Times Test
Shown on this screen:
• F1 is the differential input waveform.
• F4 is the histogram of all of the measured 20-80 rise times.
• Z2 is a zoom of F1.
28
922545 Rev A
QPHY-SAS3 Software Option
Figure 22 - Rise and Fall Times Results
In the Measure section:
• Rise 20-80 (P1) is the 20-80 rise time of the differential input waveform (F1) displayed in ps. This is
the measured value of TX - Trise (20-80) (5.3.6). The mean of this value for all rising edges in the
differential input must be greater than 20.8 ps in order to pass this test for 12Gbps and greater
than 41.6 ps for 1.5Gbps, 3Gbps, and 6Gbps.
• Fall 80-20 (P2) is the 80-20 fall time of the differential input waveform (F1) displayed in ps. This is
the measured value of TX - Tfall (80-20) (5.3.6). The mean of this value for all falling edges in the
differential input must be greater than 20.8 ps in order to pass this test for 12Gbps and greater
than 41.6 ps for 1.5Gbps, 3Gbps, and 6Gbps.
• Rise(UI) (P3) is the 20-80 rise time converted to Unit Interval. This value is provided only for
additional information.
• Fall(UI) (P4) is the 80-20 fall time converted to Unit Interval. This value is provided only for
additional information.
Tx 5.3.7 and 5.3.8 RJ, TJ (MFTP, MFTP-SSC-DOWN, MFTP-SSC-CENTER)
The purpose of these tests is to verify that the Random Jitter and Total Jitter are within the specification
limits. This test is run for all supported SSC modes (No SSC, SSC Down Spreading, and SSC Center
Spreading). After the completion of these tests the oscilloscope is in the following configuration:
922545 Rev A
29
Figure 23 - Oscilloscope Configuration after the Rj and Tj Tests
Shown on this screen:
• F1 is the differential input waveform.
• RjBUjHist is the histogram of the random and bounded uncorrelated jitter. This is the same as the
full TIE histogram with the DDj removed. The RjBUjHist is an output from SDA III.
To comply with the JTF requirements when SSC is not enabled a single-pole PLL is used in SDA III and
when SSC is enabled a two-pole PLL is used. The PLLs have the following characteristics:
Without SSC Support
With SSC Support
Pole Frequency
Zero Frequency
Natural Frequency
Damping Factor
1.5Gbps
1.7MHz
50MHz
2.1MHz
0.86
3Gbps
3.2MHz
50MHz
3.0MHz
0.85
6Gbps
5.6MHz
50MHz
4.2MHz
0.85
12Gbps
5.5MHz
50MHz
4.2 MHz
0.85
Note: For more information on SDA III refer to the Understanding SDA III Jitter Calculation Methods technical brief
available at the following address:
http://www.teledynelecroy.com/files/WhitePapers/Understanding_SDAIII_Jitter_Calculation_Methods.pdf
30
922545 Rev A
QPHY-SAS3 Software Option
Figure 24 - Rj and Tj Results
In the SDA Jitter Section:
• Tj(1e-12), Rj(spD), Dj(spD), Pj, DCD, and Bitrate are shown. These are all calculations from SDA
III. Only the Rj(spD) and Dj(spD) parameters are used for further calculation. The rest of the
parameters are informational only.
• Rj(spD) is the measured value for Tx - RJ (1-sigma) (5.3.7) using the “spectral direct” method. This
is reported as informational only.
In the Measure section:
• Rj(14sigma) (P8) is calculated by multiplying Rj(spD) by 14. The resulting value is multiplied by
12e9 to convert to unit intervals. This is the measured value for Tx- Rj14Sigma (5.3.7). This
value must be less than 150mUI in order to pass this test.
• Dj(SAS3) (P9) converts Dj(spD) to unit intervals by multiplying by 12e9.
• Tj(SAS3) is the sum of Rj(14sigma) and Dj(SAS3) (as described in the specification). This is the
measured value for Tx – Tj (5.3.8). This value must be less than 250mUI in order to pass this
test.
Tx 5.3.9 Waveform Distortion Penalty (Not applicable for 12Gbps)
The purpose of this test is to verify that the Waveform Distortion Penalty is within the specification limits.
Due to licensing issue with the required SASWDP script that must be run for this test, it cannot be run
automatically by QPHY-SAS3. For this reason, the WDP test is not included in any of the preloaded
configurations. However, QPHY-SAS3 can automatically capture the files that are required to run the
SASWDP script. When this test is run, the user will be presented with the following dialog:
Figure 25 - WDP Message Box
922545 Rev A
31
At this point that user should run the SASWDP script and enter the returned value in this dialog. By
entering this value, the result for the WDP test can be included in the test report provided by QualiPHY.
For more information refer to the How to run the SASWDP script section of this manual.
After the completion of this test the oscilloscope is in the following configuration:
Figure 26 - Oscilloscope Configuration after the WDP Test
Shown on this screen:
• F1 is the differential input waveform. This is calculated by subtracting the negative input waveform
from the positive input waveform.
• F2 is the resampled and interpolated waveform that has exactly 16 evenly spaced samples per UI.
This waveform is also averaged to reduce Rj. This is all done in accordance with the
specification. This waveform is saved in the required input format for the SASWDP script. This file
is saved in the D:\Waveforms\SAS3 directory on the oscilloscope.
Figure 27 - WDP Results
In the measure section:
• WDP (P1) is the value that was entered in the WDP dialog box. This should be the value that was
the output from the SASWDP script. This is the measured value for Tx-WDP (5.3.9). This value
must be less than 13 dB in order to pass this test.
• Patt Length (P3) is an output of the pattern length of the input waveform. This can be used to
ensure that a pattern of the appropriate length was sent from the device under test.
32
922545 Rev A
QPHY-SAS3 Software Option
Tx Group 4 Tx Emphasis
There are 3 tests run in this group. The tests that are run are:
1. Tx Emphasis Off (IDLE_REF0)
2. Tx Emphasis Ref1 (IDLE_REF1)
3. Tx Emphasis Ref2 (IDLE_REF2)
Each of these tests are described in detail in the following sections.
These tests are run when the DUT is outputting IDLE dwords under defined conditions for the precursor,
central, and postcursor equalization coefficients with the transmitter set to its maximum peak voltage.
These tests all require the use of the SAS3_EYEOPENING script which is run via Matlab. See the How
to run the SAS3_EYEOPENING script section of this manual for more information
The purpose of these tests is to verify the precursor equalization ratio (Rpre) and postcursor equalization
ratio (Rpost) are within the specification limits. Additionally, these tests will measure VMA and VHL.
922545 Rev A
33
The following figure from the SAS-3 specification provides a definition for the Rpre, Rpost, VMA, and
VHL. In each test each of these voltage levels are labeled on the oscilloscope display.
Figure 28 – Definition of Rpre, Rpost, VMA, and VHL
•
•
•
•
34
Rpre is defined as V3/V2.
Rpost is defined as V1/V2.
VMA is defined as V2-V5.
VHL is defined as the peak to peak voltage on the alternating bit portion of the waveforms.
922545 Rev A
QPHY-SAS3 Software Option
Tx Emphasis Off (IDLE_REF0)
The purpose of this test is to gain a reference point in order to compute the equalization calculation for
REF1 and REF2. There are no actual pass/fail measurements performed in this test. This test step must
be run in order to measure Ref1 or Ref2. This may also be referred to as REF3 or no equalization.
With the transmitter set to its maximum peak voltage the emphasis coefficients for REF0 must be set to:
Figure 29 – IDLE_REF0 Message Box
After the completion of this test the oscilloscope is in the following configuration:
Figure 30 - Oscilloscope Configuration after REF0 Test
922545 Rev A
35
Shown on this screen:
• F4 is a plot of the peak voltage values which correspond to V1-V6, VH, and VL. These are the
values which are used in the calculation of the first set of Rpre, Rpost, VMA, and VHL values in
the Measurement table on the screen.
• F6 is a representation of where V1-V6, VH, and VL occur on the acquired waveform. This waveform
is an average of all instances where the pattern was identified in the acquired waveform. The
beginning section of the waveform is the positive 5-UI portion, the next is the negative 5-UI
portion, and the last portion is the alternating 101.
• EDrRqu is the equalized waveform. Displayed on screen is a zoom of this waveform.
• EDrIn is the differential input waveform before any equalization has been applied. Displayed on
screen is a zoom of this waveform.
Tx Emphasis Ref1 (IDLE_REF1)
The purpose of this test is to verify that Rpre, RPost, VMA, and VHL are within the specified limits for the
reference 1 coefficient settings.
With the transmitter set to its maximum peak voltage the emphasis coefficients for REF1 must be set to:
Figure 31 – IDLE_REF1 Message Box
36
922545 Rev A
QPHY-SAS3 Software Option
After the completion of this test the oscilloscope is in the following configuration:
Figure 32 - Oscilloscope Configuration after REF1 Test
Shown on this screen:
• F4 is a plot of the peak voltage values which correspond to V1-V6, VH, and VL. These are the
values which are used in the calculation of the first set of Rpre, Rpost, VMA, and VHL values in
the Measurement table on the screen.
• F6 is a representation of where V1-V6, VH, and VL occur on the acquired waveform. This waveform
is an average of all instances where the pattern was identified in the acquired waveform. The
beginning section of the waveform is the positive 5-UI portion, the next is the negative 5-UI
portion, and the last portion is the alternating 101.
• EDrRqu is the equalized waveform. Displayed on screen is a zoom of this waveform.
• EDrIn is the differential input waveform before any equalization has been applied. Displayed on
screen is a zoom of this waveform.
Figure 33 – Tx Emphasis Ref1 Results
922545 Rev A
37
In the measure section:
• Rpre(ML) (P9) is the precursor equalization ratio (Rpre) value which was returned from the
SAS3_EYEOPENING script. This is the measured value for TX – Rpre Ref1 (5.4.2.1). This value
must be greater than 2.1 and less than 2.97, inclusive.
• Rpost(ML) (P10) is the postcursor equalization ratio (Rpost) value which was returned from the
SAS3_EYEOPENING script. This is the measured value for TX – Rpost Ref1 (5.4.2.2). This
value must be greater than 3 and less than 4, inclusive.
• VMA(ML) (P11) is the VMA value which was returned from the SAS3_EYEOPENING script. This is
the measured value for TX – VMA Ref1 (5.4.2.3). This value must be greater than 80 mV.
• VHL(ML) (P11) is the VHL value which was returned from the SAS3_EYEOPENING script. This is
the measured value for TX – VMA Ref1 (5.4.2.3). This value must be greater than 850 mV and
less than 1.2 V.
• Rpre (P4) is the precursor equalization ratio (Rpre) value which was calculated as the ratio of the V3
and V2 points in the F4 waveform. This value is provided for additional information only.
• Rpost (P5) is the postcursor equalization ratio (Rpost) value which was calculated as the ratio of the
V1 and V2 points in the F4 waveform. This value is provided for additional information only.
• VMA (P6) is the VMA value which was calculated as the difference between the V2 and V5 points in
the F4 waveform. This value is provided for additional information only.
• VHL (P7) is the VHL value which was calculated as the difference between VH and VL in the F4
waveform. This value is provided for additional information only.
Tx Emphasis Ref2 (IDLE_REF2)
The purpose of this test is to verify that Rpre, RPost, VMA, and VHL are within the specified limits for the
reference 2 coefficient settings.
With the transmitter set to its maximum peak voltage the emphasis coefficients for REF2 must be set to:
Figure 34 – IDLE_REF2 Message Box
38
922545 Rev A
QPHY-SAS3 Software Option
After the completion of this test the oscilloscope is in the following configuration:
Figure 35 - Oscilloscope Configuration after REF2 Test
Shown on this screen:
• F4 is a plot of the peak voltage values which correspond to V1-V6, VH, and VL. These are the
values which are used in the calculation of the first set of Rpre, Rpost, VMA, and VHL values in
the Measurement table on the screen.
• F6 is a representation of where V1-V6, VH, and VL occur on the acquired waveform. This waveform
is an average of all instances where the pattern was identified in the acquired waveform. The
beginning section of the waveform is the positive 5-UI portion, the next is the negative 5-UI
portion, and the last portion is the alternating 101.
• EDrRqu is the equalized waveform. Displayed on screen is a zoom of this waveform.
• EDrIn is the differential input waveform before any equalization has been applied. Displayed on
screen is a zoom of this waveform.
Figure 36 – Tx Emphasis Ref2 Results
922545 Rev A
39
In the measure section:
• Rpre(ML) (P9) is the precursor equalization ratio (Rpre) value which was returned from the
SAS3_EYEOPENING script. This is the measured value for TX – Rpre Ref1 (5.4.2.1). This value
must be greater than 1.05 and less than 1.49, inclusive.
• Rpost(ML) (P10) is the postcursor equalization ratio (Rpost) value which was returned from the
SAS3_EYEOPENING script. This is the measured value for TX – Rpost Ref1 (5.4.2.2). This
value must be greater than 1.19 and less than 1.68, inclusive.
• VMA(ML) (P11) is the VMA value which was returned from the SAS3_EYEOPENING script. This is
the measured value for TX – VMA Ref1 (5.4.2.3). This value must be greater than 80 mV.
• VHL(ML) (P11) is the VHL value which was returned from the SAS3_EYEOPENING script. This is
the measured value for TX – VMA Ref1 (5.4.2.3). This value must be greater than 850 mV and
less than 1.2 V.
• Rpre (P4) is the precursor equalization ratio (Rpre) value which was calculated as the ratio of the V3
and V2 points in the F4 waveform. This value is provided for additional information only.
• Rpost (P5) is the postcursor equalization ratio (Rpost) value which was calculated as the ratio of the
V1 and V2 points in the F4 waveform. This value is provided for additional information only.
• VMA (P6) is the VMA value which was calculated as the difference between the V2 and V5 points in
the F4 waveform. This value is provided for additional information only.
• VHL (P7) is the VHL value which was calculated as the difference between VH and VL in the F4
waveform. This value is provided for additional information only.
40
922545 Rev A
QPHY-SAS3 Software Option
HOW TO RUN THE SASWDP SCRIPT
The SASWDP script is required for running the Waveform Distortion Penalty (5.3.9) test. This script can
be obtained from the T10 organization website (http://www.t10.org/cgi-bin/ac.pl). A valid T10 login is
required for downloading this download.
Note: As of March 2nd, 2014 this script can be found at the following site but this is subject to change:
http://www.t10.org/cgi-bin/ac.pl?t=d&f=09-015r0.zip
1. This script must be run from the same directory as the stressor, symbol and waveform data files.
•The stressor file is included when the script is downloaded from the T10 website (this file is
also included with QPHY-SAS3).
•The symbol and waveform data files are created when the WDP test is run from QPHYSAS3.
2. If MATLAB is installed on the oscilloscope:
•Unzip the 09-015r0.zip file to the D:\Waveforms\SAS3 directory.
i. The link to this file is provided above.
3. If MATLAB is installed on a separate PC
•Unzip the 09-015r0.zip to a temporary directory on the PC
•Copy the sas2_symbol.txt and sas2_waveformData.txt files to the same directory.
4. Run the SASWDP.m script.
Figure 37 - Example BER Map with WDP Results (Figure 5.3.9-3 from UNH-IOL SAS-3 12Gbps
Physical Layer Test Suite)
922545 Rev A
41
5. Enter the value for xWDP that is returned from the SASWDP screen in the dialog box described
in the Tx 5.3.9 Waveform Distortion Penalty description above.
42
922545 Rev A
QPHY-SAS3 Software Option
HOW TO RUN THE SAS3_EYEOPENING SCRIPT
The SAS3_EYEOPENING script is required to process the results for the Group 4 Tx Emphasis tests.
This script is included with the QPHY-SAS3 software but can also be obtained from the T10 organization
website.
The SAS3_EYEOPENING script requires a registered version of Matlab. A Matlab license can either be
installed on the oscilloscope or can be run from a separate PC. If Matlab will be run from a separate PC a
shared drive must be configured so that Matlab can see the waveform data from the oscilloscope.
QPHY-SAS3 will automatically save the waveform, pass the waveforms to Matlab for execution, and
return the results back to the oscilloscope. Below are some tips on how to set the appropriate variables in
order to successfully run the SAS3_EYEOPENING script.
Running the SAS3_EYEOPENING script on the oscilloscope
This will require a Matlab license to be installed on the oscilloscope. Before running QPHY-SAS3 the
following variable should be configured:
• Drive Letter for Matlab – This variable is used to tell the Matlab script where it should check on the
oscilloscope to find the waveforms to feed into the SAS3_EYEOPENING script. When running on
the oscilloscope this drive letter will match the Path to Saved Waveforms for offline test. There is
no need to modify the default value.
• Path to Saved Waveforms for offline test – This variable sets the path to where QualiPHY will save
the waveforms on the oscilloscope to be used in the SAS3_EYEOPENING script. There is no
need to modify the default value
• Matlab Startup Path – This path will need to be altered depending upon the version of Matlab being
used. The user should also verify that this path is capable of being written to.
Running the SAS3_EYEOPENING script using an Separate PC
If the user is using a separate PC with a Matlab license to run the SAS3_EYEOPENING script first a
shared drive will need to be setup so that Matlab can see the waveforms which the scope acquires during
the QualiPHY run. Before running QPHY-SAS3 the following variable should be configured:
• Drive Letter for Matlab –This variable is used to tell the Matlab script where it should check on the
PC to find the waveforms to feed into the SAS3_EYEOPENING script. This will be the location of
the shared drive.
• Path to Saved Waveforms for offline test – This variable sets the path to where QualiPHY will save
the waveforms on the oscilloscope to be used in the SAS3_EYEOPENING script. This path
should be defined so that it points to the drive which is being shared from the oscilloscope to the
separate PC.
• Matlab Startup Path – This path will need to be altered depending upon the version of Matlab being
used. The user should also verify that this path is capable of being written to.
922545 Rev A
43
APPENDIX A: CABLE DESKEWING
There is an automatic cable deskew wizard built in to QPHY-SAS3. When the variable Test Mode is set to
Yes then deskew wizard will prompt the user before the making the first acquisition.
Note: Cables should be deskewed once the temperature of the oscilloscope is stable. The oscilloscope
must be warmed up for about twenty at least a half-hour before proceeding. This procedure should be run
again if the temperature of the oscilloscope changes by more than a few degrees.
Figure 38 – Startup of Deskew Wizard
If you press Yes the wizard will begin to step through the deskew process. There are two different options
for deskewing: use the MFTP from the DUT or use the Fast Edge from the oscilloscope.
Figure 39 – Choice of Deskew Method
44
922545 Rev A
QPHY-SAS3 Software Option
Using Fast Edge
The Fast Edge deskew technique will use the Fast Edge output on the oscilloscope to deskew C2 and
C3.
The first step is to connect C2 to the Fast Edge connection on the oscilloscope. The connection to C2
should the cables and DC blocks which will be used during the testing.
Figure 40 – Fast Edge – Step 1 Prompt
Before moving on to Step 2 the display on the oscilloscope screen should appear as below. F2 is setup to
be used for the deskew calculation of C2.
Figure 41 – Fast Edge – Step 1 Oscilloscope Display
922545 Rev A
45
The second step is to disconnect C2 from the Fast Edge and connect C3. The connection to C3 should
the cables and DC blocks which will be used during the testing.
Figure 42 – Fast Edge – Step 2 Prompt
Before moving on to Step 3 the display on the oscilloscope screen should appear as below. F2 has been
saved to M2 and F3 is setup to be used for the deskew calculation of C3.
Figure 43 – Fast Edge – Step 2 Oscilloscope Display
46
922545 Rev A
QPHY-SAS3 Software Option
At this point the C2 and C3 can both be reconnected to the test fixture.
Figure 44 – Fast Edge – Step 3 Prompt
Before completing the deskew process the display on the oscilloscope screen should appear as below. F2
has been saved to M2 and has been saved to M3. The skew between M2 and M3 is calculated in P1.
This is the skew value which will be used during the testing. This value is stored in QPHY-SAS3 and it is
not necessary to re-run this process every time you run QPHY-SAS3.
Figure 45 – Fast Edge – Step 3 Oscilloscope Display
922545 Rev A
47
Using MFTP from DUT
The MFTP deskew technique will use the DUT to provide an MFTP signal to C2 and C3 in order to
deskew both channels.
The first step is to connect C2 to Txp on the DUT and C3 to Txn on the DUT. The DUT should be
configured to output a MFTP pattern. The connections to C2 and C3 should include the cables and DC
blocks which will be used during the testing.
Figure 46 – MFTP – Step 1 Prompt
Before moving on to Step 2 the display on the oscilloscope screen should appear as below.
Figure 47 – MFTP – Step 1 Oscilloscope Display
48
922545 Rev A
QPHY-SAS3 Software Option
The second step is to swap Txp and Txn at the device side.
Figure 48 – MFTP – Step 2 Prompt
Before moving on to Step 3 the display on the oscilloscope screen should appear as below. C3 has been
inverted and both C2 and C3 has been rescaled. The skew between C2 and C3 is calculated in P1. This
is the skew value which will be used during the testing. This value is stored in QPHY-SAS3 and it is not
necessary to re-run this process every time you run QPHY-SAS3.
Figure 49 – MFTP – Step 2 Oscilloscope Display
At this point the C2 and C3 can both be reconnected to the test fixture.
Figure 50 – MFTP – Step 3 Prompt
922545 Rev A
49
APPENDIX B: FILE NAME CONVENTIONS FOR SAVED WAVEFORM
DATA
When live tests are made, the acquired waveforms are stored using these file names. If there is data
which has been already acquired, to perform tests using this package, the files must be renamed to
conform to these conventions: Please note (at this time) there is no distinction between bit rates, so
please use different folders for results at 12, 6, 3, and 1.5 Gbps.
These files have semi-rigid record length (time duration) requirements for performing the needed tests
(shown in table below)
Test Signal Type
Tx+
Tx-
Recommended Record
duration
Out of Band or COMINIT
OOB_p
OOB_n
1 microsecond (or
100ns/div)
Compliance Jitter Test
Pattern
CJTPAT_p
CJTPAT_p
100 microseconds (or
10usec/div)
High Frequency Test
Pattern (10101010…)
HFTP_p
HFTP_n
500 microseconds (or
50us/div)
High Frequency Test
Pattern (10101010…)
with SSC down-spreading
HFTP-SSC-DOWN_p
HFTP-SSC-DOWN_n
500 microseconds (or
50us/div)
High Frequency Test
Pattern (10101010…)
with SSC centerspreading
HFTP-SSC-CENTER_p
HFTP-SSC-CENTER_n
500 microseconds (or
50us/div)
Medium Frequency Test
Pattern (11001100…)
MFTP_p
MFTP_n
500 microseconds (or
50us/div)
Medium Frequency Test
Pattern (11001100…) with
SSC down-spreading
MFTP-SSC-DOWN_p
MFTP-SSC-DOWN_n
500 microseconds (or
50us/div)
Medium Frequency Test
Pattern (11001100…) with
SSC center-spreading
MFTP-SSCCENTER_p
MFTP-SSCCENTER_n
500 microseconds (or
50us/div)
Scrambled Zero
SCR_0_p
SCR_0_n
100 microseconds (or
10us/div)
D30.3 pattern
D30p3_p
D30p3_n
100 microseconds (or
10us/div)
IDLE Reference 0
IDLE_REF0_p
IDLE_REF0_n
20 microseconds (or
2us/div)
IDLE Reference 1
IDLE_REF1_p
IDLE_REF1_n
20 microseconds (or
2us/div)
IDLE Reference 2
IDLE_REF2_p
IDLE_REF2_n
20 microseconds (or
2us/div)
50
922545 Rev A