USB Intorduction 20150113
USB Intorduction 20150113
EVS1
Wu, TJ
IEC961063
2014/01/13
Inventec Confidential 2
USB Products
USB Products
- Why USB?
• Ease of use.
• Various application are implemented via the common protocol
channel.
• Support Hot plug-in/out.
• Lower cost of implementation.
• Port Expansion :
– Max. support up to 127 devices for a host.
• Backward compatible.
What’s USB
- End user ‘s view
USB
interface
Function execution :
Ex: Word file, video file, MP3…
etc.
– Device side:
• Function
– Ex: Office document, MP3,..etc.
• USB Logical Device
• USB Bus Interface
– Signal transaction interface.
• The communication between USB system software & USB logical Device is independen
t with which between Client Software and Functions.
– That is why USB have various application in real.
What’s USB
- Engineering ‘s view
USB Topology (I) : Physical topology
1. Tiered star topology with
Max. Support 127 devices.
(7bits Device Address)
– Function logically communicate with client software directly, but it uses USB
bus to transfer data in physical.
at
rec
ep
D ed
USB 2.0
- Coding
• NRZI coding :
– SE0: Both D+/D- are at low level state.
– 0 : J/K state reverse
– 1 : J/K state keep as-is.
– SE1: Both D+/D- are at high level state.
USB 2.0
- Detection
• 8bits (00000001) sequence is used for USB 1.1/1.0 device detection &
synchronization.
– Pull high D+ 1st : Full speed device
– Pull high D- 1st : Low speed device
USB 2.0
- Detection
• Chirping : Negotiate high speed device
– A device that is HS capable first connects as an FS device (D+ pulled high), but upon
receiving a USB RESET (both D+ and D− driven LOW by host for 10 to 20 ms) it pulls
the D− line high (800mV), known as chirp K.
– The device has to receive at least three sets of KJ chirps before it changes to high
bandwidth terminations and begins high bandwidth signaling.
USB 2.0
- Data transaction
• USB 2.0 is polled bus, token-based transaction :
– If USB device has information need pass to host, it has to wait host controller polls it.
– Host possesses the right to arrange all USB device’s transaction.
• Transaction Flow : 1. Token Packet
2. data Packet
3. Hand-shake Packet
– Bulk transfer
• Non-USB definition data format
• Support devices that need to communicate relatively large amounts of data at highly variable
times where the transfer can use any available bandwidth.
• Larger amount of data transfer, without limited-latency assurance.
• Ex: Scanner, printer, file transaction.
Transfer type of USB
• 4 main type of data transfer type of USB (cont’d)
– Interrupt Transfer
• Non USB definition data format
• Support those devices that need to send or receive data infrequently but with bounded
service periods.
• Allow a limited-latency data transfer.
• Ex: Joystick, Keyboard, Mouse
– Isochronous Transfer
• Non USB definition data format
• Support isochronous sources and destinations
• Continuous, Real time data transfer
• Ex: Voice con-call, webcam, video…etc.
Type A
Type B
Micro
Super speed
Non-Super speed
USB 3.x
-Synchronization (detection)
• Rx Detection for USB 3.x device detection.
– USB 3.0 uses LFPS (Low Frequency Periodic Signaling) for device detection.
– USB 3.1 uses SCD1/SCD2 (SS+ Capacity Declaration) for device detection.
USB 3.x
- Super speed Data transaction
• USB 3.x Separate data transfer with IN/OUT
• Host still own the right to arrange the transaction.
• IN means Data To Host (Read Data)
• OUT means Data From Host (Write Data)
USB 3.x
- Super speed Data transaction
IN transfer
2. Device immediately
1. Host sends handshake- transfer the data to host
packet to device (contain
token packet content) to
inform device sent the
data.
– USB 2.0 is half-duplex transaction; USB 3.x is dual-simplex uni-cast transaction, which
allow concurrent IN/OUT transaction.
– Because Super speed and non-super speed bus are parallel, so they can active
simultaneously.
Comparison of USB 2.0 & 3.x
USB 3.x
- Type C connector
• 24-pin double side reversible-plug connector
• Alternative mode (compatible with Display Port, MHL3.0, PCI-E…..)
• Support Power Delivery 2.0
USB 3.x
- Type C connector
• Compatible with Display Port, MHL3.0, PCI-E
D+ > 0.4V
DCP
Primary Detection Secondary Detection
USB Power Delivery
• Multiple Profiles from 5V/2A (10W) ~ 20V/5A (100W)
• Using 24MHz BPSK coded transmission on Vbus for power configuration protocol.
USB test items
Test Items Test Equipment EVS1 Test capability Note
SCD1/SCD2
1. For Type C connector USB test, new test fixture(e.g. C
LFBS
There is not test to A Adaptor) is required.
SSC 16GHz Scope(min) with test software package
Electrical software package 2. For Type C compatible PCI-E/DP test, New test fixture(
Eye Diagram
e.g. Spliter) is required.
TP1
USB 3.1
Rx test Pert/ J-bert/ AWG 12.5GHz J-bert need upgrade
CV Test USB-IF test fixture N/A
IOP USB-IF SS+ IOP Golden device N/A
Waiting USB-IF release test standard
B.C. USB-IF SS+ BC Golden device N/A
Link Layer USB Analyzer N/A
LFPS
SSC
13GHz Scope (min) with test software package V
Electrical Eye Diagram
TP1
USB 3.0 Rx test Pert/ J-bert/ AWG 6.5GHz V
CV Test USB-IF test fixture X
IOP USB-IF SS IOP Golden devices X
B.C. USB-IF SS BC Golden devices X
Link Layer USB Analyzer ( Lecroy & Ellesys) X
Eye Diagram 4GHz Scope (min) with test software package V
Chirp USB-IF test fixture V
Electrical Droop USB-IF test fixture V
USB 2.0
Inrush current
USB-IF test fixture V
(device only)
USB 2.0 IOP USB-IF USB 2.0 IOP Golden devices V
Chargin mode detection
V
B.C 1.2 (Protocol) test Allion USB Charging/Protocol/Electrical Tester(UCPET)
Chargin current test V
P.D. 2.0 unknown N/A N/A Waiting USB-IF release test standard
USB IOP
Interoperabili
ty
Inventec Confidential 40
Question and
Answer
Thank You
Reference
• USB Specification
• USB B.C 1.2
• USB Type C Specification
• USB Power Delivery Specification
• VESA DP-USB Type C Alternative mode overview
• Wiki – USB