Usb 3
Usb 3
Usb 3
0 Overview
Roy Chestnut Director- Product Line Management P&W
USB Constants
LeCroyconfidential2009
Transaction
sequence of one or more packets
Transfer
sequence of one or more transactions
LeCroyconfidential2009
Pipe
data stream to or from an endpoint
Default Pipe
Always present Endpoint 0 Shared by all Interfaces
LeCroyconfidential2009
USB Objectives
Single connector / Many peripherals Low cost Hot plug Plug and Play Enhanced performance Low power Eliminate device system resource requirements: IRQs, I/O address space
LeCroyconfidential2009
LeCroyconfidential2009
Power Efficient
Provides excellent power characteristics (especially for idle links)
Both on the device and platform
Extensible
Protocol designed to efficiently scale up
LeCroyconfidential2009
SuperSpeed USB
Dual simplex signaling Packets routed to device Hubs store and forward Asynchronous notifications
LeCroyconfidential2009
LeCroyconfidential2009
LeCroy Confidential
LeCroyconfidential2009
LeCroyconfidential2009
Power Management
Link State U0 U1 U2 U3 Description Link Active Link Idle, Fast Exit Link idle, Slow Exit Suspend Key Charactersitcs RX & TX Circuit Quiesced Clock Generation Circuit also Quiesced Portions of device power removed Exit Latency NA s range Low ms range Higher ms range
U0 to U1 entry based on 1. Downstream port inactivity time Port_U1_TimeOut ( Can be as low as 10us ) 2. Device hardware initiated Based on implementation specific knowledge In both cases - Always initiated with Link command LGO_U1 -> LAU
LeCroyconfidential2009
Link Commands
Link flow control Link power state change
Packets
Header packets
Store and forward Link level retries guarantee reliability Contain information consumed by link or host or device
Data packet
Compound packets contains header plus data payload
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
Streaming Protocol
Up to 64K Streams Supported per End Point Built on top of SuperSpeed Bulk protocol
Requires a Stream ID field (SID) in DPH and ACK TP
Think Tags
Available on IN and OUT pipes Transfer Level multiplexing of Data Streams Minimizes device and host hardware requirements
LeCroyconfidential2009
LeCroyconfidential2009
LeCroy Confidential
Burst Transactions
Back to back sequences of data packets Burst multiple packets while receiver ACKs without interrupting flow of data Number of packets in a burst is scheduled by the host Multiple OUTs at the Same time as Multiple Ins NumP Field in TP Header indicates the number of packets a device can receive Host sets NumP to Max burst size as long as there is space to receive data
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
USB 3.0 Link Mgmnt, Data & Transaction layer packets USB 2.0 and GBe interface to host 1 or 4GB capture memory 2ns timing resolution
Trigger In/Out
Tapping Interface
3.0 SuperSpeed Front End
Vitesse Crossbar Switch
Minimally Intrusive Tap (passive repeater) at 5Gbps
Preliminary subject
Power Tracker
Monitors VBus for voltage and current draw
Cascade Analyzers
Multi-channel Recording (up to 8)
Exerciser
1 port USB 3.0 / 2.0 Generation (non-concurrent) Host or Device Emulation Compliance Test Suite
LeCroyconfidential2009 LeCroy Confidential
Preliminary subject
Exerciser Overview:
Integrated Analyzer & Exerciser
Record and Transmit Simultaneously USB 2.0 & 3.0 Host & Device Emulation Micro Processor-based
512MB exerciser memory Bulk Out Operations
Limited to 16 1K packets per burst -(then reload)
Script-based execution
Compile and download to hardware
Frame templates Include Files Variables
Exerciser Allows Single Tap Point Exerciser Port Transmits & Records with single connection point
Reduces signal integrity issues for 5GHz signaling
LeCroyconfidential2009
LeCroy Confidential
Target schedule
2007
Promoters Group
2008
USB 3.0 spec Standards Development Product Development
2009
USB3.0 LSI Initial Deployment
2010
2011
Attendance at DevCon in US: 500; in Japan: 300. LeCroyconfidential downloaded by around 80K times. Spec was
2009
LeCroyconfidential2009
LeCroyconfidential2009
USB3.0 PC forecast
USB3.0 PC
100% 80%
PC with USB2.0
60% 40% 20% 0% 2001 2009
PC with USB3.0
USB2.0 USB3.0
2002
2010
2011
2003 2011
2004
2012
2009
2010
2012
CY
LeCroyconfidential2009
Media Player
Card reader
DSC
Hub
Monitor
Scanners
60% of USB 3.0 devices shipped during the next two years will be Mass Storage devices Symwave and LeCroy Demonstrate Worlds Fastest USB 3.0 System at CES, Data Transfer Speed of 435MB/sec
Using the LeCroy Voyager USB3.0 Exerciser, LeCroy was able to initiate and monitor traffic at sustained speeds of over 400MB/sec
LeCroyconfidential2009
LeCroy Confidential
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
Command Layer
USB-CV prototype software demod at Dev Con; Expected in 2010 Runs on top of PDK
First Plugfest for certification Early 2010 FYI testing available at the last and the next USB-IF workshop Devices can be certified now through the PIL operated by Intel LeCroy Protocol Compliance Suite released as BETA until the compliance spec is delivered.
LeCroyconfidential2009
LeCroy Confidential
LeCroyconfidential2009
51 LeCroyconfidential2009
Transmitter Testing
USB3 Clocking and Jitter Jitter Transfer Function SSC and CDR Slew Transmitter Compliance Compliance Test Channels and Reference Cable Equalization Eye Pattern Differential Impedance Cable Measurements
LeCroyconfidential2009
Receiver Testing
Required for compliance
No longer optional
LeCroyconfidential2009
Summary of LeCroy USB 3.0 compliance test solution Complete set of instruments for compliance and development
13 GHz real time oscilloscope for transmitter tests PERT3 for receiver tolerance test Sampling oscilloscope with TDR and s-parameters for TX/RX impedance and cable testing QualiPhy software automates all tests and generates report
Cost-effective solution
Two instruments cover all PHY tests PERT3 provides complete receiver tolerance testing at less than the cost of traditional BERT systems
54 LeCroyconfidential2009
LeCroy USB 3.0 Protocol Compliance Suite Command Layer & Link Layer Testing
Includes Chapter 9 Framework
Supports USB 2.0 and USB 3.0
LeCroyconfidential2009
Benefit:
Designed for Device Compliance pre-testing Comprehensive Superset of Test Spec > 100% coverage Intelligent host emulation Turnkey operation
LeCroyconfidential2009
LeCroyconfidential2009
Key Protocol Test Challenges: Probing & Signal Lock issues USB 3.0 Link Layer issues
Power Management Link Commands Error Recovery
LeCroyconfidential2009
Non-Intrusive
Minimal Effect on Link
Accuracy:
Record every bit
Valid & Invalid Data Packets, Ordered Sets Bus Events
Non-data (LFPS, Logical State changes)
Data Analysis
Error and Timing Reports
LeCroyconfidential2009
Link Initialization
Low Frequency Periodic Signaling (LFPS)
Out of Band Signaling
LFPS
TSEQ
TS1
TS2
LMP .
LeCroyconfidential2009
Detects Far-End Termination Low Frequency Periodic Signaling LFPS will Automatically transition to RX_EQ Training Sequence Equalization Both devices must send 65,536 TSEQ
TSEQ (RX_EQ)
TS1 Polling Active TS2 Polling Configuration Detect Logical Idle Must Detect Logical Idle before exiting to U0 Exit Polling to U0
LeCroyconfidential2009
LeCroyconfidential2009
Inband Reset
Initiate and manage Reset
Packets
Build and Transmit Packets Receive and Unpack Packets
LeCroyconfidential2009
Power Management
Link State Description Key Charactersitcs Exit Latency
U0 U1 U2 U3
Link Active Link Idle, Fast Exit Link idle, Slow Exit Suspend RX & TX Circuit Quiesced Clock Generation Circuit also Quiesced Portions of device power removed
U0 to U1 entry based on 1. Downstream port inactivity timer Port_U1_TimeOut ( Can be as low as 10us ) 2. Device hardware initiated Based on implementation specific knowledge
In both cases - Always initiated with Link command LGO_U1 -> LAU
LeCroyconfidential2009
LTSSM View Synchronized to trace view Shows all LTSSM State Changes Counts LTSSM State Changes
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
LGOOD_n :
HP ACK LC
HP; Hseq:2
LGOOD_2 LCRD_A
HP; Hseq:3
LGOOD_3 LCRD_B
HP; Hseq:4
LCRD_x :
HP flow control LC
LGOOD_4 LCRD_C
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
Host sends: DPH & Payload Device sends: LGOOD Acknowledgment of DPH Device sends: ACK TP with CRC Error Host Responds: LBAD Bad TP Device sends: LRTY and Resends ACK TP Host sends: LGOOD Acknowledgment
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
LeCroyconfidential2009
USB 3.0 Link Mgmnt, Data & Transaction layer packets USB 2.0 and GBe interface to host 1 or 4GB capture memory 2ns timing resolution
LeCroyconfidential2009