Transcript
USB Developer Days 2015
USB Compliance and Certification Rahman Ismail Compliance Chair and CTO: USBIF Sr Software Architect: Intel Taipei, Taiwan November 17 – 18, 2015
November 17-18, 2015
USB Implementers Forum © 2015
1
USB Developer Days 2015
Session Agenda • Compliance: What/When/Where? • USB 3.1: What’s new? • USB PD: More Power • USB-C*: What to expect!
November 17-18, 2015
USB Implementers Forum © 2015
2
USB Developer Days 2015
The one connector to rule them all!
http://xkcd.com/927/
November 17-18, 2015
USB Implementers Forum © 2015
3
USB Developer Days 2015
Compliance Development Process Workshops Test Houses
PASS
C&I Test Specs
FAIL Test Tools And Procedures
C&I Test Specs Interpret
Test H/W & S/W Validates
•Spec Requirements
Define Test Assertions • Specific Test Requirements Test Algorithms
Test Criteria •Compliance •Interoperability
Clear Test Output Maps Directly to Test Spec
Predictable Path To Compliance November 17-18, 2015
USB Implementers Forum © 2015
4
USB Developer Days 2015
New Connector: New Compliance Requirements Electrical
Link
Functional
Framework Cable & Connector Interop Hub
Cable ID
Alternate Mode PHY Protocol
Power Supply
Policy USB-C
USB PD
USB 3.1
November 17-18, 2015
USB Implementers Forum © 2015
5
USB Developer Days 2015
Where Can I Get Certification? • USB 3.1 Gen 1 and USB 2.0 • • • •
Host Si: ITLs Hub Si: PIL for USB 3.1 Gen 1, ITLs for USB 2.0 Cables and connectors: ITLs All other products: ITLs or Workshops
• USB 3.1 Gen 2 • PIL • Target Q2 2016 for USB 3.1 Gen 2 Hub Si
• USB PD • USB PD Si: Workshops • End products: Available by Q1 2016 at Workshops and ITLs
• USB-C: • Cables and Connectors: ITLs • All other products: Available by end of Q4 2015 at PIL November 17-18, 2015
USB Implementers Forum © 2015
6
USB Developer Days 2015
USB 3.1: What’s new?
• Interop • Tx Compliance Test • Rx Compliance Test
November 17-18, 2015
USB Implementers Forum © 2015
7
USB Developer Days 2015
USB 3.1 Compliance: Interop • USB 3.1 Gen2 Testing • Main focus is backwards compatible with USB 3.1 Gen 1 • PDKs AND KGDs • Host: ASM 1142 Device: ASM 1351R
• Link testing currently with LeCroy
• Use of USB 3.0 (BCD 300h) is being deprecated • All SuperSpeed peripherals must use BCD of 310h • 12-18 month waiver period to allow for a smooth transition
November 17-18, 2015
USB Implementers Forum © 2015
8
USB Developer Days 2015
USB 3.1 Compliance: Electrical • Transmitter Compliance Eye Test • Short Channel (Connector Break-out with ~1” trace) • Long Channel (-14.5dB)
• Rj Test using Short Channel • Transmitter Equalization Test • LFPS TX Test • Receiver Jitter Tolerance Test • Short Channel • Long Channel
• SSC Profile Test November 17-18, 2015
USB Implementers Forum © 2015
9
USB Developer Days 2015
Transmitter Compliance Test • Host • HSETT • LFPS Ping Generator
• Device • LFPS Ping Generator
• Compliance Pattern Toggled using LFPS.ping pattern • Described in Section 6.4.4
November 17-18, 2015
USB Implementers Forum © 2015
10
USB Developer Days 2015
Transmitter Compliance Eye Test Fixture Selection • Choose the correct variance of the Compliance Load Board (CLB) that gives total channel loss (including the break-out fixture and 1m cable) • -14.5dB +/- 1dB
November 17-18, 2015
USB Implementers Forum © 2015
11
USB Developer Days 2015
Transmitter Compliance Eye Test Setup for Host
3
D+
2
D-
9
TX+
8
TX-
Type-A
1m Std-A to Micro-B Cable
Host Under Test 6
RX+ 5
RT Scope
RX-
November 17-18, 2015
USB Implementers Forum © 2015
12
USB Developer Days 2015
Sigtest: Common test tool
November 17-18, 2015
USB Implementers Forum © 2015
13
USB Developer Days 2015
Transmitter Compliance Eye Test Setup for Device • Use the same procedure for CLB fixture selection • Sigtest Template used is the same as Host TX test 5V V-Bus Supply
3
D+
2
D-
7
TX+
6
TX-
Micro-B
1m Std-A to Micro-B Cable
Device 10 RX+
RT Scope
9 RX-
November 17-18, 2015
USB Implementers Forum © 2015
14
USB Developer Days 2015
Receiver Jitter Tolerance Test Calibration
VNA
1m Type-C to Type-C Cable
• Eye calibrated at the end of a -23dB channel • Select the right fixtures that give -23dB loss: • Select one variant from 3 available for CLB • Select one variant from 3 available for Mock Host/Device November 17-18, 2015
USB Implementers Forum © 2015
15
USB Developer Days 2015
Receiver Jitter Tolerance Test Setup
BERT
1m Type-C to Type-C Cable
14.5dB Loss
November 17-18, 2015
USB Implementers Forum © 2015
16
USB Developer Days 2015
USB PD: More Power
• C&I • Tools • End User Communication
November 17-18, 2015
USB Implementers Forum © 2015
17
USB Developer Days 2015
USB PD Compliance and Interoperability • PD Compliance Tester • “All-in-one” tester that covers Chapters 4-7 of the PD specification
• Cable detection and enforcement of current limitations • Legacy USB-C to A/uB Cables • USB-C Cables
• Cables and Connectors (Ch. 3) • Eye Diagram, Bit Rate/Bit Rate Drift, Interference Rejection, Termination Impedance • Discovery Tests [IDs, SVIDs, Modes], SOP Tests, Mode Tests [Enter Mode, Exit Mode] November 17-18, 2015
Software
Framework tests for Chap 9
Protocol
Analyzers/Testers and Interop
Physical
Electrical testing
Cable and Connector
USB Implementers Forum © 2015
18
USB Developer Days 2015
USB PD Compliance and Interoperability • Physical Layer (Ch. 4/5) • Test signal quality and TX/RX operation over CC line • Eye Diagram, Bit Rate/Bit Rate Drift, Bus Idle • Interference Rejection, Termination Impedance, Message Tests • BIST, Capabilities, Message ID, Resets
• Protocol (Ch. 6) • Test signaling, messages sequences and state operation • Capabilities Tests, Swap Tests [DR_Swap, PR_Swap, VCONN_Swap] • Discovery Tests [ID, SVIDs, Modes]
• Power Supply (Ch. 7) • • • •
Test power transitions and timing characteristics [Load Tests, Transition Tests] Ensure that the power supply can deliver as per its advertised capabilities Drop/Droop fixtures that are capable of testing up to 100W Perform Role swap if the PD device supports
• Device/System Policy (Ch. 8/9) • Manual IOP testing and USB CV testing • Test Local Policy Engine and power management • Configuration, Capabilities, P/C Port November 17-18, 2015
USB Implementers Forum © 2015
19
USB Developer Days 2015
USB PD Compliance Tools • PD Test Vendors • MQP • Ellisys • GRL
• Correlation of PD Test solutions • Ongoing, target date: Early December • High priority to enable ITLs
• USB-IF QuadraMax • Source Power and Policy Manager Tests (drop/droop, load capabilities across one or more Source ports, Hot Reset and Overcurrent) • Cable E-Marker check, IR loss and Simultaneous low speed signaling • Target availability Q1 2016
November 17-18, 2015
USB Implementers Forum © 2015
20
USB Developer Days 2015
Communicating USB PD to Users • USB PD Icons used to identify PD ports
• USB-IF* licenses use of icon • Compliance to specification required to use
• USB-IF* has published usage guidelines • Additional information to help vendors communicate source capabilities to users
November 17-18, 2015
USB Implementers Forum © 2015
21
USB Developer Days 2015
PD Compliance Plan Timeline • Current Revision 0.9 • Revision 1.0 [EOY] • Upcoming Events • PD IOP Event • Tentative Q1 2016 – Taipei Taiwan
• USB-IF Workshop 98 • Week of January 25th 2016 • PD End Product Certification
November 17-18, 2015
USB Implementers Forum © 2015
22
USB Developer Days 2015
USB-C: What to expect!
• C&I • Connector Certification • Product Certification
November 17-18, 2015
USB Implementers Forum © 2015
23
USB Developer Days 2015
USB-C Compliance and Interoperability • USB Logo Usage • Only products that meet or exceed the compliance test requirements are eligible to display the certified logo
• Two areas of testing • Cable and Connectors & Products
• Cable and Connector • Mechanical • Electrical • Cable E-Marker
• Products • Functional • Electrical
November 17-18, 2015
USB Implementers Forum © 2015
24
USB Developer Days 2015
Cable and Connector • Must run the E-Marker Test • Procedure can be requested from the USB-IF (
[email protected])
• SI Test Fixture • Board files available • Fabrication by Luxshare ICT
• Cable Assembly Shielding effectiveness • Available for USB-C and A Normative shielding effectiveness test over frequency ranges of interests November 17-18, 2015
USB Implementers Forum © 2015
25
USB Developer Days 2015
Products • Functional Test Assertions completed • Initial functional tests available
• Electrical test requirements/fixtures • Available very (very) soon! • Certification testing of products can be performed at PIL
• Certification requirements: • USB 3.1 Gen 1 or Gen 2 • USB PD if supported • USB-C
• Logo Usage Guidelines are available at: • http://www.usb.org/developers/logo_license/ November 17-18, 2015
USB Implementers Forum © 2015
26
USB Developer Days 2015
USB Type-C Functional Tests • Initial state test • USB-C terms are applied • All other USB functionality is not active
• Connection tests check USB-C synch-up between DUT and each USB-C role • • • • •
DUT with Source DUT with standard DRP DUT with DRP with Try.SRC DUT with Sink with Accessory Support DUT with Sink
• Swap tests • Check USB-C timings during PR_Swap, DR_Swap, VCONN_Swap
• Current tests check for correct USB-C Current advertisement and usage November 17-18, 2015
USB Implementers Forum © 2015
27
USB Developer Days 2015
USB-C Certification – Stage One • • • •
Testing at PIL Hosts and non-hub peripherals Up to and including USB Gen 2 speeds There is no official current measurement fixture, will be using analyzer for short term
• • • • •
No USB-C specific CV tests Interop includes Windows 10, MacBook, Chromebook USB-C functional tests implemented by Ellisys [LeCroy: WIP] QuadraMAX for drop/droop Looking for KGDs
November 17-18, 2015
USB Implementers Forum © 2015
28
USB Developer Days 2015
USB-C Certification – Stage Two • Products incorporating PD • PD must be certified silicon
• USBCV will have PD-specific tests • USB Gen 1 hubs • USB Gen 2 hubs
November 17-18, 2015
USB Implementers Forum © 2015
29
USB Developer Days 2015
USB-C Interop Tree SSP xHCI USB Type-C Host
USB Type-C Device (PD Consumer)
Self Powered USB Type-C Dock with Standard DS Port (with SSP Hub), Alternate Mode, Type-C Device and Power Delivery Capability
Alternate Mode
USB Type-C Device
SSP Cable (1m) SSP Cable (1m) Hub SSP1
Alternate Mode 4K Monitor DisplayPort
SSP Cable (1m)
Hub SSP2
SSP Cable (1m)
Hub SSP3
HS Cable (5m)
HS Cable (5m)
Hub SSP4
SSP Cable (1m) SSP Isoch Webcam
Hub HS2-MTT
SSP Low Power Drive
Hub HS3-STT Hub SS5
HS Cable (5m)
HS Cable (5m)
Hub FS3-2
Hub FS3-1
HS Drive
Mouse HS/FS Drive
HS/FS Webcam
Keyboard
November 17-18, 2015
USB Implementers Forum © 2015
30
USB Developer Days 2015
USB-C and Billboard • Billboard Spec version 1.1 has been released • Billboard device required if Alternate Mode is supported and no equivalent USB Functionality • Hubs with upstream Alternate Mode Functionality must expose standalone BB device • Standalone BB device must have 1 exposed interface • Dynamic changes need to be communicated via a connect/disconnect of BB device • BB device Certification • Only as part of a complete Alternate Mode Solution
• Test with USBCV! November 17-18, 2015
USB Implementers Forum © 2015
31
USB Developer Days 2015
Summary
November 17-18, 2015
USB Implementers Forum © 2015
32
USB Developer Days 2015
USB Type-C Compliance Top 10 #10 Upstream facing port needs to be clearly marked
#10 USB Type-C cable/connectors: must pass flip orientation and end to end orientation #9 All four high speed wires may be used at the same time Impacts the design/layout of the paddle board in the connector
#8 Only use legacy Rp in USB Type-C to USB Standard-A cables #7 Role swaps Test with as many other vendors as possible! Discharge handling and timing
#6 Pass Through Power Budgeting You need to account for power losses and power consumption of pass-through devices Don’t forget that if you have a USB Standard-A port, it still draws power with nothing connected
CONFIDENTIAL | USB Implementers Forum ©2008
November 17-18, 2015
USB Implementers Forum © 2015
33
USB Developer Days 2015
USB Type-C Compliance Top 10 #5 When coming to a workshop with a device with a battery, bring batteries that are fully discharged! #4 If your product supports multiple Source Capabilities, it must have more than 1 PDO listed for testing. An end product can only get cert if the silicon was certified with the same features enabled. #3 Use CC line to signal connect USB Type-C ports are cold sockets until connect detected. And connect on USB when VBUS is at vSafe5V .
#2 Don’t rely on VCONN Not necessarily supplied on every USB Type-C port Only Full-Featured ports supply VCONN
November 17-18, 2015
USB Implementers Forum © 2015
34
USB Developer Days 2015
USB Type-C Compliance Top 10
If plugging in your device produces smoke
STOP TESTING!!!
November 17-18, 2015
USB Implementers Forum © 2015
35
USB Developer Days 2015
Q&A Session
November 17-18, 2015
USB Implementers Forum © 2015
36
USB Developer Days 2015
Backup Materials
November 17-18, 2015
USB Implementers Forum © 2015
37