`
`Specification
`
`Compaq
`
`Hewlett- Pa cka rd
`
`Intel
`
`Lucent
`
`Microsoft
`
`NEC
`
`Philips
`
`Revision 2.0
`
`April 27, 2000
`
`ZTE/SAMSUNG 1008-0001
`ZTE/SAMSUNG 1008-0001
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Scope of this Revision
`The 2.0 revision ofthe specification is intended for product design. Every attempt has been made to ensure a
`consistent and implementable specification. Implementations should ensure compliance with this revision.
`
`Revision
`
`Comments
`
`Revision History
`
`November11 1994
`
`Supersedes 0.6e.
`
`December 30. 1994
`
`Revisions to Chapters 3-8, 10. and 11. Added
`appendixes.
`
`April 13. 1995
`
`Revisions to all the chapters.
`
`August 25, 1995
`
`Revisions to all the chapters.
`
`November 13, 1995
`
`Revisions to Chapters 1, 2, 5-11.
`
`1.0
`January 15. 199B
`
`
`Edits to Chapters 5, 6, 7, 8, 9. 10, and 11 for
`consistency.
`
`1.1
`
`September 23. 1998
`
`Updates to all chapters to fix problems identified.
`
`20 {draft 0.79] October 5, 1999
`
`Revisions to chapters 5, 7. 8. 9. 11 to add high
`speed.
`
`2.0 {draft 0.9]
`
`December 21 1999
`
`Revisions to all chapters to add high speed.
`
`Revisions for high—speed mode.
`
`April 27'r 2000
`
`Universal Serial Bus Specification
`Copyright © ZIIIIII, Compaq Computer Corporation,
`Hewlett-Packard Company, Intel Corporation, Lueent Technologies Inc,
`Microsoft Corporation. NEC Corporation, Koninklijke Philips Electronics NV.
`All rights resen'cd.
`
`INTELLECTUAL PROPERTY DISCLAIMER
`THIS SPECIFICATION IS PROVIDED TO YOU “AS IS” WITH NO WARRANTIES WHATSOEVER,
`INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFR [NGEMEN'I] OR FITNESS FOR
`ANY PARTICULAR PURPOSE. THE AUTHORS OF THIS SPECIFICATION DISCLAIM ALL LIABILITY.
`INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PROPRIETARY RIGHTS, RELATING TO USE
`OR IMPLEMENTATION OF INFORMATION IN THIS SPECIFICATION. THE PROVISION OF THIS
`SPECIFICATION TO YOU DOES NOT PROVIDE YOU WITH ANY LICENSE, EXPRESS OR IMPLIED,
`BY ESTOPPEL OR OTHERWISE. TO ANY INTELLECTUAL PROPERTY RIGHTS.
`
`All product names are trademarks, registered trademarks, or servicemarks of their respective owners.
`
`Please send comments via electronic moi! to reelrsuwsb. org
`For industry floral-motion, refer to the USB Ilrrpiemerrrers Forum web page or lrtrp:flwww.usb.org
`
`ZTE/SAMSUNG 1008-0002
`ZTE/SAMSUNG 1008—0002
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Acknowledgement of USB 2.0 Technical Contribution
`
`The authors ofthis specification would like to recognize the following people who participated in the USB
`2.0 Promoter Group technical working groups. We would also like to thank others in the USB 2.0
`Promoter companies and throughout the industry who contributed to the development of this specification.
`
`Hub Working Group
`John Carney
`Ken Stufflebeam
`David Wooten
`Matt Nieberger
`John Howard
`Venkat Iyer
`Steve McGowan
`Geert Knapen
`Zong Liang Wu
`Jim Clee
`Jim Guziak
`Dave Thompson
`John Fuller
`Nathan Sherman
`Mark Williams
`Nobuo Furuya
`Toshimi Sakurai
`Moto Sato
`
`Katsuya Suzuki
`
`Intel Corporation (ChairtEditor)
`Compaq Computer Corporation
`Compaq Computer Corporation
`Hewlett-Packard Company
`Intel Corporation
`Intel Corporation
`Intel Corporation
`Royal Philips Electronics
`Royal Philips Electronics
`Lucent Technologies Inc
`Lucent Technologies Inc
`Lucent Technologies Inc
`Microsoft Corporation
`Microsoft Corporation
`Microsoft Corporation
`NEC Corporation
`NEC Corporation
`NEC Corporation
`NEC Corporation
`
`Electrical Working Group
`Jon Lueker
`Intel Corporation [C hairlEditor)
`David Wooten
`Compaq Computer Corporation
`Matt Nieberger
`Hewlett-Packard Company
`Larry Taugher
`Hewlett-Packard Company
`Venkat [yer
`Intel Corporation
`Steve McGowan
`Intel Corporation
`Mike Pennell
`Intel Corporation
`Todd West
`Intel Corporation
`Gerrit den Besten
`Royal Philips Electronics
`Marq Kole
`Royal Philips Electronics
`Zong Liang Wu
`Royal Philips Electronics
`Jim Clee
`Lucent Technologies Inc
`Jim Guziak
`Lucent Technologies Inc
`Par Parikh
`Lucent Technologies Inc
`Dave Thompson
`Lucent Technologies Inc
`Ed Giaimo
`Microsoft Corporation
`Mark Williams
`Microsoft Corporation
`Toshihiko Ohtani
`NEC Corporation
`Kugao Ouchi
`NEC Corporation
`Katsuya Suzuki
`NEC Corporation
`Toshio Tasaki
`NEC Corporation
`
`ZTE/SAMSUNG 1008-0003
`ZTE/SAMSUNG 1008-0003
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`iv
`
`ZTE/SAMSUNG 1008-0004
`ZTE/SAMSUNG 1008-0004
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.1]
`
`Contents
`
`CHAPTER 1
`
`INTRODUCTION
`
`1.1 Motivatlon l
`
`1.2 Objective ofthe Specification
`
`1
`
`1.3
`
`Scope of theDocument 2
`
`1.4
`
`USB Product Compliance
`
`2
`
`].5 DocumentOrganization 2
`
`CHAPTER 2 TERMS AND ABBREVIATIONS
`
`CHAPTER 3 BACKGROUND
`
`3.]
`
`Goals for the Universal Serial Bus
`
`]]
`
`3.2
`
`Taxonomy of ApplicationSpace 12
`
`3.3
`
`Feature List .......................................................................................................................................... 13
`
`CHAPTER 4 ARCHITECTURAL OVERVIEW
`
`USB System Description ..................................................................................................................... 15
`4.1
`4.1.]
`Bus Topology
`16
`
`Physical Interface ................................................................................................................................ 17
`4.2
`4.2.] Electrical ]7
`4.2.2 Mechanical IE
`
`4.3 Power 18
`4.3.1
`PowerDistribution 18
`
`4.3.2
`
`PowerManagement 18
`
`4.4
`
`BusProtocol 18
`
`4.5 Robustness 19
`4.5.]
`ErrorDetection 19
`4.5.2
`ErrorHandling19
`
`SystemConfiguration 19
`4.6
`4.6.]
`Attachment ofUSBDevmes 20
`4.6.2 RemovalofUSBDevlces20
`4.6.3 BusEnumeranonZO
`
`ZTE/SAMSUNG 1008-0005
`ZTE/SAMSUNG 1008-0005
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`.....20
`4.7 Data Flow Types.............
`4.7.]
`Control Transfers
`....21
`
`.21
`4.7.2
`BulkTransfers
`2I
`InterruptTransfers
`....21
`IsochronousTransfers
`2I
`
`4.7.3
`4.7.4
`
`4.7.5
`
`
`Allocating USBBandwrdth
`
`USB Devices ...............................................................................
`4.8
`4.3.1
`Device Characterizations.........
`..
`
`........................................................... 22
`....22
`22
`
`4.8.2 DeviceDescriptions
`
`4.9
`
`USB Host: Hardware and Software ........................................
`
`........................................................... 24
`
`4.10 ArchitecturalExtensions....................
`
`. .. ...............
`
`.......24
`
`CHAPTER 5 USE DATA FLOW MODEL
`
`5.1
`
`Implementer Viewpoints.................
`
`.. .
`
`Bus Topology .............................................................................
`5.2
`5.2.1
`USB Host"
`5.2.2
`USB Devices:
`5.2.3
`Physical Bus Topology
`5.2.4
`Logical Bus Topology...
`5.2.5
`Client Software-to-function Relatlonshlp
`
`5.3
`
`USB Communication Flow
`
`........................................................... 2'?
`
`5.3.1
`5.3.2
`5.3.3
`
`DeviceEndpoints
`Pipes...
`..
`Frames ”antiMicrofi'ames...
`
`5.4 Transfer Types...
`5.4. I
`Table CalculationExamples
`
`.
`
`........38
`5.5 Control Transfers.
`........33
`5.5.1
`Control Transfer Data Forniat.
`........39
`5.5.2
`Control Transfer Direction.
`5.5.3
`Control Transfer Packet Size constraints.
`....39
`
`40
`5.5.4
`Control Transfer Bus AccessConstralnts
`
`5.5.5
`
`Control Transfer DataSequences
`
`lsoehronousTransfers...
`5.6
`5.6.1
`Isochro nous TransferData Format"
`562
`Isochronous Transfer Direction.
`5.6.3
`Isochronous Transfer Packet Size Constraints
`5.6.4
`Isochronous Transfer Bus Access Constraints
`
`
`
`5.6.5
`
`Isochronous Transfer Data Sequences....................................
`
`.
`
`..
`
`..
`
`........44
`........44
`....44
`44
`.47
`....47
`
`Interrupt Transfers ....................................................................
`5.7
`5.7.]
`Interrupt Transfer Data Format.
`5.7.2
`Interrupt Transfer Direction”
`5.7.3
`Interrupt Transfer Packet Size Constraints.
`5.7.4
`Interrupt Transfer Bus Access Constraints.
`5.7.5
`Interrupt Transfer Data Sequences
`
`
`
`.......................................................... 48
`........43
`........43
`........48
`....49
`.52
`
`vi
`
`ZTE/SAMSUNG 1008-0006
`ZTE/SAMSUNG 1008-0006
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`...
`Bulk Transfers"
`5.8
`5.8.1
`Bulk Transfer Data.Forrriat".........................
`
`5.8.2
`Bulk Transfer Direction...
`...
`5.8.3
`Bulk Transfer Packet Size Constraints.
`5.8.4
`Bulk Transfer Bus Access Constraints
`
`
`
`5.8.5
`
`Bulk Transfer Data Sequences
`
`52
`52
`52
`53
`53
`
`55
`
`5.9 High-Speed, High BandwidthEndpoints 56
`5.9.1
`High Bandwidth Inten'upt Endpoints
`56
`5.9.2
`High Bandwidth IsochronousEndpomts 57
`
`5.10 SplitTransactions 58
`
`5.11 Bus Access forTransfers 58
`
`5.11.1 TransferManagement 59
`5.11.2 Transaction Tracking...
`61
`...
`.
`5.11.3 Calculating Bus Transacticin Times...
`63
`5.11.4 Calculating Buffer Sizes1n Functions and S611ware...
`65
`5.11.5 Bus Bandwidth Reclamation. 65
`
`
`
`5.12 Special Considerations for lsochronousTransfers 65
`5.12.1 Example Non-USB IsochronousAppllcatlon 66
`5.12.2 USB Clock Mode]
`69
`
`5.12.3 ClockSynchronization 71
`5.12.4 lsochronousDev1ces 71
`5.12.5 Data Prebuffering'm
`80
`5.12.6 SOFTracking... 81
`5.12.7 Error Handling...
`81
`5.12.8 Buffering for Rate Matching
`82
`
`
`
`CHAPTER 6 MECHANICAL
`
`6.1 ArchitecturalOverview 85
`
`6.2
`
`Keyed ConnectorProtocol 85
`
`6.3 Cable 86
`
`6.4 Cable Assembly .................................................................................................................................... 86
`6.4.1
`Standard Detachable CableAssemblies 86
`
`6.4.2
`6.4.3
`6.4.4
`
`88
`High-ffuli-speed Captive Cable Assemblies .....
`90
`Low~speed Captive Cable Assemblies
`Prohibited CableAssemblies 92
`
`
`
`6.5 Connector Mechanical Configuration and Material Requirements................................................ 93
`6.5.1
`USB Icon Location“
`93
`6.5.2
`USB Connector Termination Data .................................
`94
`6.5.3
`Series “A” and Series “B" Receptacles
`94
`6.5.4
`Series “A” and Series “B" Plugs
`98
`
`
`
`vii
`
`ZTE/SAMSUNG 1008-0007
`ZTE/SAMSUNG 1008-0007
`IPR2018-00110
`|PR2018-00110
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`6.6 Cable MechanicalConfiguration and Material Requirements
`6.6.1
`Description...
`6.6.2
`Construction"
`
`.
`Electrical Characteristics...
`6.6.3
`6.1.4
`Cable Environmental Characteristics.
`6.1.5
`
`102
`......102
`.......103
`....105
`...106
`
`106
`
`6.7
`..106
`Electrical, Mechanical, and Environmental Compliance Standards
`114
`6.7.1
`ApplicableDocuments
`
`6.8
`
`6.9
`
`USB Grounding
`
`.
`
`.
`
`. .
`
`.
`
`.
`
`PCB Reference Drawmgs
`
`...114
`
`...114
`
`CHAPTER 7 ELECTRICAL
`
`7.1
`
`
`
`”Hflflflflflflflflflqflflqfl.'_I._.._.._I._._.._._.._..'_.i_..'_..'_..'_..‘_..'_.
`
`I—L-L-LnL-L-icbulquimlc-iu'w;
`
`_ONUIcD-UJM—D
`
`
`
`Signaling .............................................................................................................................................. 119
`......123
`USB Driver Characteristics...
`....129
`Data Signal Rise and Fall, Eye Patterns
`Cable Skew...
`..
`....139
`Receiver Characterlstlcs
`....139
`141
`Device Speed Identificatioiim
`....142
`Input Characteristics...
`....144
`Signaling Levels...
`157
`Data EncodIngIDecodIng
`...157
`Bit Stuffing...
`159
`SyncPattern
`159
`Data SignalingRate
`Frame Interval
`159
`160
`Data SourceSIgnalIng
`162
`Hub SignalingTimings
`164
`Receiver DataJitter
`.......l65
`Cable Delay...
`Cable Attenuation
`...167
`Bus Turn-around Timeand Inter-packetDelay
`168
`l 68
`Maximum End-to-end Signal Delay...
`169
`Test ModeSupport
`
`'-~JI
`... :—.
`‘--.'l
`7.1.18
`7.1.19
`7.1.20
`
`7.2
`Power Distribution .
`7.2.1
`Classes ofDevice5...
`7.2.2
`Voltage Drop Budget:
`7.2.3
`Power Control During Suspendeesume
`7.2.4
`Dynamic Attach and Detach...
`
`7.3
`Physical Layer“
`Regulatory ReqLiii'ementsn
`7.3.1
`1.32
`Bus Timinnglectrical CharacterIstIcs
`7.3.3
`Timing Waveforms
`
`........171
`171
`.......175
`......176
`...177
`
`.
`
`........178
`178
`l 78
`l 91
`
`viii
`
`ZTE/SAMSUNG 1008-0008
`ZTE/SAMSUNG 1008—0008
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`CHAPTER 3 PROTOCOL LAYER
`
`8.1
`
`8.2
`
`BytefBitOrdering 195
`
`SYNCField 195
`
`Packet Field Formats......................................................................................................................... 195
`8.3
`8.3.]
`Packet IdentifierField 195
`8.3.2
`AddressFields 197
`8.3.3
`Frame NumberField
`197
`
`8.3.4
`DataField 197
`
`8.3.5
`
`Cyclic RedundancyChecks 198
`
`PacketFormats I99
`8.4
`8.4.]
`TokenPackets 199
`
`8.4.2
`8.4.3
`8.4.4
`8.4.5
`
`8.4.6
`
`Split Transaction Special Token Packets ..........
`Start-of-Frame Packets
`DataPackets
`Handshake Packets
`
`
`
`Handshake ReSponses
`
`
`
`199
`204
`.......206
`206
`
`207r
`
`Transaction Packet Sequences.......................................................................................................... 209
`8.5
`8.5.]
`NAK Limiting via Ping Flow Control ..............
`2| 7
`8.5.2
`Bulk Transactions....................................................
`221
`8.5.3
`ControlTransfers 225
`
`8.5.4
`8.5.5
`
`Interrupt Transactions
`Isochronous Transactions
`
`228
`229
`
`
`
`8.6 Data Toggle Synchronization and Retry ......................................................................................... 232
`8.6.1
`Initialization via SETUP Token
`233
`8.6.2
`Successful Data Transactions
`233
`
`8.6.3
`8.6.4
`8.6.5
`
`233
`Data Corrupted or Not Accepted
`234
`Corrupted ACK Handshake.....................................
`Low-SpeedTransactions 235
`
`
`
`Error Detection and Recovery.......................................
`8.7
`8.7.]
`Packet Error Categories...........................................
`8.7.2
`Bus Tum—around Timing
`8.7.3
`False EOPs
`
`
`
`236
`236
`237
`237
`
`8.7.4
`
`Babble and Loss ofActivityRecovery 238
`
`ix
`
`ZTE/SAMSUNG 1008-0009
`ZTE/SAMSUNG 1008-0009
`IPR2018-00110
`|PR2018-00110
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`CHAPTER 9 USB DEVICE FRAMEWORK
`
`.......239
`USB Device States......
`9.1
`
`9.1.1
`.
`.
`.
`Visible Device States...................
`....239
`9.1.2
`243
`BusEnumeratlon
`
`....244
`9.2 Generic USB Device Operations.............
`9.2.1
`....244
`Dynamic Attachment and Removal...
`
`....244
`9.2.2
`Address Assignment.......
`244
`9.2.3
`Configuration
`.......245
`9.2.4
`Data Transfer
`9.2.5
`.......245
`9.2.6
`....245
`247
`9.2.7
`
`Power Management.....................
`RequestProcessirig.............................
`Request Error
`
`
`
`.
`
`.
`
`USB Device Req uests.....
`9.3
`9.3.1
`meequestType.........................................
`9.3.2
`bRequest
`wValue
`9.3.3
`9.3.4
`wlndex
`9.3.5
`
`
`
`wLength
`
`....248
`....248
`“1.249
`....249
`....249
`249
`
`......250
`Standard Device Requests
`9.4
`ClearFeature......................................
`9.4.1
`...252
`
`9.4.2
`253
`GetConfiguration
`9.4.3
`.253
`GetDescriptor
`9.4.4
`.254
`GetInterface
`.254
`9.4.5
`Get Status
`....256
`9.4.6
`SetAddress
`.257
`9.4.7
`Set Configuration
`257
`9.4.8
`SetDescriptor
`Set Feature
`....258
`9.4.9
`
`259
`9.4.10 SetInterface
`9.4.1 1
`260
`
`SynchFrame
`
`9.5 Descriptors...........
`
`....260
`
`Standard USB Descriptor Definitions...... ..
`9.6
`9.6.1
`Device.
`9.6.2
`Device_Qiiiilifier..
`9.6.3
`Configuration"
`9.6.4
`Other_SpeedConfiguration
`9.6.5
`Interface.
`9.6.6
`Endpoint
`9.6.7
`
`....261
`....261
`....264
`
`.......266
`....267
`.269
`.273
`
`. .
`
`.
`
`Device Class Definitions .....................................................................................................................274
`9.7
`.......274
`9.7.1
`9.7.2
`.......274
`....274
`9.7.3
`
`lnterface(s)uand Endpoint Usage
`
`Descriptors...
`
`Requests...
`
`ZTE/SAMSUNG 1008-0010
`ZTE/SAMSUNG 1008-0010
`IPR2018-00110
`|PR2018—001 1O
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`CHAPTER 10 USB HOST: HARDWARE AND SOFTWARE
`
`10.] Overview of the USB Host
`10.1.1
`Overview"
`10.1.2
`Control Mechanisms...
`Data Flow“
`10.1.3
`10.1.4
`Collecting Status aridActivity Statistlcs
`10.1.5
`Electrical Interface Considerations...
`
`
`
`10.2 Host Controller Requirements
`10.2.1
`State Handling...
`
`10.2.2
`.
`SerializerI'DeseriaIizer"
`10.2.3
`Frame and Microfiame Generation ...........
`
`10.2.4
`Data Processing...
`10.2.5
`Protocol Engine...
`10.2.6
`Transmission Error Handling
`10.2.7
`Remote Wakeup...
`10.2.8
`Root Hub
`... ..
`10.2.9
`Host System intei'face"
`
`
`
`10.3 Overview of SoftwareMechanisms
`10.3.1
`10.3.2
`10.33
`10.34
`
`DeviceConfiguration
`Resource Management"
`Data Transfers.
`Common Data Det'nltlons
`
`
`
`10.4 Host Controller Driver
`
`10.5 Universal Serial BusDriver.
`10.5.1
`USBD Overview”
`10.5.2
`10.5.3
`10.5.4
`10.5.5
`
`USBD Command Mechamsm Requirements
`USBD Pipe Mechanisms..
`Managing the USB via the USBD Mechanisms
`Passing USB Preboot Control to the Operating System...
`
`275
`275
`278
`278
`279
`279
`
`279
`280
`280
`280
`281
`281
`282
`282
`282
`283
`
`283
`283
`285
`286
`286
`
`287
`
`287
`288
`289
`291
`293
`295
`
`10.6 Operating System Environment Guides .......................................................................................... 296
`
`CHAPTER 11 HUB SPECIFICATION
`
`11.] Overview............................................................................................................................................. 297
`11.1.1
`297
`Hub Architecture
`298
`11.1.2
`
`
`Hub Connectivity”...................................... .. ..
`
`.
`
`.
`
`11.2 Hub FramefMieroframe Timer...
`11.2.1
`High-speed Microframe Timer Raiige....
`11.2.2
`Full--speed Frame Timer Range...
`11.2.3
`FramefMicroframe Timer Synchromzation
`11.2.4
`Microframe Jitter Related to FrameJ1tter
`11.2.5
`
`EOFl and EOF2 TimingPoints
`
`300
`300
`301
`301
`303
`303
`
`xi
`
`ZTE/SAMSUNG 1008-0011
`ZTE/SAMSUNG 1008-0011
`IPR2018-00110
`|PR2018-00110
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`11.3
`
`Host Behavior at End-of-Frame ........................................................................................................306
`
`Fulln’low--speed Latest Host Packet... 306
`11.3.1
`11. 3. 2 Full-flow--speed Packet Nullification
`...... 306
`113.3 Full-flow-speed Transaction CompletionPrediction... 306
`
`Internal Port .......................................................................................................................................307
`11.4
`11.4.1 Inact1ve308
`
`11 .4 2 Suspend Delay... 308
`
`11 .43
`Full Suspend (Fsus): 308
`11..44 Generate Resume (GResume) 308
`
`11.5 Downstream Facing Ports... 309
`11.5.1 Downstream Facing Port State Descriptions... 312
`11.5.2 Disconnect Detect Timer... 315
`11.5.3 Port Indlcator316
`
`11.6 Upstream Facing Port318
`11.6.1 Fu11~speed318
`11.6.2 High«speed318
`11.6.3 Receiver....................................... 318
`
`11.6.4 Transm1tter322
`
`11.7 Hub Repeater ......................................................................................................................................324
`11.7.1 High-speed Packet Connectivity... 324
`11.7.2 Hub Repeater State Machine...
`327
`11.7.3 Wait for Start ofPacket from Upstream Port (WFSOPFU) 329
`11.7.4 Wait for End ofPacket from Upstream Port (WFEOPFU)... 330
`11.7.5 Wait for Start ofPacket (WFSOP)330
`11.7.6 Wait for End of Packet (WFEOP)330
`
`11.8 Bus State Evaluation ........................
`11.8.1 PortEn'or
`
`11.8.2 Speed Detection"
`11.8.3 Collision.
`11.8.4 Low-speed PortBehavior
`
`
`
`......330
`......330
`......331
`.........331
`.. ...331
`
`11.9 Suspend andResume332
`
`11.10 Hub ResetBehavlor334
`
`11.11 Hub Port PowerContr01335
`
`11.11.1 MultipleGangs335
`
`11.12 Hub Controller. 336
`11. 12.1 Endpoint Organization.
`... 336
`1112.2 Hub Information Architecture and Operatlon 337
`11. 12 3 Port Change Information Processing... 337
`11.12.4 Hub and Port Status Change Bitmap338
`11.125 Over-current Reporting and Recovery339
`11.126 Enumeration Handling340
`
`11.13 Hub Configuration ............................................................................................................................. 340
`
`xii
`
`ZTE/SAMSUNG 1008-0012
`ZTE/SAMSUNG 1008-0012
`IPR2018-00110
`|PR2018-OO110
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Transaction Translator ..................................................................................................................... 342
`11.14
`11.141 Overview"
`342
`
`11.142 Transaction Translator Schedullng
`
`344
`
`
`
`11.15 Split Transaction Notation Informatlon 346
`
`11.16 Common Split Transaction StateMachmes 349
`11.16.] Host Controller State Machine
`350
`
`11.162 Transaction Translator State Machine
`3S4
`
`11.17 BulkI'Control Transaction Translation Overview ........................................................................... 360
`
`11.17.] Bulk/Control Split Transaction Sequences 360
`11. 17.2 BquJ'Control Split Transaction State Machines
`366
`11.17.3 Bulkaontrol Sequencing...
`371
`
`11.17.4 Bulkaontrol Buffering ReqUJrements
`372
`11 17.5 Other BulldControl Details...
`372
`
`11.18 Periodic Split Transaction Pipelining and Buffer Management .................................................... 372
`11.1 8.1 Best Case Full-SpeedBudget 373
`11. 18.2 TTMicroframe Pipeline...
`373
`
`11. 18.3 Generation ofFull-s-peed Prairies"
`374
`11. 18. 4 Host Split Transaction Scheduling Requirements
`374
`11. 18.5 TTResponse Generation.
`... 378
`
`11. 13.6 TT Periodic Transaction Handling Reqmrements
`379
`11. 18. 7 TT TransactionTracking... 380
`11.18.13 TI' Complete-split TransactionState Searchmg
`381
`
`11.19 Approximate TT Buffer SpaceRequired 382
`
`382
`11.20 Interrupt Transaction Translation Overview
`11.20.] Interrupt Split TransactionSequences 383
`1120.2 Interrupt Split Transaction State Machines .............
`386
`
`1120.3 Interrupt OUT Sequencing
`392
`11.20.4 Interrupt IN Sequencing
`393
`
`11.21 Isochronous Transaction TranslationOverview 394
`
`395
`11.21 .1 Isochronous Split Transaction Sequences
`393
`1121.2 Isochronous Split Transaction State Machines ........
`
`11.213 Isochronous OUTSequenolng 403
`1121.4 Isochronous INSequencmg 404
`
`11.22 TT Error Handling...
`ll .22 1 Loss ofTT Synchronlzatlon WitIiHSSOFsm
`1122.2 TT Frame and Microframe Timer SynchronizationRequirements
`
`404
`404
`405
`
`11.23Descriptors... 407
`11 23.1 Standard Descrlptors forHiibCiass":
`407
`
`ll. 23. 2 Class-specific Descriptors... 417
`
`11. 24 Requests...
`ll ..24 1 Standard Requests
`11.24.2 Class-specific Requests:
`
`419
`419
`420
`
`xiii
`
`ZTE/SAMSUNG 1008-0013
`ZTE/SAMSUNG 1008-0013
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`APPENDIX A TRANSACTION EXAMPLES
`
`A.1 Bulleontrol OUT and SETUP Transaction Examples439
`
`A.2 BulldControl IN Transaction Examples464
`
`A3
`
`Interrupt OUT Transaction Examples .............................................................................................489
`
`AA-
`
`lnterrupt [N Transaction Examples509
`
`A.5
`
`lsochronous OUT SpAppendix A Transaction Examples
`
`APPENDIX B EXAMPLE DECLARATIONS FOR STATE MACHINES
`
`3.1 GlobalDeclarationsSSS
`
`3.2 Host Controller Declarations ............................................................................................................. 558
`
`3.3 Transaction TranslatorDeclaratmnsSfiD
`
`APPENDIX C RESET PROTOCOL STATE DIAGRAMS
`
`C.l Downstream Facing Port StateDIagramSfiS
`
`
`C.2 Upstream Facing Port StateDiagram567
`C.2.l
`Reset From Suspended State567
`(3.2.2
`Reset From Full-speed Non-suspended StateS’I’O
`C.2.3
`Reset From High-speed Non-suspended State570
`C24
`Reset Handshake570
`
`INDEX
`
`xiv
`
`ZTE/SAMSUNG 1008-0014
`ZTE/SAMSUNG 1008-0014
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Figures
`
`Figure 3-1. Application Space Taxonomy12
`
`Figure 4-1. Bus Topology16
`
`Figure 4-2. USBCable]?
`
`Figure 4-3. A TypicalHub23
`
`Figure 4-4. Hubs in a Desktop Computer Env1ronment23
`
`Figure 5-]. Simple USB Hosti’Device View25
`
`Figure 5-2. USB ImplementationAreasZ6
`
`Figure 5-3. HostCompos1t|on27
`
`Figure 5-4. Physical Device Composition28
`
`Figure 5-5. USB Physical BusTopologyZQ
`
`Figure 5-6. Multiple Full-speed Buses in a High~speed System30
`
`Figure 56". USB Logical Bus Topology30
`
`Figure 5-8. Client Sofiware-to-function Relationships31
`
`Figure 5-9. USB HosU'Device Detailed View32
`
`Figure 5-10. USB Communication Flow33
`
`Figure 5-11. Data Phase PID Sequence for lsochronous 1N High Bandwidth Endpoints....................................57
`
`Figure 5-12. Data Phase PID Sequence for Isochronous OUT High Bandwidth Endpoints................................58
`
`Figure 5-13. USB Information Conversion From Client Software toBu559
`
`Figure 5-14. Transfers for CommunicationFlows62
`
`Figure 5-15. Arrangement oflRPs to Transactionsf(Micro)frames63
`
`Figure 5-16. Non-USB Isochronous Example67
`
`Figure 5-17. USB Full-speed Isochronous Applicationit}
`
`Figure 5-18. Example SourcefSink Connectw1ty77
`
`Figure 5-19. DataPrebuffenngS]
`
`Figure 5-20. Packet and Buffer Size Formulas for Rate-matched lsochronous Transfers33
`
`Figure 6-1. Keyed Connector Protocol85
`
`Figure 6-2. USB Standard Detachable CableAssemblyS?
`
`Figure 6-3. USB High-ffuII-Speed Hardwired CableAssembly89
`
`Figure 6-4. USB Low-speed Hardwired Cable Assembly91
`
`Figure 6—5. USBIcon93
`
`Figure 6~6. Typical USB Plug Orientation93
`
`Figure 6-7. USB Series "A" Receptacle Interface and MatingDrawmg95
`
`Figure 6-8. USB Series "B" Receptacle Interface and MatingDraw1ng96
`
`XV
`
`ZTE/SAMSUNG 1008-0015
`ZTE/SAMSUNG 1008-0015
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Figure 6-9. USB Series "A" Plug InterfaceDravvmg99
`
`Figure 6-10. USB Series “B” Plug InterfaceDrawmg 100
`
`Figure 6-1 1. Typical High-ffull-speed Cable Construction
`
`102
`
`Figure 6-12. Single Pin-type Series "A"Receptacle] 15
`
`Figure 6-13. Dual Pin-type Series "A" Receptacle
`
`1 16
`
`Figure 6-14. Single Pin-type Series "B"Receptacle] 17
`
`Figure 7—1. Example High-speed Capable Transceiver Circuit120
`
`Figure 7-2. Maximum Input Waveforms for USB Signaling 124
`
`Figure 7-3. Example Full-speed CMOS Driver Circuit (non High-speed capable)...........................................125
`
`Figure ?-4. Full-speed Buffer WI Characteristics 126
`
`Figure 7-5. Full-speed Buffer Vi’] Characteristics for High—speed Capable Transceiver ................................... 127
`
`Figure 7-6. Full-speed Signal Waveforms123
`
`Figure 7-7. Low-speed Driver SignalWaveformSIZB
`
`Figure 7-8. Data Signal Rise and FallTime130
`
`Figure 7-9. Full-speedLoadl30
`
`Figure 7-10. Low-speed PortLoad5131
`
`Figure 7-11. Measurement Planes[31
`
`Figure 7-12. Transmitteri’Receiver Test Fixture
`
`132
`
`Figure 7-13. Template1133
`
`Figure 7-14. Template2134
`
`Figure 7-15. Template3135
`
`Figure 116. Template4136
`
`Figure 7-17. Template5 1311
`
`Figure 7-18. Template6138
`
`Figure 7-19. Differential Input Sensitivity Range for Low-ffull-speed
`
`140
`
`Figure 7-20. Full-speed Device Cable and ResistorConnections 14]
`
`Figure 7-21. Low-speed Device Cable and Resistor Connections 141
`
`Figure 7-22. Placement of Optional Edge Rate Control Capacitors for Low-ifull-speed
`
`Figure ”L23. Diagram for High-speed Loading Equivalent Circuit
`
`Figure 7-24. Upstream Facing Full-speed Port Transceiver
`
`143
`
`143
`
`146
`
`Figure 7-25. Downstream Facing Low-ffiill-speed Port Transceiver 146
`
`Figure 7-26. Low-ffull-speed DisconnectDetection 149
`
`Figure 7-27. Full-thigh~speed Device Connect Detection
`
`149
`
`Figure 7-28. Low-speed Device ConnectDetection 150
`
`Figure 7-29. Power-on and Connection EventsTiming 150
`
`Figure 7—30. Low-ffull—speed Packet Voltage Levels
`
`152
`
`Figure 7-3]. NR2] DataEncoding 157
`
`xvi
`
`ZTE/SAMSUNG 1008-0016
`ZTE/SAMSUNG 1008-0016
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Figure 7-33. Illustration ofExtra Bit Preceding EOP (Full—flow—speed}ISB
`
`Figure 7-34. Flow Diagram for Bit StuffingISB
`
`Figure 7—35. Sync Pattern (Low~ffull~speed)l59
`
`Figure 7-36. Data JitterTaxonomyl60
`
`Figure 7-37. SEO for BOP Width Timingl61
`
`Figure 7-38. Hub Propagation Delay of Full-Speed Differential Signalsl62
`
`Figure 7-39. Full-speed Cable Delay166
`
`Figure 7—40. Low»speed Cable Delay166
`
`Figure 7-4]. Worst-ease End-to-end Signal Delay Model for Low-ifull-Speed.................................................169
`
`Figure 7-42. Compound Bus-poweredHub172
`
`Figure 7-43. Compound Self-poweredHubl73
`
`Figure 7-44. Low-power Bus-powered Functionl74
`
`Figure 7-45. High-power Bus~powered Function174
`
`Figure 7-46. Self—powered Function175
`
`Figure 7-47. Worst-case Voltage Drop Topology (Steady State)175
`
`Figure 7-48. Typical Suspend Current Averaging Profile176
`
`Figure 7-49. Differential Data Jitter for Low-{full-5peed191
`
`Figure 7-50. Differential-to-EOP Transition Skew and EOP Width for Low-ffiill-Speed 191
`
`Figure 7-51. Receiver Jitter Tolerance for Low—lfull»speedl9l
`
`Figure 7-5 2. Hub Differential Delay, Differential Jitter, and SOP Distortion for Low-ffull-Speed ................... 192
`
`Figure 7-53. Hub EOP Delay and EOP Skew for low-ffull-speed....................................................................193
`
`Figure 8-1. PIDFormat195
`
`Figure 8-2. ADDR Field197
`
`Figure 8-3. EndpointF1e|dl97
`
`Figure 8-4. Data Field Format198
`
`Figure 8-5. TokenFormat199
`
`Figure 8-6. Packets in a Start-split Transaction200
`
`Figure 8-7. Packets in a Complete-split Transaction200
`
`Figure 8-8. Relationship ofInterrupt IN Transaction to High-Speed Split Transaction.....................................20]
`
`Figure 8-9. Relationship ofInterrupt OUT Transaction to High-speed Split OUT Transaction........................202
`
`Figure 8-10. Start-split (SSPLIT) Token202
`
`Figure 8-1]. PortField203
`
`Figure 8-42. Complete-split (CSPLIT) Transaction Token204
`
`Figure 8-13. SOFPacket204
`
`Figure 8-14. Relationship betWeen Frames and Microframes205
`
`Figure 8-15. Data Packet Format206
`
`xvii
`
`ZTE/SAMSUNG 1008-0017
`ZTE/SAMSUNG 1008-0017
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Figure 8-16. Handshake Packet206
`
`Figure 8-17. Legend for StateMachines210
`
`Figure 8-18. State Machine Context Overview21 1
`
`Figure 8—19. Host Controller Top Level Transaction State Machine Hierarchy Overview211
`
`Figure 8-20. Host Controller Non-split Transaction State Machine Hierarchy Overview.................................212
`
`Figure 8-21. Device Transaction State Machine Hierarchy Overview212
`
`Figure 8-22. Device Top Level StateMach1ne2l3
`
`Figure 8-23. Device_process_Trans StateMachine2l3
`
`Figure 8-24. Dev_do_OUT StateMachlne2l4
`
`Figure 8-25. DevfldojN StateMachine2l5
`
`Figure 8-26. HC_Do_nonsplit StateMach1ne216
`
`Figure 8-27. Host High-speed Bulk OUTi‘Control Ping StateMachme218
`
`Figure 8-28. Dev_HS_ping StateMachine219
`
`Figure 8~29. Device High—speed Bulk OUT {Control StateMachlne220
`
`Figure 3-30. Bulk TransactionFormat221
`
`Figure 8-3] . Bulkaontrolflnterrupt OUT Transaction Host State Machine222
`
`Figure 8-32. Bulk/Controli'lnterrupt OUT Transaction Device StateMachlne223
`
`Figure 8-33. Bulkaontrolflnterrupt IN Transaction Host State Machine224
`
`Figure 8-34. Bulleontroli'lnterrupt 1N Transaction Device StateMachme225
`
`Figure 8-35. Bulk Reads andWrites225
`
`Figure 3-36. Control SETUPTransaction226
`
`Figure 8-37. Control Read and Write Sequences226
`
`Figure 8-38. Interrupt Transaction Format229
`
`Figure 8-39. Isochronous TransactionFormat229
`
`Figure 8-40. Isochronous OUT Transaction Host StateMachine230
`
`Figure 3-41. Isochronous OUT Transaction Device StateMachine23l
`
`Figure 8-42. Isochronous IN Transaction Host StateMachine23l
`
`Figure 8-43. Isochronous IN Transaction Device State Machine232
`
`Figure 8-44. SETUP Initialization233
`
`Figure 8-45. ConsecutiveTransactions233
`
`Figure 3-46. NAKed Transaction withRetry234
`
`Figure 8-47. Corrupted ACK Handshake withRetry234
`
`Figure 8-48. Low-speed Transaction235
`
`Figure 3-49. Bus Turn-around TimerUsage237
`
`Figure 9-1. Device State Diagram240
`
`Figure 9-2. wlndex Format when Specifying an Endpoint249
`
`Figure 9-3. wIndex Format when Specifying an Interface249
`
`xviii
`
`ZTE/SAMSUNG 1008-0018
`ZTE/SAMSUNG 1008-0018
`IPR2018-00110
`|PR201 8-001 10
`
`
`
`Universal Serial Bus Specification Revision 2.0
`
`Figure 9-4. Information Returned by a GetStatusO Request to a Device
`
`Figure 9-5. Information Returned by a GetStatusO Request to an Interface
`
`Figure 9-6. Information Returned by a GetStatus() Request to an Endpoint
`
`Figure 9-7. Example of Feedback EndpointNumbers
`
`Figure 9-8. Example ofFeedback EndpointRelationships
`
`Figure 10~l.
`
`Interlayer CommunicationsModel
`
`Figure 10-2.
`
`Figure 10-3.
`
`Host Communications
`
`Frame and MicroframeCreation
`
`Figure 10-4.
`
`Configuration lnteractioiis....................................................
`
`.
`
`.
`
`.
`
`Figure 10-5.
`
`Figure 11-].
`
`Universal Serial Bus DriverStructure
`
`HubArchitecture
`
`Figure I I-2.
`
`Hub Signaling Connectivity
`
`Figure I I-3.
`
`ResumeConnectivity
`
`Figure 11-4.
`
`Example H igh-speed EOF Offsets Due to Propagation Delay Without EOF Advancement ........302
`
`Figure l 1-5.
`
`Example High-speed EOF Offsets Due to Propagation Delay With EOF Advancement..............302
`
`Figure 11-6.
`
`High-speed EOF2 TimingPoint
`
`Figure 11-7.
`
`High-speed EOF] TimingPoint
`
`Figure I I-8.
`
`Figure I I—9.
`
`Full-speed EOF TimingPomts
`Internal Port StateMachine
`
`Figure l I-lO.
`
`Downstream Facing Hub Port State Machine
`
`Figure ”-11.
`
`Port Indicator State Diagram
`
`Figure 11-12.
`
`Upstream Facing Port Receiver StateMachine
`
`Figure l I-l3.
`
`Upstream Facing Port Transmitter State Machine
`
`Figure 11-14.
`
`Example Hub RepeaterOrganization
`
`Figure [1-15.
`