QPHY-SATA Serial ATA Serial Data Operator’s Manual Revision G – October, 2010 Relating to the Following Release Versions: Software Option Rev. 6.3 SATA Script Rev. 2.0 Style Sheet Rev. 1.
LeCroy Corporation 700 Chestnut Ridge Road Chestnut Ridge, NY, 10977-6499 Tel: (845) 578-6020, Fax: (845) 578 5985 Internet: www.lecroy.com © 2009 by LeCroy Corporation. All rights reserved. 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.
QPHY-SATA Software Option TABLE OF CONTENTS INTRODUCTION ........................................................................................................................ 6 Compatibility ............................................................................................................................................................... 6 SATA Test Fixture ..........................................................................................................................................
PeRT3 High Amplitude ..................................................................................................................................... 26 PeRT3 Low Amplitude ...................................................................................................................................... 26 Test RSG-01 – RSG-06 Variables .................................................................................................................... 26 Test Time (in minutes) ......................
QPHY-SATA Software Option FIGURES Figure 1. TF-SATA-C Test Fixture ........................................................................................................................... 7 Figure 2. Report menu in QualiPHY General Setup .............................................................................................. 9 Figure 3. The Test Report includes a summary table with links to the detailed test results .......................... 10 Figure 4.
INTRODUCTION QPHY-SATA is a software package designed to capture, analyze, and report measurements in conformance with Serial ATA II electrical specification standards. A copy of the specification can be found at www.serialata.org. The Serial ATA International Organization (SATA-IO) Interoperability Program outlined a list of tests a product must meet in order to gain acceptance to the integrator’s list. QPHY-SATA covers those tests appropriate for realtime oscilloscopes. SATA has three speeds (Gen1 at 1.
QPHY-SATA Software Option SATA Test Fixture Test fixtures are required to connect the signal under test to the oscilloscope running the QPHY-SATA software. A fixture kit is available from LeCroy (part number TF-SATA-C) that consists of the test fixture, four 30-inch cables with SMA connectors, 2 6dB attenuators and a multiwrench tool. They provide a means to probe the product under test via a standard SMA connector interface. The same fixture is compatible with Gen1, Gen2 and Gen3 standards.
SETUP AND INSTALLATION The following test equipment is required to perform SATA tests. Equipment Available from LeCroy Real Time Digital Oscilloscope as listed in Compatibility section with firmware release 6.3.0.0 or later SDA II is required. Eye Doctor II is required for channel emulation (6.0Gb/s only) and cable de-embedding.
QPHY-SATA Software Option o SAS Tracer 3G 1 Port Module o SAS Trainer 3G Traffic Generator Module Host Computer with SAS Tracer/Trainer Version 2.8 or later software loaded, and a USB 2.0 port 1 USB cable type-A (m) to type-B (m) 2 Serial ATA cables QUALIPHY COMPLIANCE TEST PLATFORM QualiPHY is LeCroy’s unique compliance test framework which leads the user through the compliance tests.
See the QualiPHY Operator’s Manual for more information on how to use the QualiPHY framework. Figure 3.
QPHY-SATA Software Option Oscilloscope Option Key Installation An option key must be purchased to enable the QPHY-SATA option. Call LeCroy Customer Support to place an order and receive the code. Enter the key and enable the purchased option as follows: 1. From the oscilloscope menu select Utilities Utilities Setup... 2. Select the Options tab and click the Add Key button. 3. Enter the Key Code using the on-screen keyboard. 4. Restart the oscilloscope to activate the option after installation.
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-SATA Software using QualiPHY This topic provides a basic overview of QualiPHY’s capabilities.
QPHY-SATA Software Option Customizing QualiPHY QualiPHY must be configured before running tests for the first time. There are many possible test configurations. It is easy to create and save configurations 1. Click the Configuration button in the QualiPHY main menu and select the “Empty Template” from the pop-up menu. 2. Click the Edit/View Configuration button in the QualiPHY main menu: 3. Set the controls as appropriate for the product under test and the instruments being used.
4. Click on the Test Selector tab to verify or modify the tests selected. Figure 6. QualiPHY test item selection menu Additional variables can be accessed and modified from the Variable Setup tab. Limits can be created and modified from the Limits Manager tab. There is a limit set for each speed. The default limit sets cannot be modified. To use custom limits first copy the default limit set and then modify the limits as desired.
QPHY-SATA Software Option Figure 7. Variable Setup and Limits Manager windows 5. After setup is complete the configuration can be saved for future use by clicking “Save As…” It will then appear in the Configuration drop down on the main QualiPHY window.
QPHY-SATA Operation After setting the configuration and 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 8. Start button Figure 9.
QPHY-SATA Software Option Test Pattern Generation Using LeCroy -SAS Tracer/Trainer Note: All the scripts described in this section can be edited to generate other results. Any modifications to the scripts are made at the exclusive risk of the user. LeCroy is not responsible for changes made by users that modify the expected behavior or produce software or equipment malfunctions. Testing a SATA product requires the generation of test patterns to determine compliance to SATA specifications.
To test a SATA host, connect a SATA cable between the LeCroy Protocol Exerciser “To Initiator” port and the Protocol Analyzer “Target” port. Then connect a second SATA cable between the Protocol Analyzer “Initiator” port and the host port under test, as shown in the following figure: 2. On the host PC, load the generation file for the desired test pattern in the SASTracer/Trainer software. The QPHY-SATA installation places these files in C:\Program Files\LeCroy\XReplay\SATA\SASTracer.
QPHY-SATA Software Option 3. In the SASTracer software, click Record Recording Options. Click the Recording Rules tab and Configure Bus Analyzer to start acquisition/trigger on event: SATA FIS BIST Activate, as follows: 4. Close the Recording Options window and click Record Start. Then, click Generate Start Generation. When the recording triggers, the SASTracer has sent the BIST Activate FIS. At this point, the PUT should be generating the test pattern specified in the traffic generation file.
5. Disconnect the SATA cable from PUT and connect the SATA test fixture to the oscilloscope (via SMA cables) and directly into the PUT as follows – both for a device (DUT) and a Host (Motherboard): Note: If the PUT is still not generating the test pattern it may not support BIST-T or it may not stay in the BIST mode after it is disconnected from the SASTracer.
QPHY-SATA Software Option QPHY-SATA Test Configurations Configurations include variable settings and limit sets as well, not just test selections. See the QPHY-SATA Variables section for a description of each variable value and its default value. The limit sets are either Gen1i, Gen2i or Gen3. Demo of 1.5 Gb/s Device with SSC This configuration uses waveforms stored on the oscilloscope in D:\Waveforms\SATA\Demo to demonstrate a Gen1 device with SSC.
TSG-06 – Amplitude Imbalance TSG-11 –TJ at Connector, 500UI (Edge-Ref) (3.0Gb/s) TSG-12 –DJ at Connector, 500UI (Edge-Ref) (3.0Gb/s) OOB-01 – Signal Detection Threshold OOB-02 – UI During OOB (Bitrate) OOB-03 – COMINIT and COMWAKE Burst Length OOB-04 – COMINIT Gap Length OOB-05 – COMWAKE Gap Length OOB-06 – COMWAKE Gap Detection OOB-07 – COMINIT Gap Detection Note: The waveforms for the demonstration are available from LeCroy as a compacted file SATA Demo Waveforms.
QPHY-SATA Software Option QPHY-SATA Variables Product Type Used to select whether the Product Under Test is a Serial ATA Host or Device. Hosts and devices require different connections. If this value is set incorrectly, it will result in the wrong connection diagrams being displayed. This variable also appears on the main Setup dialog. The default value is Device. Generation This variable allows the user to select the generation of the Product Under Test to indicate the max supported speed.
Custom Deembedding S-Parameter File This variable allows the user to supply an S-Parameter file to for cable de-embedding. The file should be located in the directory set in the “S-Parameters Files Path” and the “Cable Deembedding” variable should be set to Custom. By default this variable is empty. Cable Deembedding This variable allows the user to enable cable deembedding using the S-parameter file set in the “Custom Deembedding S-Parameter File.” The default value is None.
QPHY-SATA Software Option Save Waveforms Used to select whether or not acquired waveforms should be saved as trace (*.trc) files. The path for storing the waveforms is specified separately. The default value is Yes. Stop On Test to review results When set to Yes, the script will stop after each test to allow for result reviewing. The setup will be saved so that oscilloscope settings can be modified by the user. On resume, the setup will be recalled.
Test OOB-01 Variables OOB Amplitude Calibration Mode 3 This variable only applies when the PeRT is used. It allows the user to choose to run the automatic calibration of the OOB amplitude or to use values set in the PeRT3 High and Low Amplitude variables. The default value is Wizard Measured. PeRT3 High Amplitude PeRT3 Low Amplitude 3 These variables allow the user to specify the PeRT amplitude setting to use when running the OOB-01 High and Low threshold tests.
QPHY-SATA Software Option Physical Layer General Requirements (PHY) The PHY group of tests includes parameters from Table 29 – General Specifications in the SATA specification Rev 3.0. There are four tests in this group. The High Frequency Test Pattern (HFTP) is used for all four PHY tests. The data is demodulated and a low-pass filter is then applied to create an SSCTrack which displays how the data rate varies over time.
Figure 10. Screenshot of an SSCTrack for a product with SSC enabled In the previous screen shot, the center of the grid is at 3GHz and the SSC deviation is down spread as required. PHY Transmitted Signal Requirements The PHY Transmitted Signal requirements (TSG) group of tests includes parameters from Table 31 in the SATA specification, revision 3.0. There are a total of 12 tests defined in this group.
QPHY-SATA Software Option Figure 11. Screenshot of the VDiffMin measurement using LBP The maximum differential output voltage is measured as a percentage of points exceeding half of the maximum allowed voltage in the positive (pu) or negative (pl) directions. It is tested on MFTP and LFTP. The results are reported for informational purposes only.
Figure 12.
QPHY-SATA Software Option TSG-02 – Rise/Fall Times This test measures the differential rise and fall times for the transmitted signal. The 20% and 80% levels are used. This test is only tested against the limits for the LFTP pattern. Results for HFTP are also reported for informational purposes. Previously, HFTP was normative and LFTP was informative, but it was changed in the SATA specification revision 3.0. TSG-03 – Differential Skew This test measures the skew between TX+ and TX-.
TSG-06 – Amplitude Imbalance (Obsolete) Note: This test was made obsolete by the SATA-IO. It can still be run, but it is not enabled by default. This test measures the amplitude imbalance of the differential pair. It is measured on HFTP and MFTP patterns and only for products running at 3.0Gb/s.
QPHY-SATA Software Option Figure 13. Amplitude Imbalance measurement on an MFTP pattern The following tests measure the jitter, Total (Tj) and Deterministic (Dj), of the transmitter. TSG-09 – Gen1 (1.5Gb/s) TJ at Connector, Clock to Data fBAUD/500 TSG-10 – Gen1 (1.5Gb/s) DJ at Connector, Clock to Data fBAUD/500 TSG-11 – Gen2 (3.0Gb/s) TJ at Connector, Clock to Data fBAUD/500 TSG-12 – Gen2 (3.
The following test requirements are only applicable to products running at 6Gb/s. TSG-13 – Gen3 Transmit Jitter This tests measures transmitter jitter for products running at 6Gb/s.The test emulates a Gen3 Compliance Interconnect Channel (CIC) and measures the random jitter (Rj) before the CIC using an MFTP pattern. Then it measures the total jitter (Tj) before and after the CIC using MFTP and LBP. The total jitter must be less than the Rj measured plus 0.34 UI.
QPHY-SATA Software Option IsoBER function. Then the vertical opening is measured at the center of the IsoBER. TSG-16 – Gen3 TX AC Common Mode Voltage This test measures the AC Common Mode Voltage for products running at 6.0Gb/s. It is measured using HFTP. The measurement is made in the frequency domain by examining the peaks at the fundamental and second harmonic frequencies.
Figure 15. Example of a Device detecting COMRESET When the device does not detect COMRESET it will not respond. However, some devices implement Asynchronous Signal Recovery (ASR) and send out COMINIT every 10ms. In that case, one COMINIT may be seen from the device, but it will be clear that the product is not responding to the COMRESET. The device must respond to every COMRESET above the minimum threshold voltage. A similar setup is used to test a host: Figure 16.
QPHY-SATA Software Option In this case, COMINIT is sent from the signal generator and the host must respond with COMRESET or COMWAKE. QualiPHY prompts the user to look at the oscilloscope and see if the product is responding to the OOB signal. If the product responds click Detect, otherwise, click No Detect. OOB-02 – UI During OOB This test measures the unit interval during the bursts of the COMRESET/COMINIT and COMWAKE signals.
Figure 17. COMINIT and COMWAKE Timing Measurements OOB-06 – COMWAKE Gap Detection This test measures the response of the product to COMWAKE with different gap widths. A signal generator is used to send COMWAKE to the product. A device should respond to COMWAKE by sending COMWAKE followed by ALIGN primitives. A host should respond to COMWAKE by sending ALIGN primitives. The setup is the same as OOB-01. 3 3 When using the PeRT the result is tested by the PeRT and not by the oscilloscope.
QPHY-SATA Software Option Figure 18. Example of a Device Detecting COMWAKE QualiPHY prompts the user to look at the oscilloscope and see if the product is responding to the OOB signal. If the product responds click Detect, otherwise click No Detect. OOB-07 – COMINIT/COMRESET Gap Detection This test measures the response of the product to COMINIT/COMRESET with different gap widths. A signal generator is used to send COMRESET to a device or COMINIT to a host.
PHY RSG Requirements 3 All tests in this section require a PeRT . Calibration – Gen1 (1.5Gb/s), Gen2 (3.0Gb/s) and Gen3 (6.0Gb/s) 3 Before running a receiver test the output of the PeRT must be calibrated appropriately so that it adds the correct amount of jitter and produces the correct eye opening at the end of the channel. This must be done separately for each speed. In addition, eSATA products require a different calibration for Gen1m and Gen2m.
QPHY-SATA Software Option CALIBRATION PROCEDURES 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.
Figure 22. 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 23. Measurement Settings for Deskew with the Fast Edge Output 3. Set the display to Single Grid Click Display -> Single Grid 4. Using the appropriate adapter, connect Channel X to the Fast Edge Output of the oscilloscope 5.
QPHY-SATA Software Option Figure 25. 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.
Cable Deskewing without 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 degree. 1.
QPHY-SATA Software Option 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 27.