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.
Data Block Selections .............................................................................................................................................. 22
QPHY-SAS2 TEST CONFIGURATIONS ................................................................................. 24
1.5 Gbps Tx tests using Live (Acquisition) Data ...................................................................................................... 24
1.5 Gbps Tx tests using Saved Data ........................................................................................................................ 24
3.0 Gbps Tx tests using Live (Acquisition) Data ...................................................................................................... 24
3.0 Gbps Tx tests using Saved Data ........................................................................................................................ 24
6.0 Gbps Tx tests using Live (Acquisition) Data ...................................................................................................... 24
6.0 Gbps Tx tests using Saved Data ........................................................................................................................ 24
Use the Upper (A) or Lower (B) Input ...................................................................................................................... 25
Bitrate for SAS2 ....................................................................................................................................................... 25
Is device either a Target or Initiator .......................................................................................................................... 25
Which port (A or B) is being tested .......................................................................................................................... 25
Path to saved Waveforms for offline test ................................................................................................................. 25
Save Individual Runs ............................................................................................................................................... 25
Test Mode ................................................................................................................................................................. 25
QPHY-SAS2 TEST DESCRIPTIONS ....................................................................................... 27
Tx Group 1 Out of Band Tests 5.1.x (OOB) ............................................................................................................. 27
Tx Group 2 Spread Spectrum Clocking Tests .......................................................................................................... 28
Tx Group 3 (Link Stability, Common Mode, … WDP) .............................................................................................. 30
Tx 5.3.1 Phy Link Rate Stability (HFTP) ........................................................................................................... 30
Tx 5.3.2 Common Mode RMS Voltage (CJTPAT) ............................................................................................ 31
Tx 5.3.4 and 5.3.5 Vpp, VMA, EQ (D30.3) ....................................................................................................... 32
Tx 5.3.6 Rise and Fall Times (HFTP) ............................................................................................................... 33
Figure 16 - Example of pop-up connection diagram and dialog box ............................................................... 23
Figure 17 - Oscilloscope Configuration after Out of Band Tests ...................................................................... 27
Figure 18 - OOB Test Results ................................................................................................................................ 28
Figure 19 - Oscilloscope Configuration after SSC Tests ................................................................................... 29
Figure 20 - SSC Test Results ................................................................................................................................ 29
Figure 21 - Oscilloscope Configuration after Phy Link Rate Stability Test ...................................................... 30
Figure 22 - Phy Link Rate Stability Test Results ................................................................................................. 31
Figure 23 - Oscilloscope Configuration after the Common Mode RMS Voltage Test ..................................... 31
Figure 24 - Common Mode RMS Voltage Results ............................................................................................... 31
Figure 25 - Oscilloscope Configuration after the Vpp, VMA and EQ tests ....................................................... 32
Figure 26 - Vpp, VMA and EQ Results .................................................................................................................. 33
Figure 27 - Oscilloscope Configuration after the Rise and Fall Times Test ..................................................... 33
Figure 28 - Rise and Fall Times Results .............................................................................................................. 34
Figure 29 - Oscilloscope Configuration after the Rj and Tj Tests ..................................................................... 34
Figure 30 - Rj and Tj Results ................................................................................................................................. 35
Figure 34 - Example BER Map with WDP Results (Figure 5.3.9-3 from UNH-IOL SAS-2 6Gbps Physical
Layer Test Suite) ............................................................................................................................................. 38
Figure 35 - Timebase Settings for Deskew with the Fast Edge Output ............................................................ 40
Figure 36 - Channel Pre-Processing Settings for Deskew with the Fast Edge Output ................................... 40
Figure 37 - Trigger Settings for Deskew with the Fast Edge Output ................................................................ 41
Figure 38 - Measurement Settings for Deskew with the Fast Edge Output ..................................................... 41
Figure 39 - Adjusted Timebase Settings for Deskew ......................................................................................... 41
Figure 40 - Save Waveform Settings for Deskew with the Fast Edge Output .................................................. 42
Figure 41 - Final Screen with Channel 2 and 3 Deskewed ................................................................................. 42
Figure 42 - The Skew parameter right side dialog, Skew clock 2 tab, showing default setup ....................... 44
917718 Rev A5
INTRODUCTION
QPHY-SAS2 is a software package designed to capture, analyze, and report measurements in conformance with
UNH IOL Serial Attached SCSI (SAS) Consortium SAS-2 6Gbps Physical Layer Test Suite (Version 1.01). A copy
of the specification can be found on the UNH IOL FTP site.
Note: As of March 2nd, 2010 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-2_6Gbps_Physical_Layer_Test_Suite_(v1.01).pdf.
Compatibility
QPHY-SAS2 is a software option compatible with the following LeCroy X-Stream oscilloscopes:
SDA II Option is required on WaveMaster oscilloscopes.
The minimum recommended bandwidth for testing SAS-2 targets and initiators at 6Gbps is
10GHz.
MATLAB is required (either installed on the oscilloscope or on a separate PC) for running the Waveform Distortion
Penalty test.
SETUP AND INSTALLATION
The following test equipment is required to perform SAS-2 tests.
Required Equipment
Real Time Digital Oscilloscope as listed in Compatibility section with firmware release 6.1.x.x or later, and
software option package QPHY-SAS2
QualiPHY Software (version 6.1.0.x or later) installed on either the oscilloscope or a separate PC.
SAS Test Fixture from Wilder Tech
Either the SAS Plug Adapter (SAS-TPA-P) or SAS Receptacle Adapter (SAS-TPA-R) must be
used depending on the connection to the device under test.
50Ω Coax Cable with SMA Male Connectors, qty = 2
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).
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 ~160ps for 6
Gbps)
1 PC power supply
DC Blocks , qty =2
<=10MHz to >=18GHz DC block are required for SAS2 testing (e.g Pasternack PE8210)
6 917718 Rev A
QPHY-SAS2 Software Option
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.
QualiPHY makes SAS-2 compliance testing easy and fast.
The QualiPHY software application automates the test and report generation.
Figure 1 - Report menu in QualiPHY General Setup
917718 Rev A7
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 917718 Rev A
QPHY-SAS2 Software Option
Oscilloscope Option Key Installation
An option key must be purchased to enable the QPHY-SAS2 option. Call LeCroy Customer Support to place an
order and receive the code. The software option SDA2 is also required.
Enter the key and enable the purchased option as follows:
1. From the oscilloscope menu select UtilitiesUtilities 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 UtilitiesUtilities 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) or the Network name of the scope (its serial number)
8. Use the “Test” button to verify connection to an active oscilloscope)
9. Click on the Use selected device button to use this connection (or the new selection will have no
effect)
10. Click the Close button.
QualiPHY is now ready to control the oscilloscope.
917718 Rev A9
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-SAS2 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-SAS2 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 USB3.0 SS 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 3 - QualiPHY main menu and compliance test Standard selection menu
10 917718 Rev A
4. Click the Configuration button in the QualiPHY main menu:
5. Select a configuration from the pop-up menu:
QPHY-SAS2 Software Option
Figure 4 - QualiPHY configuration selection menu
6. Click Start.
7. Follow the pop-up window prompts.
917718 Rev A11
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 917718 Rev A
QPHY-SAS2 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.
917718 Rev A13
Figure 6 - Variable Setup and Limits Manager windows
14 917718 Rev A
QPHY-SAS2 Software Option
USING THE LECROY SIERRA M6 FOR SAS TRANSMITTER TESTING
The LeCroy Sierra M6 protocol analyzer can be used to stimulate SAS-2 targets to output the required test
patterns for SAS-2 transmitter testing.
Required Equipment
LeCroy Sierra M6-4 or M6-2 SAS Protocol Analyzer
LeCroy Protocol Suite Utility is required to control the Sierra
This is available from www.lecroy.com.
Wilder Tech SAS-TPA-R Test Fixture (or equivalent)
SDA 813Zi Oscilloscope (see compatibility section for other valid oscilloscope models)
QPHY-SAS2 option required
2 high quality, short, matched SMA cables as described above
DC Blocks , qty =2
<=10MHz to >=18GHz DC block are required for SAS2 testing (e.g Pasternack PE8210)
TF-SATA-C-Kit (including 4 small cables, SSMP to SMA female)
1 SATA cable (for connection to the SIERRA M6)
Sierra configuration files: sas2 phy diagnostic page.sac, SAS2_PortA_Diagnostics.txt and
SAS2_PortB_Diagnostics.txt files (available from www.lecroy.com)
Figure 7 - Connection Diagram when using Sierra to control DUT
917718 Rev A15
Procedure
1. Be sure the SAS Protocol Suite utility supplied with the SIERRA M6 is installed. (The directories below
may change depending upon your installation choices)
2. Copy the sas2 phy diagnostic page.sac file to the following directory:
C:\Users\Public\Documents\LeCroy\SAS Protocol Suite\User.
3. Copy the SAS2_PortA_Diagnostics.txt and SAS2_PortB_Diagnostics.txt files to the following director:
C:\Users\Public\Documents\LeCroy\SAS Protocol Suite\System\DataBlock.
4. Connect the SAS-2 device primary port output to the T1 front-panel connector of the Sierra. The primary
port is closest to the center of the SAS-2 multi-pin connector.
a. The LeCroy TF-SATA-C test fixture is required to connector the SMA connectors of the Wilder Tech
test fixture to the SATA connector on the front of the Sierra.
b. Test signals will be available on the secondary port.
5. Power on both the SAS-2 device and the SIERRA
6. Open the LeCroy SAS Protocol Suite utility.
Figure 8 - LeCroy SAS Protocol Suite Utility
16 917718 Rev A
QPHY-SAS2 Software Option
7. Using the Find Device selection under the Tools menu, you will get the dialog below. Set it for T1 and
click on “Find device”.
Figure 9 - Device Identifier
8. This warning message appears. Select the “Yes” option. He resulting operation can take up to 30
seconds.
Figure 10 - Warning Message
If the search for device succeeds, the resulting dialog will look like this with the SAS Address shown in the
upper left.
Note: If you have a different cable adapter and are uncertain which SATA cable is the primary port, try both and the primary port will
have an address exactly one less than the secondary port.
917718 Rev A17
Figure 11 - Device Identifier with Device Address Shown
9. Record the Address shown in the Device List
10. Click on the Close button on the Device Identifier list.
11. Click on File -> Open and select the sas2 phy diagnostic page.sac file.
a. This file should be shown in the default directory where the file was previously copied.
b. This file contains the SCSI commands and diagnostic information you will need to control the
device‟s diagnostic modes.
18 917718 Rev A
QPHY-SAS2 Software Option
Figure 12 - LeCroy SAS Protocol Suite with SAC file loaded
12. In the Target SAS Address field, enter the address previously recorded from the Device Identifier
screen.
13. Click on Configuration -> Data Block
917718 Rev A19
Figure 13 – LeCroy SAS Protocol Suite Data Block Configuration
14. Click on the Delete All button to delete the current data block information
15. Click on the Load button (lower right corner) to select a new data block to load.
a. Select SAS2_PortA_Diagnostics.txt to load the data block for testing the A (primary) port of the
target.
b. Select SAS2_PortB_Diagnostics.txt to load the data block for testing the B (secondary) port of the
target.
16. Click on the lower „X‟ in the upper right hand corner to close the data block window.
20 917718 Rev A
QPHY-SAS2 Software Option
Figure 14 – LeCroy SAS Protocol Suite Closing the Data Block Window
17. Click the Yes button to save the changes to the data block.
18. Clicking the arrow on the right side of the Payload Data field will display a list of available commands to
send the target under test.
19. At power-on of the SAS-2 device, it should be in the “stopped” mode. In this mode it will be transmitting
the “Out of Band” signal (common to all 3 speeds of SAS-2). You can also force the device into this mode
by sending the A_STOP_COMINIT data block. These data block‟s are defined in the SAS-2 specification,
but have been supplied here for your convenience. You can select the data block for a give test signal
using the pull-down under the “Payload Data” field as shown below.
Note: To enter any test mode which is NOT OOB or Stopped, you must first set the device in the Stopped state (send
A_STOP_COMINIT data block), and then send the block desired.
917718 Rev A21
A_STOP_COMINIT
This is used to stop the current data output and return to OOB state. This must be
sent in order to change patterns.
A6G_SCR_0
Sends the 6Gbps Scrambled Zero Pattern
A6G_HFTP
Sends the 6Gbps HFTP Pattern
A6G_MFTP
Sends the 6Gbps MFTP Pattern
A6G_Idle
Sends the 6Gbps Electrical Idle Pattern
A6G_D30p3
Sends the 6Gbps D30.3 Pattern
A6G_CJTPAT
Sends the 6Gbps CJTPAT Pattern
A6G_HFTP_DOWN
Sends the 6Gbps HFTP with SSC Down spreading Pattern
A6G_HFTP_CENTER
Sends the 6Gbps HFTP with SSC Center spreading Pattern
A6G_MFTP_DOWN
Sends the 6Gbps MFTP with SSC Down spreading Pattern
A6G_MFTP_CENTER
Sends the 6Gbps MFTP with SSC Center spreading Pattern
A3G_SCR_0
Sends the 3Gbps Scrambled Zero Pattern
A3G_HFTP
Sends the 3Gbps HFTP Pattern
A3G_MFTP
Sends the 3Gbps MFTP Pattern
A3G_Idle
Sends the 6Gbps Electrical Idle Pattern
A3G_D30p3
Sends the 3Gbps D30.3 Pattern
A3G_CJTPAT
Sends the 3Gbps CJTPAT Pattern
A3G_HFTP_DOWN
Sends the 3Gbps HFTP with SSC Down spreading Pattern
A3G_HFTP_CENTER
Sends the 3Gbps HFTP with SSC Center spreading Pattern
A3G_MFTP_DOWN
Sends the 3Gbps MFTP with SSC Down spreading Pattern
A3G_MFTP_CENTER
Sends the 3Gbps MFTP with SSC Center spreading Pattern
A1p5G_SCR_0
Sends the 1.5Gbps Scrambled Zero Pattern
A1p5G_HFTP
Sends the 1.5Gbps HFTP Pattern
A1p5G_MFTP
Sends the 1.5Gbps MFTP Pattern
A1p5G_Idle
Sends the 1.5Gbps Electrical Idle Pattern
A1p5G_D30p3
Sends the 1.5Gbps D30.3 Pattern
A1p5G_CJTPAT
Sends the 1.5Gbps CJTPAT Pattern
A1p5G_HFTP_DOWN
Sends the 1.5Gbps HFTP with SSC Down spreading Pattern
A1p5G_HFTP_CENTER
Sends the 1.5Gbps HFTP with SSC Center spreading Pattern
A1p5G_MFTP_DOWN
Sends the 1.5Gbps MFTP with SSC Down spreading Pattern
A1p5G_MFTP_CENTER
Sends the 1.5Gbps MFTP with SSC Center spreading Pattern
Data Block Selections
22 917718 Rev A
QPHY-SAS2 Software Option
QPHY-SAS2 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 Product Under Test (PUT) to
change test signal modes (when necessary).
Figure 15 - Start button
Figure 16 - Example of pop-up connection diagram and dialog box
917718 Rev A23
QPHY-SAS2 TEST CONFIGURATIONS
Configurations include variable settings and limit sets as well, not just test selections. See the QPHY-SAS2
Variables section for a description of each variable value and its default value.
1.5 Gbps Tx tests using Live (Acquisition) Data
This configuration will run all of the tests except for the deskew tests and the WDP test. The limit set in use is
SAS2-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 deskew tests and the WDP test. The limit set in use is
SAS2-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 deskew tests and the WDP test. The limit set in use is
SAS2-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 deskew tests and the WDP test. The limit set in use is
SAS2-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 deskew tests and the WDP test. The limit set in use is
SAS2-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 deskew tests and the WDP test. The limit set in use is
SAS2-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.
Demo of 6Gbps Tx tests using Saved Data
This configuration will run all of the tests on the demo waveforms (available from www.lecroy.com). The limit set
in use is SAS2-6G. All of the variables are set to their default settings except Bitrate is set to 6e9, Test Mode is
set to Use Saved Data, Path to saved Waveforms for offline tests is set to D:\Waveforms\SAS2\Demo and
Demo Mode is set to Yes.
24 917718 Rev A
QPHY-SAS2 Software Option
QPHY-SAS2 VARIABLES
Use the Upper (A) or Lower (B) Input
For oscilloscope with 2 inputs per channel (Zi series oscilloscope >= 4 GHz bandwidth), 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 SAS2
This variable allows the user to specify the bitrate that is being used for testing. The default value for this variable
is 6e9.
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 use to generate the
proper connection diagram. The default value for this variable is Target.
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 use to
generate the proper connection diagram. The default value for this variable is Secondary.
Path to saved Waveforms for offline test
This variable allows the user to specify the location of the waveforms to be used when running QPHY-SAS2 in
Use Saved Data mode. The default value for this variable is D:\Waveforms\SAS2\.
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\SAS2\[Device Under Test]\Run1
When this value is set to "No" waveforms will be overwritten on every run and saved in:
D:\Waveforms\SAS2\[Device Under Test]
This setting has no effect when testing is on saved waveforms.
The default value for this variable is No.
StopOnTest
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.
Test Mode
This variable allows the user to choose to run QPHY-SAS2 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.
917718 Rev A25
Tx Positive Source
The variable allows the user to select the input source used for Tx postive signal. The default value for this
variable is C2.
26 917718 Rev A
QPHY-SAS2 Software Option
QPHY-SAS2 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.2 – Tx Maximum Noise During OOB Idle
2. 5.1.3 – Tx OOB Burst Amplitude
3. 5.1.4 – Tx OOB Offset Delta
4. 5.1.5 – Tx OOB Common Mode Delta
After the completion of the Out of Band Tests the oscilloscope is in the following configuration:
Figure 17 - 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 2 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.
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.
917718 Rev A27
Figure 18 - 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.2). 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.4). 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.3). 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.5).
This value must be between +/- 50mV in order to pass this test.
Tx Group 2 Spread Spectrum Clocking Tests
There are 3 tests run in this group. The tests that are run are:
1. 5.2.2 - Tx SSC Modulation Frequency
2. 5.2.3 - Tx SSC Modulation Deviation and Balance
3. 5.2.4 - Tx SSC DFDT (Informative)
Each of these 3 tests is run when the device is using Up-spreading, Down-Spreading and Center-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:
28 917718 Rev A
QPHY-SAS2 Software Option
Figure 19 - Oscilloscope Configuration after SSC Tests
Shown on this screen:
F2 is the SSCTrack of the input. This signal is filtered by a 4th order Butterworth filter with a 200kHz cutoff
as described by the specification.
F3 is the SSCTrack of the input without the effects of the 4th 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).
Figure 20 - 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.3). These values must be in between +/- 2400 kppm in order to pass this test for
center spreading, between -100 ppm and 2400 ppm for up spreading, and -2400 ppm 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.3). This is shown for information 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.2). This value must be between 30kHz and 33kHz
(inclusive) in order to pass this test.
917718 Rev A29
MinDFDT and MaxDFDT (P9 and P10) are calculated by measuring the minimum and maximum of the
DFDT (F3). This is the measured value for Tx- SSC DFDT Min and Tx- SSC DFDT Max (5.2.4). These
values must be between +/-850pm/us in order to pass this test.
Imbalance (P12) is measure of the deviation asymmetry of the DFDT. It is measured by taking the
absolute value of the sum of the averaged max peak level and the averaged min peak level. This is the
measured value of Tx – Deviation Asymmetry (5.2.3). This value must be between +/- 288 ppm in order
to pass this test. This test is only required on SSC with center spreading.
Tx Group 3 (Link Stability, Common Mode, … WDP)
There are 7 tests run in this group. The tests that are run are:
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 21 - Oscilloscope Configuration after Phy Link Rate Stability Test
Shown on this screen:
30 917718 Rev A
QPHY-SAS2 Software Option
F2 is the SSCTrack of the input. This signal is filtered by a 1st 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.
Figure 22 - 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 23 - 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 2 inputs and dividing by 2.
Figure 24 - Common Mode RMS Voltage Results
917718 Rev A31
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.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. After the completion of the Vpp, VMA and EQ tests the
oscilloscope is in the following configuration:
Figure 25 - 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.
32 917718 Rev A
QPHY-SAS2 Software Option
Figure 26 - 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 de-
emphasized low voltage level of the signal.
HighMode (P5) is the maximum peak from the right side of the F5. This represents the de-emphasized 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.5). This value must be less than 600mV in order to pass this test.
EQ (P8) is calculated as 20*log10(V
/VMA). This is the measured value of Tx - EQ (5.3.5). This value must
p-p
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 if 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 27 - Oscilloscope Configuration after the Rise and Fall Times Test
Shown on this screen:
F1 is the differential input waveform.
917718 Rev A33
F4 is the histogram of all of the measured 20-80 rise times.
Z2 is a zoom of F1.
Figure 28 - Rise and Fall Times Results
In the Measure section:
Rise 20-80 (P1) is 20-80 rise time of the differential input waveform (F1).
Fall 80-20 (P2) is the 80-20 fall time of the differential input waveform (F1).
Rise(UI) (P3) is the 20-80 rise time converted to Unit Interval. 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
.25UI in order to pass this test.
Fall(UI) (P4) is the 80-20 fall time converted to Unit Interval. 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 .25UI in
order to pass this test.
Tx 5.3.7 and 5.3.8 RJ, TJ (MFTP, MFTP-SSC-DOWN, MFTP-SSC-CENTER, MFTP-SSC-UP)
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, SSC Center Spreading, and SSC
Up Spreading). After the completion of these tests the oscilloscope is in the following configuration:
Figure 29 - Oscilloscope Configuration after the Rj and Tj Tests
34 917718 Rev A
QPHY-SAS2 Software Option
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 II.
Note: For more information on SDA II refer to the Understanding SDA II Jitter Calculation Methods technical brief available at the
following address: http://www.lecroy.com/tm/library/AppNotes/SDAII/Understanding_SDA_II_Jitter_Calculation_Methods.pdf
Figure 30 - Rj and Tj Results
In the SDA Jitter Section:
Tj(1e-12), Rj(sp), Dj(sp), Bitrate, Pj and DCD are shown. These are all calculations from SDA II. Only the
Rj(sp) and Dj(sp) parameters are used for further calculation. The rest of the parameters are
informational only.
Rj(sp) is the measured value for Tx - RJ (1-sigma) (5.3.7) using the “spectral” method. This is report for
information only.
In the Measure section:
Rj(14sigma) (P8) is calculated by multiplying Rj(sp) by 14. The resulting value is multiplied by 6e9 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(SAS2) (P9) converts Dj(sp) to unit intervals by multiplying by 6e9.
Tj(SAS2) is the sum of Rj(14sigma) and Dj(SAS2) (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
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-SAS2. For this reason, the WDP test is not included in any of the preloaded configurations. However,
QPHY-SAS2 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:
917718 Rev A35
Figure 31 - WDP Message Box
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 32 - Oscilloscope Configuration after the WDP Test
Shown on this screen:
36 917718 Rev A
QPHY-SAS2 Software Option
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\SAS2 directory on the oscilloscope.
Figure 33 - 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
patten of the appropriate length was sent from the device under test.
917718 Rev A37
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, 2010 this script can be found at the following site but this is subject to change:
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-SAS2).
The symbol and waveform data files are created the WDP test is run from QPHY-SAS2.
2. If MATLAB is installed on the oscilloscope:
Unzip the 09-015r0.zip file to the D:\Waveforms\SAS2 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 34 - Example BER Map with WDP Results (Figure 5.3.9-3 from UNH-IOL SAS-2 6Gbps Physical
Layer Test Suite)
38 917718 Rev A
QPHY-SAS2 Software Option
5. Enter the value for xWDP that is returned from the SASWDP screen in the dialog box described in the
Cable Deskewing using the Fast Edge Output (WavePro 7 Zi and WaveMaster 8Zi only)
The following procedure demonstrates how to deskew two oscilloscope channels and cables using the fast edge
output, with no need for any “T” connector or adapters.
This can be done once the temperature of the oscilloscope is stable. The oscilloscope must be warmed up for 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.
For the purpose of this procedure, the two channels being deskewed will be referred to as Channel X and
Channel Y. The reference channel will be Channel X and the channel being deskewed will be Channel Y.
1. Begin by recalling the Default Oscilloscope Setup
2. Configure the oscilloscope as follows:
Timebase
i. Fixed Sample Rate
ii. Set the Sample Rate to 40 GS/s
iii. Set the Time/Division to 1 ns/div
Figure 35 - Timebase Settings for Deskew with the Fast Edge Output
Channels
i. Turn on Channel X and Channel Y
ii. Set V/div for Channel X and Channel Y to 100mV/div
iii. Set the Averaging of Channel X and Channel Y to 500 sweeps
iv. Set the Interpolation of Channel X and Channel Y to Sinx/x
Figure 36 - Channel Pre-Processing Settings for Deskew with the Fast Edge Output
Trigger
i. Configure to Source to be FastEdge
ii. Set the Slope to Positive
40 917718 Rev A
Figure 37 - Trigger Settings for Deskew with the Fast Edge Output
Parameter Measurements:
i. Set the source for P1 to CX and the measure to Delay
ii. Set the source for P2 to CY and the measure to Delay
iii. Set the source for P3 to M1 and the measure to Delay
Figure 38 - Measurement Settings for Deskew with the Fast Edge Output
3. Set the display to Single Grid
Click Display -> Single Grid
QPHY-SAS2 Software Option
4. Using the appropriate adapter, connect Channel X to the Fast Edge Output of the oscilloscope
5. Adjust the Trigger Delay so that the Channel X signal crosses at the center of the screen
6. Change the Timebase to 50 ps/div
Figure 39 - Adjusted Timebase Settings for Deskew
7. Fine tune the Trigger Delay so that the Channel X signal crosses at the exact center of the screen.
8. Press the Clear Sweeps button on the front panel to reset the averaging
9. Allow multiple acquisitions to occur until the waveform is stable on the screen.
10. Save Channel X to M1
Click File -> Save Waveform
Set Save ToMemory
Set the Source to CX
Set the Destination to M1
Click Save Now
917718 Rev A41
Figure 40 - Save Waveform Settings for Deskew with the Fast Edge Output
11. Disconnect Channel X from the Fast Edge Output and connect Channel Y to the Fast Edge Output.
12. Press the Clear Sweeps button on the front panel to reset the averaging.
13. Allow multiple acquisitions to occur until the waveform is stable on the screen.
14. From the Channel Y menu, adjust the Deskew of Channel Y until Channel Y is directly over the M1 trace.
15. Ensure that P3 and P2 are reasonably close to the same value. (Typically < 5ps difference)
Figure 41 - Final Screen with Channel 2 and 3 Deskewed
42 917718 Rev A
QPHY-SAS2 Software Option
Cable Deskewing without using the Fast Edge Output
The following procedure demonstrates how to deskew two oscilloscope channels and cables using the differential
data signal, with no need for any “T” connector or adapters.
This can be done once the temperature of the oscilloscope is stable. The oscilloscope must be warmed up for 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.
1. Connect a differential data signal to C2 and C3 using two approximately matching cables. Set up the
oscilloscope to use the maximum sample rate (e.g. for WaveRunner 204Xi: two channel mode; on the
Smart Memory menu set Fixed Sample Rate 10GS/s). Set the timebase for a few repetitions of the
pattern (at least a few dozen edges).
2. On the C3 menu, check Invert. Now C2 and C3 should look the same.
3. Using the Measure Setup, set P1 to measure the Skew of C2, C3. Turn on Statistics (Measure menu).
Write down the mean skew value after it stabilizes. This mean skew value is the addition of Data skew +
cable skew + channel skew.
4. Swap the cable connections on the Data source side (on the test fixture), and then press the Clear
Sweeps button on the oscilloscope (to clear the accumulated statistics; since we changed the input).
5. Write down the mean skew value after it stabilizes. This mean skew value is the addition of (-Data skew)
+ cable skew + channel skew.
6. Add the two mean skew values and divide the sum in half:
8. Set the resulting value as the Deskew value in C2 menu.
9. Restore the cable connections to their Step 1 settings (previous). Press the Clear Sweeps button on the
oscilloscope. The mean skew value should be approximately zero - that is the data skew. Typically,
results are <1ps given a test fixture meant to minimize skew on the differential pair.
10. On the C3 menu, un-check the Invert checkbox and turn off the parameters.
In the previous procedure, we used the default setup of the Skew parameter (which is detecting positive edges on
both signals at 50%). We also inverted C3 in order to make C2 and C3 both have positive edges at the same
time.
917718 Rev A43
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
HFTP-SSC-CENTER_p
HFTP-SSC-CENTER_n
500 microseconds (or
50us/div)
Alternately, we clearly could have not inverted C3 and instead selected the Skew clock 2 tab in the P1 parameter
menu and set the oscilloscope to look for negative edges on the second input (C3). However, it is somewhat
agreed that the previous procedure looks much more aesthetically pleasing from the display as it shows C2 and
C3 with the same polarity
Figure 42 - The Skew parameter right side dialog, Skew clock 2 tab, showing default setup
§ § §
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 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)
44 917718 Rev A
QPHY-SAS2 Software Option
SSC center-spreading
High Frequency Test
Pattern (10101010…) with
SSC up-spreading
HFTP-SSC-UP_p
HFTP-SSC-UP_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-SSC-CENTER_p
MFTP-SSC-CENTER_n
500 microseconds (or
50us/div)
Medium Frequency Test
Pattern (11001100…) with
SSC up-spreading
MFTP-SSC-UP_p
MFTP-SSC-UP_n
500 microseconds (or
50us/div)
Scrambled Zero
SCR_0_p
SCR_0_n
100 microseconds (or
10usec/div)
D30.3 pattern
D30p3_p
D30p3_n
100 microseconds (or
10usec/div)
917718 Rev A45
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.