SlideShare a Scribd company logo
www.oeclib.in
Submitted By:
Odisha Electronic Control Library
Seminar
On
Universal Serial Bus
Content
 History and Evolution
 Why We Need USB?
 Architectural Overview
 USB communication flow
 Protocol Layer
 Conclusion
 References
Key Word
 Down:From host to device
 Up:From device to host
Example
Down stream:data flow from host to device
Up stream: data flow from device to host
History
 USB—Universal Serial Bus
 Invented and standardized by a group of
computer and peripherals manufactures in
1995
 Compete with IEEE1394
Evolution
Why We Need USB?
 Connection of the PC to the telephone:
=>In order to transmit data
 Ease-of-use:
=>Saupport plug and play
 Port expansion:
=>Up to 127 devices
=>Can add lots of device to a XX
Characteristic (2)
 The logical topology of the USB is a star
structure
 It is similar to computer network
 The USB uses a polling protocol
 Up to 7 level
USB Can Do
 Combines low speed and high speed bus
activity , USB enables shared access for both
speed
 Automatic configuring of devices and a serial
bus which is simplified and easy to plug into
 Attach / detach easily without restarting
system
Architectural Overview
 Host:only one
=>The smartest element in the USB system
=>Responsible to the complexity of the
protocol to make devices design simple
and low cost
=>Control the media access(no one can
access the bus unless it get an approval
required from the host )
USB System Member (2)
 Hub:one or more
=>Like the hubs used for computer network
=>Enables many devices to connect to a
single USB port
USB System Member (3)
 Device:one or more
=>Everything in the USB system , which is
not a host , is a device ( include hubs)
=>A device may provides one or more USB
functions
=>Has an unique address at the end of the
enumeration process
Typical Application
Communication Flow
Pipes (1)
 The logic communication between the client
software on the host and the function on the
device is done through pipes
 It is a association between a specific
endpoint on the device and the appropriate
software in the host
Pipes (2)
 An endpoint is the source or destination of the
data that transmitted on the USB cable
 Two direction
=>OUT:
data flows from the host to the device
=>IN:
data flows from the device to the host
Signaling On The Bus
 The USB cable is 4 wire cable
 Signal on the bus is done by signaling over
tow wires ( D+ and D_ )
=>1: D_ low , D+ high
=>0: D_ high , D+ low
 Data encoding and decoding is done using
NRZI ( Non Return to Zero Inverted )
SIE
 SIE:Serial Interface Engine
It is part of both the host’s and the device’s
physical layer
=>Serialization and Deserialization
=>Encoding and Decoding
=>Generate(for out) and Verify(for in)
CRC
=>Detect PID
HC
 HC:Host Controller
=>It is an additional hardware to ensure that
everything which is transmitted on the bus is
correct
=>It serves both the USB and the host and
has the same functionality in ever USB
system
This Layer Handles
 Responsible for the translating the data
between the application layer and the USB
transactions protocol .
 Two Role
=>USB System Software (in the USB
host)
=>USB Logical Device (in the USB device)
The USB System SW
 Compose of The Host Controller Driver and
The USB Driver
 Responsible for
=>Bandwidth allocation
=>bus power management
Two of above are in order to enable devices to
access the bus
The USB Logical Device
 Compose of a collection of independent
endpoints
 Each endpoint has an unique Endpoint
Number and is unidirectional(except endpoint
zero and has two type--In/Out)
 Default pipe is associated with endpoint zero
The Application Layer
 Host end:Client Software
= >Manages the appropriate interface by
transferring data from its buffers to the
endpoint with the appropriate interface
 Device end:Function
= >Composed of interfaces and controls the
functionality of the device
Protocol Layer
 USB transactions are done through packets
include three phases
=>Token phase:host initiates token
indicating the future transfer type
=>Data phase:actual data transmitted
=>Handshake phase:indicate the success
or failure of the transaction
Transfer Types (1)
 Control Transfer
=>Used to configure a device (enumeration)
=>Compose of three phases (setup,data,status)
 Isochronous Transfer
=>Used for multimedia devices
=>It is guarantee the required bandwidth
=>No handshake phase
Transfer Types (2)
 Bulk Transfer
=>Used for large burst data
=>Guarantee of delivery , no guarantee of
bandwidth or minimum latency
 Interrupt Transfer
=>If there is a pending interrupt , the function
will send details to host after host poll it
Packet (1)
 PID:Packet Identifier Field
 Address Field
=>So , there are up to 127 devices in USB
Packet (2)
 Token Packet
=>ADDR & ENDP define an unique endpoint
Packet (3)
 Data Packet
Packet (4)
 Handshake Packet
=>Such as ACK 、NAK 、STALL…etc.
Conclusion
 USB is powerful and easy to use
 The complex host make the device easy to
design
Reference
 www.google.com
 www.wikipedia.com
Universal Serial Bus (USB)

More Related Content

What's hot

USB 2.0
USB 2.0USB 2.0
USB protocol
USB protocolUSB protocol
USB protocol
Jagadeesh Jaggu
 
USB 3.0 -Infinite Possibilities
USB 3.0 -Infinite PossibilitiesUSB 3.0 -Infinite Possibilities
USB 3.0 -Infinite Possibilities
Rehan Guha
 
Usb universal serial bus
Usb   universal serial busUsb   universal serial bus
Usb universal serial bus
Dr. Anita Bhandari
 
Usb
UsbUsb
Usb
UsbUsb
Pcie basic
Pcie basicPcie basic
Pcie basic
Saifuddin Kaijar
 
Usb 3.0 technology mindshare
Usb 3.0 technology mindshareUsb 3.0 technology mindshare
Usb 3.0 technology mindshare
Nguyen Nhat Han
 
Usb
UsbUsb
USB Powerpoint
USB PowerpointUSB Powerpoint
USB Powerpointaaron924
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
SIVA NAGENDRA REDDY
 
Usb
UsbUsb
UART
UARTUART
USB presentation by Mishuk
USB presentation by MishukUSB presentation by Mishuk
USB presentation by Mishuk
mks mk
 
axi protocol
axi protocolaxi protocol
axi protocol
Azad Mishra
 

What's hot (20)

USB 2.0
USB 2.0USB 2.0
USB 2.0
 
Usb 2
Usb 2Usb 2
Usb 2
 
USB protocol
USB protocolUSB protocol
USB protocol
 
USB 3.0 -Infinite Possibilities
USB 3.0 -Infinite PossibilitiesUSB 3.0 -Infinite Possibilities
USB 3.0 -Infinite Possibilities
 
Usb universal serial bus
Usb   universal serial busUsb   universal serial bus
Usb universal serial bus
 
Usb Overview
Usb OverviewUsb Overview
Usb Overview
 
USB 3.0
USB 3.0USB 3.0
USB 3.0
 
Usb
UsbUsb
Usb
 
Usb
UsbUsb
Usb
 
Usb
UsbUsb
Usb
 
Usb
UsbUsb
Usb
 
Pcie basic
Pcie basicPcie basic
Pcie basic
 
Usb 3.0 technology mindshare
Usb 3.0 technology mindshareUsb 3.0 technology mindshare
Usb 3.0 technology mindshare
 
Usb
UsbUsb
Usb
 
USB Powerpoint
USB PowerpointUSB Powerpoint
USB Powerpoint
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
 
Usb
UsbUsb
Usb
 
UART
UARTUART
UART
 
USB presentation by Mishuk
USB presentation by MishukUSB presentation by Mishuk
USB presentation by Mishuk
 
axi protocol
axi protocolaxi protocol
axi protocol
 

Similar to Universal Serial Bus (USB)

wireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptxwireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptx
TanmayaKar4
 
Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
Muruly Krishan
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
IJERA Editor
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
IJERA Editor
 
Advance of usb
Advance of usb Advance of usb
Advance of usb
PREMAL GAJJAR
 
Usb old
Usb oldUsb old
Usb old
surendartech
 
io intweface.pptx
io intweface.pptxio intweface.pptx
io intweface.pptx
SureshMahar2
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
Manoharan Ragavan
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
cauuthovohoaichau
 
Chapter 3 caal (1)
Chapter 3 caal (1)Chapter 3 caal (1)
Chapter 3 caal (1)
talhashahid40
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
EliasPetros
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardware
Raja Waseem Akhtar
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
MeenakshiR43
 
Computer software
Computer softwareComputer software
Computer software
SonirAhmed
 
16 supporting io devices
16 supporting io devices16 supporting io devices
16 supporting io devices
hafizhanif86
 
layering.pdf
layering.pdflayering.pdf
layering.pdf
BoostHub
 
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March 2020
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March  2020Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March  2020
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March 2020
PriyankaBhattacharya28
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnologyGulrez Khan
 
Choosing_(and_Implem..
Choosing_(and_Implem..Choosing_(and_Implem..
Choosing_(and_Implem..webhostingguy
 

Similar to Universal Serial Bus (USB) (20)

wireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptxwireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptx
 
USB 2.0
USB 2.0USB 2.0
USB 2.0
 
Usb 72213 76207
Usb 72213 76207Usb 72213 76207
Usb 72213 76207
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
Advance of usb
Advance of usb Advance of usb
Advance of usb
 
Usb old
Usb oldUsb old
Usb old
 
io intweface.pptx
io intweface.pptxio intweface.pptx
io intweface.pptx
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdf
 
Chapter 3 caal (1)
Chapter 3 caal (1)Chapter 3 caal (1)
Chapter 3 caal (1)
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardware
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptx
 
Computer software
Computer softwareComputer software
Computer software
 
16 supporting io devices
16 supporting io devices16 supporting io devices
16 supporting io devices
 
layering.pdf
layering.pdflayering.pdf
layering.pdf
 
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March 2020
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March  2020Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March  2020
Concept of OSI Model_KSMS_BCA_4th_6th_Sem_Priyanka Bhattacharya_20th March 2020
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnology
 
Choosing_(and_Implem..
Choosing_(and_Implem..Choosing_(and_Implem..
Choosing_(and_Implem..
 

More from OECLIB Odisha Electronics Control Library

5G technology-ppt
5G technology-ppt5G technology-ppt
Futex ppt
Futex  pptFutex  ppt
Distributed Computing ppt
Distributed Computing pptDistributed Computing ppt
Autonomic Computing PPT
Autonomic Computing PPTAutonomic Computing PPT
Asynchronous Chips ppt
Asynchronous Chips pptAsynchronous Chips ppt
Artificial Eye PPT
Artificial Eye PPTArtificial Eye PPT
Agent Oriented Programming PPT
Agent Oriented Programming PPTAgent Oriented Programming PPT
Agent Oriented Programming PPT
OECLIB Odisha Electronics Control Library
 
Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
OECLIB Odisha Electronics Control Library
 
Wireless Communication ppt
Wireless Communication pptWireless Communication ppt
Wireless Communication ppt
OECLIB Odisha Electronics Control Library
 
4G Wireless Systems ppt
4G Wireless Systems ppt4G Wireless Systems ppt
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology ppt
OECLIB Odisha Electronics Control Library
 
Soa ppt
Soa pptSoa ppt
Software developement life cycle ppt
Software developement life cycle pptSoftware developement life cycle ppt
Software developement life cycle ppt
OECLIB Odisha Electronics Control Library
 
Voice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) pptVoice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) ppt
OECLIB Odisha Electronics Control Library
 
Wimax ppt
Wimax pptWimax ppt
Wibree ppt
Wibree pptWibree ppt
Wearable Computing
Wearable ComputingWearable Computing
Virtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) pptVirtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) ppt
OECLIB Odisha Electronics Control Library
 

More from OECLIB Odisha Electronics Control Library (20)

5G technology-ppt
5G technology-ppt5G technology-ppt
5G technology-ppt
 
Futex ppt
Futex  pptFutex  ppt
Futex ppt
 
Distributed Computing ppt
Distributed Computing pptDistributed Computing ppt
Distributed Computing ppt
 
Autonomic Computing PPT
Autonomic Computing PPTAutonomic Computing PPT
Autonomic Computing PPT
 
Asynchronous Chips ppt
Asynchronous Chips pptAsynchronous Chips ppt
Asynchronous Chips ppt
 
Artificial Eye PPT
Artificial Eye PPTArtificial Eye PPT
Artificial Eye PPT
 
Agent Oriented Programming PPT
Agent Oriented Programming PPTAgent Oriented Programming PPT
Agent Oriented Programming PPT
 
Wireless application protocol ppt
Wireless application protocol  pptWireless application protocol  ppt
Wireless application protocol ppt
 
Wireless Communication ppt
Wireless Communication pptWireless Communication ppt
Wireless Communication ppt
 
4G Wireless Systems ppt
4G Wireless Systems ppt4G Wireless Systems ppt
4G Wireless Systems ppt
 
Steganography ppt
Steganography pptSteganography ppt
Steganography ppt
 
Sixth sense technology ppt
Sixth sense technology pptSixth sense technology ppt
Sixth sense technology ppt
 
Soa ppt
Soa pptSoa ppt
Soa ppt
 
Software developement life cycle ppt
Software developement life cycle pptSoftware developement life cycle ppt
Software developement life cycle ppt
 
Voice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) pptVoice-over-Internet Protocol (VoIP) ppt
Voice-over-Internet Protocol (VoIP) ppt
 
ZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY pptZIGBEE TECHNOLOGY ppt
ZIGBEE TECHNOLOGY ppt
 
Wimax ppt
Wimax pptWimax ppt
Wimax ppt
 
Wibree ppt
Wibree pptWibree ppt
Wibree ppt
 
Wearable Computing
Wearable ComputingWearable Computing
Wearable Computing
 
Virtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) pptVirtual Private Networks (VPN) ppt
Virtual Private Networks (VPN) ppt
 

Universal Serial Bus (USB)

  • 1. www.oeclib.in Submitted By: Odisha Electronic Control Library Seminar On Universal Serial Bus
  • 2. Content  History and Evolution  Why We Need USB?  Architectural Overview  USB communication flow  Protocol Layer  Conclusion  References
  • 3. Key Word  Down:From host to device  Up:From device to host Example Down stream:data flow from host to device Up stream: data flow from device to host
  • 4. History  USB—Universal Serial Bus  Invented and standardized by a group of computer and peripherals manufactures in 1995  Compete with IEEE1394
  • 6. Why We Need USB?  Connection of the PC to the telephone: =>In order to transmit data  Ease-of-use: =>Saupport plug and play  Port expansion: =>Up to 127 devices =>Can add lots of device to a XX
  • 7. Characteristic (2)  The logical topology of the USB is a star structure  It is similar to computer network  The USB uses a polling protocol  Up to 7 level
  • 8. USB Can Do  Combines low speed and high speed bus activity , USB enables shared access for both speed  Automatic configuring of devices and a serial bus which is simplified and easy to plug into  Attach / detach easily without restarting system
  • 9. Architectural Overview  Host:only one =>The smartest element in the USB system =>Responsible to the complexity of the protocol to make devices design simple and low cost =>Control the media access(no one can access the bus unless it get an approval required from the host )
  • 10. USB System Member (2)  Hub:one or more =>Like the hubs used for computer network =>Enables many devices to connect to a single USB port
  • 11. USB System Member (3)  Device:one or more =>Everything in the USB system , which is not a host , is a device ( include hubs) =>A device may provides one or more USB functions =>Has an unique address at the end of the enumeration process
  • 14. Pipes (1)  The logic communication between the client software on the host and the function on the device is done through pipes  It is a association between a specific endpoint on the device and the appropriate software in the host
  • 15. Pipes (2)  An endpoint is the source or destination of the data that transmitted on the USB cable  Two direction =>OUT: data flows from the host to the device =>IN: data flows from the device to the host
  • 16. Signaling On The Bus  The USB cable is 4 wire cable  Signal on the bus is done by signaling over tow wires ( D+ and D_ ) =>1: D_ low , D+ high =>0: D_ high , D+ low  Data encoding and decoding is done using NRZI ( Non Return to Zero Inverted )
  • 17. SIE  SIE:Serial Interface Engine It is part of both the host’s and the device’s physical layer =>Serialization and Deserialization =>Encoding and Decoding =>Generate(for out) and Verify(for in) CRC =>Detect PID
  • 18. HC  HC:Host Controller =>It is an additional hardware to ensure that everything which is transmitted on the bus is correct =>It serves both the USB and the host and has the same functionality in ever USB system
  • 19. This Layer Handles  Responsible for the translating the data between the application layer and the USB transactions protocol .  Two Role =>USB System Software (in the USB host) =>USB Logical Device (in the USB device)
  • 20. The USB System SW  Compose of The Host Controller Driver and The USB Driver  Responsible for =>Bandwidth allocation =>bus power management Two of above are in order to enable devices to access the bus
  • 21. The USB Logical Device  Compose of a collection of independent endpoints  Each endpoint has an unique Endpoint Number and is unidirectional(except endpoint zero and has two type--In/Out)  Default pipe is associated with endpoint zero
  • 22. The Application Layer  Host end:Client Software = >Manages the appropriate interface by transferring data from its buffers to the endpoint with the appropriate interface  Device end:Function = >Composed of interfaces and controls the functionality of the device
  • 23. Protocol Layer  USB transactions are done through packets include three phases =>Token phase:host initiates token indicating the future transfer type =>Data phase:actual data transmitted =>Handshake phase:indicate the success or failure of the transaction
  • 24. Transfer Types (1)  Control Transfer =>Used to configure a device (enumeration) =>Compose of three phases (setup,data,status)  Isochronous Transfer =>Used for multimedia devices =>It is guarantee the required bandwidth =>No handshake phase
  • 25. Transfer Types (2)  Bulk Transfer =>Used for large burst data =>Guarantee of delivery , no guarantee of bandwidth or minimum latency  Interrupt Transfer =>If there is a pending interrupt , the function will send details to host after host poll it
  • 26. Packet (1)  PID:Packet Identifier Field  Address Field =>So , there are up to 127 devices in USB
  • 27. Packet (2)  Token Packet =>ADDR & ENDP define an unique endpoint
  • 29. Packet (4)  Handshake Packet =>Such as ACK 、NAK 、STALL…etc.
  • 30. Conclusion  USB is powerful and easy to use  The complex host make the device easy to design