Agilent Technologies N5416A Automated USB 2 Agilent Technologies N5416A Automated USB 2.0 Pre-Compliance Test Solution Technical Presentation
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Q&A
USB Integrators’ Forum USB 2.0 Overview USB Integrators’ Forum Created by Compaq, Hewlett-Packard, Intel, Lucent, Microsoft, NEC and Philips The USB-IF (www.usb.org) governs the specification and use of USB, and resolves any issues that arise
USB 2.0 Overview Data Rates The USB-IF combined all USB 1.1 and 2.0 speed buses into the USB 2.0 specification USB 2.0 consists of 3 modes--
Physical Characteristics USB 2.0 Overview Physical Characteristics Cables can be up to 5m long; hubs up to 5 levels deep Downstream data flows from PC to peripherals Upstream data flows from peripherals to PC USB Cable + Shield D+ VBUS D- Ground
USB 2.0 Overview Signal Levels Signal Level Transfer Full/Low Speed 3.3V, 12/1.5Mbps High Speed 400mV, 480Mbps Required bandwidth BW = 0.35/Tr= ~1 GHz (Tr = ~400 ps)
USB 2.0 Overview Path Impedances Characteristic measurements during mechanical test (High/Full speed cables) Characteristic Impedance Differential 90Ω± 15% Common Mode 30Ω± 30% Cable Attenuation 5.8dB @ 400MHz Propagation Delay 26ns D+/D- Propagation Skew 100ps
USB 2.0 Overview Transmission Modes Full Speed and Low Speed modes are determined by the location of the Rpu resistor (on D+ or D-). The bus starts in full speed mode using the Rpu resistor After Chirp Handshake, if high speed mode is available, the Rpu resistor is disconnected and bus changes to high speed mode.
Full Speed Packet Makeup USB 2.0 Overview Full Speed Packet Makeup Packet 1 Packet 2 Packet 3 SYNC PID(SOF) Frame No. CRC EOP SYNC PID(IN) ADDR ENDP CRC EOP SYNC PID(NAK) EOP frame
High Speed Packet Makeup USB 2.0 Overview High Speed Packet Makeup SYNC PID(IN) ENDP CRC ADDR EOP Signal Amplitude 400mV SYNC: 32(Minimum 12) bit Idle : SE0 EOP re-definition: NRZ 01111111 w/o bit stuffing (SOF EOP is 40 bit)
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Conclusion Q&A
USB 2.0 Compliance Testing Involves a set of test procedures (available from www.usb.org) performed in a specific order The USB 2.0 HS test procedure (v1.0) has been available since December 2001 The USB-IF performs the official compliance testing
USB 2.0 Compliance Testing Device Framework (Chapter 9) Tests USB Check last used at Jan. 2002 workshop and obsolete in March 2002 USB CV is the replacement
Interoperability Test USB 2.0 Compliance Testing Interoperability Test
USB 2.0 Compliance Testing Electrical Tests Full/Low speed signal quality In-rush current Droop/Drop Backdrive voltage FS/LS HS High speed test
HS Electrical Test Tool USB 2.0 Compliance Testing Required Test Software USB CV HS Electrical Test Tool Electrical Test Bed Computer Environment: Pentium ® III class or equivalent processor 128MB or more system memory Motherboard with PCI Rev. 2.2 expansion slots Network adapter or modem adapter for internet access Intel D815EEA motherboard Windows 2000 or XP (English version)
USB 2.0 Compliance Testing Full/Low Speed Tests Signal quality In-rush current Droop/Drop Backdrive voltage
Full/Low Speed Signal Quality USB 2.0 Compliance Testing Full/Low Speed Signal Quality USB Test Process 1. Connect Probe to Test Fixture 2. Connect device to Test Fixture 3. Select Proper Test in N5416A Script 4. Run Test
In FS tests, connect D+ of the adjacent device to scope ch 3 USB 2.0 Compliance Testing Upstream Host / System USB System (PC) Oscilloscope Up stream Hub HUB HUB HUB Adjacent Device HUB Devices HUB In FS tests, connect D+ of the adjacent device to scope ch 3 DUT SQiDD Connect D+ to ch 2 5m cable Connect D- to ch 1
USB 2.0 Compliance Testing Full/Low Downstream Setup
USB 2.0 Compliance Testing Upstream Trigger Setup The logic trigger occurs when the EOP is reached and the Adjacent device is idle (Trigger Setup is done automatically)
USB 2.0 Compliance Testing Measurement Data Measurement Setup & Result automatic
USB 2.0 Compliance Testing Full Speed Test Results Example Signal eye: *** eye failure! (14 data points violate eye) *** *** waiver granted. *** EOP width: 170.2029ns EOP width passes Consecutive jitter range: -1703.52ps to 2268.87ps RMS jitter 576.53ps Paired KJ jitter range: -584.58ps to 0.00ps, *** jitter failure *** *** waiver granted ***
USB 2.0 Compliance Testing Understanding Full Speed Test Results Measurement Items: D+ green D- blue common mode voltage purple crossover location yellow diamond eye diagram ref. yellow circle eye violation red dots
Types of Devices Tested USB 2.0 Compliance Testing Inrush Current Test Types of Devices Tested Bus powered devices Self-powered devices Vbus attach >120µf <10µf GND
USB 2.0 Compliance Testing Inrush Current Test Bus or self-powered USB devices Protects upstream devices from damage 50.0 µC limit Required Tests ・Overall result: fail! ・Inrush at 5.000V: 503μC *** inrush failure! *** (at 5.000V, maximum compliant inrush is 50μC)
USB 2.0 Compliance Testing Droop/Drop The HUB/Host Test: When a adjacent device is connected, the VBUS droop voltage must be within 330mV
Voltages must not exceed 0.4 V under any of these conditions USB 2.0 Compliance Testing Backdrive Voltage Voltage measured on D+, D-, and VBUS upon power-up After enumeration, USB plug is disconnected and voltage is measured on D+, D-, and VBUS Both measured with 15 k resistor to ground Voltages must not exceed 0.4 V under any of these conditions
USB 2.0 Compliance High Speed Testing Required Test Equipment Scope BW >=2GHz
USB 2.0 Compliance Testing High Speed Test High Speed Signal Quality Time Domain Reflectometry( TDR ) Reciever Sensitivity and Squelch J and K Voltage CHIRP Packet Parameters Suspend/Resume
HS Electrical Test Tools USB 2.0 Compliance Testing HS Electrical Test Tools The test mode can be any of the following: Test J Test K Test _SE0_NAK Test Packet Test Force Enable
USB 2.0 Compliance Testing HS Signal Integrity Test packet output by HS Electrical Test Tool The signal is isolated from the host by the HS Test Fixture Waveform is measured through a 90 ohm differential termination Differential Probe 90 Device HS Relay
Measuring High Speed Signal Quality USB 2.0 Compliance Testing Measuring High Speed Signal Quality Test packet output
USB 2.0 Compliance Testing HS Signal Quality Test Results Required Tests Overall result: pass! Signal eye: eye passes EOP width: 7.98 bits EOP width passes Receivers: reliable operation on tier 6 receivers pass Measured signaling rate: 480.0641MHz signal rate passes Near End High Speed Signal Quality Test Results for test1HS For details on test setup, methodology, and performance criteria, please consult the signal quality test description at the USB-IF Compliance Program web page. Required Tests Overall result: pass! Signal eye: eye passes EOP width: 7.98 bits EOP width passes Receivers: reliable operation on tier 6 receivers pass Measured signaling rate: 480.0641MHz signal rate passes Additional Information Consecutive jitter range: -48.5ps to 39.7ps, RMS jitter 17.7ps Paired JK jitter range: -32.8ps to 34.8ps, RMS jitter 13.2ps Paired KJ jitter range: -41.9ps to 63.4ps, RMS jitter 19.7ps
USB 2.0 Compliance Testing Device HS Signal Quality EL_2 Data rate specification (480 Mb/s±0.05%) EL_4 TP3 eye pattern requirement EL_5 TP2 eye pattern requirement (device with captive cable) EL_6 10-90% differential rise/fall times (longer than 500ps) EL_7 Monotonic data transitions for high speed drivers in the eye pattern template Data Rate = 480 Mb/s ±0.05% EL_2 EL_4 A USB 2.0 upstream facing port on a device without a captive cable must meet Template 1 transform waveform requirements measured at TP3. EL_5 An upstream facing port on a device with a captive cable must meet Template 2 transform waveform requirements measured at TP2. EL_6 High speed drivers must have 10% to 90% differential rise and fall times greater than 500ps EL_7 High speed drivers must have monotonic data transitions over the vertical openings (see appropriate eye pattern template).
USB 2.0 Compliance Testing HS Packet Parameters The device is controlled by the Electrical Test Tool on the PC The reply packet from the device is received and evaluated for: Sync EOP Spacing between packets
USB 2.0 Compliance Testing HS Packet Parameters Sync Field : 32 bit EOP : 8 bit
CHIRP, SUSPEND/RESUME/RESET Timing USB 2.0 Compliance Testing CHIRP, SUSPEND/RESUME/RESET Timing Device 90 USB Test Fixture Probe
USB 2.0 Compliance Testing CHIRP Test Reset duration CHIRP K Duration HS termination assertion CHIRP K (1ms <-> 7ms) Device turns on HS termination Device’s Chip Latency (2.5us <-> 3ms) Chirp KJKJKJ (500us以内)
Enable High Speed Termination After Chirp KJKJKJ (within 500us) USB 2.0 Compliance Testing CHIRP Test Device’s Chip Latency (2.5us <-> 3ms) Enable High Speed Termination After Chirp KJKJKJ (within 500us)
Suspend : 3.000ms <-> 3.125ms USB 2.0 Compliance Testing Suspend Timing Suspend : 3.000ms <-> 3.125ms D+ Voltage > 2.7V
USB 2.0 Compliance Testing Resume Timing Resume : < 2 bit time
USB 2.0 Compliance Testing Reset Timing Device CHIRP K Reset : 3.1ms <-> 6ms
Reset from Suspend : 2.5us <-> 3.000ms USB 2.0 Compliance Testing Reset Timing Reset from Suspend : 2.5us <-> 3.000ms
USB 2.0 Compliance Testing High Speed Receiver Sensitivity Pulse Generator Differential Probe Device SMA HS Relay In SE0_NAK test mode, pulse generator outputs IN token; device must not respond to tokens <100mV and must respond to tokens >150mV
USB 2.0 Compliance Testing High Speed Receiver Sensitivity Data generator Packet Device response
USB 2.0 Compliance Testing High Speed Receiver Sensitivity Note: A waiver may be granted if the receiver does not indicate squelch at +/-50mV of 150mV differential amplitude
USB 2.0 Compliance Testing Time Domain Reflectometry Confirm the signal is less than 10mV Use TDR to measure impedance of connector, circuit board, and active termination TDR HS Relay DEVICE SMA
Differential impedance Termination impedance USB 2.0 Compliance Testing TDR Test Results 70Ω ≦ ZHSTHRU ≦ 110Ω 80Ω ≦ ZHSTERM ≦ 100Ω Differential impedance USB Connector Termination impedance Thru impedance D- odd impedance D+ odd impedance
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Conclusion Q&A
Examples of Compliance Tests Test Example 1: Impedances The effects of source and termination impedances ± ZS Z0 ZL A(w) H(w) T(w) R2(w) R1(w) Unregulated output impedance of a driver could cause significant overshoot or undershoot
Examples of Compliance Tests Test Example 2: Full Speed *** Overall result: fail! *** Signal eye: *** eye failure! *** (33 data points violate eye)
Examples of Compliance Tests Coupling between D+ and D- Test Example 2: A Detailed Look Coupling between D+ and D-
Examples of Compliance Tests Cautions with USB 2.0 Measurements Hub quality can affect full/low speed upstream measurements For identical measurements to those in compliance tests, use Intel’s CHUB For high speed signal quality measurements, take care in handling low level signals. Be careful of: ①Adjusting the offset and performing calibration ②Effects of fixturing impedance on signal quality ③The bandwidth of the probe
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Conclusion Q&A
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Conclusion Q&A
Conclusion Summary Compliance testing is a requirement Compliance testing involves framework layer evaluation and physical layer evaluation In physical layer evaluation, signal quality is influenced by components, circuit layout, and driver circuitry An easy-to-use oscilloscope is an important factor in efficiently performing compliance testing Compliance testing is seen as being very important for ensuring the interoperability of USB devices.
Conclusion Reference Material Universal Serial Bus Specification Rev 2.0 (USB-IF) USB-IF Signal Integrity Test Description (USB-IF) USB Design by Example (John Hyde, John Wiley & Sons INC) Universal Serial Bus System Architecture (Don Anderson, MINDSHARE INC) USB 2.0 High Speed Electrical Test Procedure v1.0
Today’s Schedule USB 2.0 Overview USB 2.0 Compliance Testing Examples of Compliance Tests Demo of the Agilent Solution Conclusion Q&A