SlideShare a Scribd company logo
1 of 87
[email_address] Pradeep Patel USB
Agenda ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Motivation ,[object Object],[object Object],[object Object],[object Object]
Why USB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
System Arch- north bridge/south bridge
Various USB devices ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Goals of USB2.0 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
USB Specification (USB2.0) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
The USB Concept (Functional Overview) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
USB-- “Universal Serial Bus” ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction…. ,[object Object],[object Object],[object Object],[object Object],[object Object]
Introduction… ,[object Object],[object Object]
Introduction… ,[object Object],[object Object],[object Object],[object Object]
Introduction ,[object Object],[object Object],[object Object],[object Object]
Advantages ,[object Object],[object Object]
Transfer Types in USB ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transfer Types in USB (continued…) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
USB topology
Speed Identification (FS) ,[object Object]
Speed Identification  (LS) ,[object Object]
Speed Identification (HS) ,[object Object],[object Object]
USB Protocol layer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Transaction (only token packet) Transaction (Token, data packet, Handshake)
USB Protocol layer (continued…) ,[object Object],[object Object]
Common USB Packet Fields   ,[object Object],[object Object],[object Object]
Common USB Packet Fields (Cont..) ,[object Object],[object Object],[object Object],[object Object]
USB Packet Types   ,[object Object],[object Object],[object Object],[object Object],[object Object]
Token Packets
Data Packets
Handshake Packets
Special
Logical organization of USB ,[object Object],[object Object],[object Object],[object Object],[object Object]
Endpoints
Endpoints (Cont..) ,[object Object],[object Object]
[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
Endpoint Types ,[object Object],[object Object],[object Object],[object Object],[object Object]
Control Transfers   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Setup Stage ,[object Object]
Data Stage ,[object Object],[object Object]
Status Stage
Interrupt Transfers   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Isochronous Transfers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Isochronous Transfers (Cont..)  ,[object Object],[object Object]
Bulk Transfers ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bulk Transfers   ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bandwidth Management   ,[object Object],[object Object]
USB Descriptors   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
USB Descriptors (Cont..)
Composition of USB Descriptors
Device Descriptors (Cont..)   ,[object Object],[object Object],[object Object],[object Object]
 
 
Configuration Descriptors ,[object Object],[object Object],[object Object]
 
Interface Descriptors ,[object Object],[object Object],[object Object]
Interface Descriptors
 
Endpoint Descriptors   ,[object Object],[object Object]
 
 
String Descriptors
All subsequent strings take on the format below
 
 
Bus Enumeration ,[object Object],1. The hub to which the USB device is now attached informs the host of the event via a reply on its status change pipe. At this point, the USB device is in the Powered state and the port to which it is attached is disabled. 2. The host determines the exact nature of the change by querying the hub. 3. Now that the host knows the port to which the new device has been attached, the host then waits for at least 100 ms to allow completion of an insertion process and for power at the device to become stable. The host then issues a port enable and reset command to that port.  4. The hub performs the required reset processing for that port. When the reset signal is released, the port has been enabled. The USB device is now in the Default state and can draw no more than 100 mA from VBUS. All of its registers and state have been reset and it answers to the default address.
Bus Enumeration (Cont..) 5. The host assigns a unique address to the USB device, moving the device to the Address state. 6. Before the USB device receives a unique address, its Default Control Pipe is still accessible via the default address. The host reads the device descriptor to determine what actual maximum data payload size this USB device’s default pipe can use. 7. The host reads the configuration information from the device by reading each configuration zero to n -1, where  n  is the number of configurations. This process may take several milliseconds to complete. 8. Based on the configuration information and how the USB device will be used, the host assigns a configuration value to the device. The device is now in the Configured state and all of the endpoints in this configuration have taken on their described characteristics. The USB device may now draw the amount of VBUS power described in its descriptor for the selected configuration. From the device’s point of view, it is now ready for use.
The Setup Packet   ,[object Object],[object Object],[object Object],[object Object]
The Setup Packet
Standard Device Requests
Standard Interface Requests
Standard Endpoint Requests
USB in Thermal Inkjet printers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Links to USB information ,[object Object],[object Object],[object Object]
Format of Setup Data
Standard Device Requests
USB H/w & S/f
USB H/w & S/f
Host Controller Requirements  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Host Controller Requirements … ,[object Object],[object Object],[object Object],[object Object],[object Object]
Hub ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Enumeration
Enumeration
UHCI Frame list
UHCI Frame list
[object Object]

More Related Content

What's hot

USB Powerpoint
USB PowerpointUSB Powerpoint
USB Powerpoint
aaron924
 

What's hot (20)

Usb 2
Usb 2Usb 2
Usb 2
 
Usb
UsbUsb
Usb
 
USB Universal Serial Bus
USB Universal Serial BusUSB Universal Serial Bus
USB Universal Serial Bus
 
Usb universal serial bus
Usb   universal serial busUsb   universal serial bus
Usb universal serial bus
 
USB Powerpoint
USB PowerpointUSB Powerpoint
USB Powerpoint
 
Usb protocol
Usb protocol Usb protocol
Usb protocol
 
USB protocol
USB protocolUSB protocol
USB protocol
 
Usb
UsbUsb
Usb
 
Universal Serial Bus (USB)
Universal Serial Bus (USB)Universal Serial Bus (USB)
Universal Serial Bus (USB)
 
USB 3.0 -Infinite Possibilities
USB 3.0 -Infinite PossibilitiesUSB 3.0 -Infinite Possibilities
USB 3.0 -Infinite Possibilities
 
Usb
UsbUsb
Usb
 
Usb
UsbUsb
Usb
 
Usb 3.0 technology mindshare
Usb 3.0 technology mindshareUsb 3.0 technology mindshare
Usb 3.0 technology mindshare
 
Introduction of USB 3.1
Introduction of USB 3.1 Introduction of USB 3.1
Introduction of USB 3.1
 
Usb
UsbUsb
Usb
 
HIGH SPEED U.S.B 3.0
HIGH SPEED U.S.B 3.0HIGH SPEED U.S.B 3.0
HIGH SPEED U.S.B 3.0
 
utmippt
utmipptutmippt
utmippt
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Usb connector
Usb connectorUsb connector
Usb connector
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
 

Viewers also liked

USB Specification 2.0 - Chapter 9 - Device Framework
USB Specification 2.0 - Chapter 9 - Device FrameworkUSB Specification 2.0 - Chapter 9 - Device Framework
USB Specification 2.0 - Chapter 9 - Device Framework
Macpaul Lin
 
Copy of mcse 514 communication_system
Copy of mcse 514 communication_systemCopy of mcse 514 communication_system
Copy of mcse 514 communication_system
Selim Reza
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
Edlynne Ogena
 

Viewers also liked (18)

USB 3.0 Intro
USB 3.0 IntroUSB 3.0 Intro
USB 3.0 Intro
 
Incoterms 2010. 3 parte
Incoterms 2010. 3 parte Incoterms 2010. 3 parte
Incoterms 2010. 3 parte
 
USB Specification 2.0 - Chapter 9 - Device Framework
USB Specification 2.0 - Chapter 9 - Device FrameworkUSB Specification 2.0 - Chapter 9 - Device Framework
USB Specification 2.0 - Chapter 9 - Device Framework
 
Pendrives (USB)
Pendrives (USB)Pendrives (USB)
Pendrives (USB)
 
wireless usb ppt
wireless usb pptwireless usb ppt
wireless usb ppt
 
Copy of mcse 514 communication_system
Copy of mcse 514 communication_systemCopy of mcse 514 communication_system
Copy of mcse 514 communication_system
 
Usb
UsbUsb
Usb
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Data Communication Principles
Data Communication PrinciplesData Communication Principles
Data Communication Principles
 
Profibus vs profinet
Profibus vs profinetProfibus vs profinet
Profibus vs profinet
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)
 
Wireless usb
Wireless usbWireless usb
Wireless usb
 
Advanced trends in microcontrollers by suhel
Advanced trends in microcontrollers by suhelAdvanced trends in microcontrollers by suhel
Advanced trends in microcontrollers by suhel
 
Unit 4
Unit 4Unit 4
Unit 4
 
Data Communication and Networking
Data Communication and NetworkingData Communication and Networking
Data Communication and Networking
 
Wireless usb
Wireless usbWireless usb
Wireless usb
 
Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
 
Transmission modes & medias networking
Transmission modes & medias networkingTransmission modes & medias networking
Transmission modes & medias networking
 

Similar to Usb Overview

Choosing_(and_Implem..
Choosing_(and_Implem..Choosing_(and_Implem..
Choosing_(and_Implem..
webhostingguy
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
New Era University
 

Similar to Usb Overview (20)

Peripherals
PeripheralsPeripherals
Peripherals
 
USB presentation by Mishuk
USB presentation by MishukUSB presentation by Mishuk
USB presentation by Mishuk
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
USB BASIC
USB BASICUSB BASIC
USB BASIC
 
Usb old
Usb oldUsb old
Usb old
 
Usb
UsbUsb
Usb
 
USB 2.0
USB 2.0USB 2.0
USB 2.0
 
Usb
UsbUsb
Usb
 
Bwpaper2
Bwpaper2Bwpaper2
Bwpaper2
 
USB 2.0
USB 2.0USB 2.0
USB 2.0
 
Choosing_(and_Implem..
Choosing_(and_Implem..Choosing_(and_Implem..
Choosing_(and_Implem..
 
Advance of usb
Advance of usb Advance of usb
Advance of usb
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardware
 
Review on Transmission and Reception of Data through USB in VHDL
Review on Transmission and Reception of Data through USB in VHDLReview on Transmission and Reception of Data through USB in VHDL
Review on Transmission and Reception of Data through USB in VHDL
 
UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )
 
Un se-bu
Un se-buUn se-bu
Un se-bu
 
Usb In-a-Nutshell
Usb In-a-NutshellUsb In-a-Nutshell
Usb In-a-Nutshell
 
13. Computer Systems Input And Output Architecture
13. Computer Systems   Input And  Output Architecture13. Computer Systems   Input And  Output Architecture
13. Computer Systems Input And Output Architecture
 
U S B
U S BU S B
U S B
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 

Usb Overview