SlideShare a Scribd company logo
1 of 32
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 (20)

USB 3.0
USB 3.0USB 3.0
USB 3.0
 
USB protocol
USB protocolUSB protocol
USB protocol
 
USB 2.0 and 3.0
USB 2.0 and 3.0USB 2.0 and 3.0
USB 2.0 and 3.0
 
Fpga implementation of utmi with usb 2.O
Fpga implementation of  utmi  with usb 2.O Fpga implementation of  utmi  with usb 2.O
Fpga implementation of utmi with usb 2.O
 
USB protocol
USB protocolUSB protocol
USB protocol
 
Rs232 protocal
Rs232 protocalRs232 protocal
Rs232 protocal
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
 
UVM Methodology Tutorial
UVM Methodology TutorialUVM Methodology Tutorial
UVM Methodology Tutorial
 
The I2C Interface
The I2C InterfaceThe I2C Interface
The I2C Interface
 
SPI introduction(Serial Peripheral Interface)
SPI introduction(Serial Peripheral Interface)SPI introduction(Serial Peripheral Interface)
SPI introduction(Serial Peripheral Interface)
 
Usb
UsbUsb
Usb
 
Communication protocols
Communication protocolsCommunication protocols
Communication protocols
 
AMBA AHB 5
AMBA AHB 5AMBA AHB 5
AMBA AHB 5
 
I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)I2C Bus (Inter-Integrated Circuit)
I2C Bus (Inter-Integrated Circuit)
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
 
I2C introduction
I2C introductionI2C introduction
I2C introduction
 
USB 2.0
USB 2.0USB 2.0
USB 2.0
 
Input output interface
Input output interfaceInput output interface
Input output interface
 

Similar to Universal Serial Bus (USB)

wireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptxwireless-usb-207-ipx1bSv.pptx
wireless-usb-207-ipx1bSv.pptxTanmayaKar4
 
USB presentation by Mishuk
USB presentation by MishukUSB presentation by Mishuk
USB presentation by Mishukmks mk
 
CH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfCH03-COA10e_ComputerFun5656565656565ction.pdf
CH03-COA10e_ComputerFun5656565656565ction.pdfcauuthovohoaichau
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxEliasPetros
 
Chapter05 -- networking hardware
Chapter05  -- networking hardwareChapter05  -- networking hardware
Chapter05 -- networking hardwareRaja Waseem Akhtar
 
input output organization.pptx
input output organization.pptxinput output organization.pptx
input output organization.pptxMeenakshiR43
 
Computer software
Computer softwareComputer software
Computer softwareSonirAhmed
 
16 supporting io devices
16 supporting io devices16 supporting io devices
16 supporting io deviceshafizhanif86
 
layering.pdf
layering.pdflayering.pdf
layering.pdfBoostHub
 
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 2020PriyankaBhattacharya28
 

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
 
Usb Overview
Usb OverviewUsb Overview
Usb Overview
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
Cp33551556
Cp33551556Cp33551556
Cp33551556
 
USB presentation by Mishuk
USB presentation by MishukUSB presentation by Mishuk
USB presentation by Mishuk
 
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
 

More from 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
 

Recently uploaded

Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPUBest CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPUZiaurRehman887108
 
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证wpkuukw
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制uodye
 
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))Obat Cytotec
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样vwymvu
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理uodye
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理uodye
 
Test bank for consumer behaviour buying having and being eighth canadian edit...
Test bank for consumer behaviour buying having and being eighth canadian edit...Test bank for consumer behaviour buying having and being eighth canadian edit...
Test bank for consumer behaviour buying having and being eighth canadian edit...robinsonayot
 
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdf
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdfDell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdf
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdfMohammedAmineKAROUI2
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信oopacde
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammamahmedjiabur940
 
Jual Obat Aborsi Samarinda ( No.1 ) 088980685493 Obat Penggugur Kandungan Cy...
Jual Obat Aborsi Samarinda (  No.1 ) 088980685493 Obat Penggugur Kandungan Cy...Jual Obat Aborsi Samarinda (  No.1 ) 088980685493 Obat Penggugur Kandungan Cy...
Jual Obat Aborsi Samarinda ( No.1 ) 088980685493 Obat Penggugur Kandungan Cy...Obat Aborsi 088980685493 Jual Obat Aborsi
 
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证wpkuukw
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样wsppdmt
 
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制ougvy
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样ayoqf
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一uodye
 

Recently uploaded (20)

Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPUBest CPU for gaming  Intel Core i9-14900K 14th Gen Desktop CPU
Best CPU for gaming Intel Core i9-14900K 14th Gen Desktop CPU
 
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
一比一定(购)国立南方理工学院毕业证(Southern毕业证)成绩单学位证
 
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
一比一原版(Otago毕业证书)奥塔哥理工学院毕业证成绩单学位证靠谱定制
 
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))
£ HAMIL 5 BULAN £ CARA MENGGUGURKAN KANDUNGAN USIA 5 BULAN ((087776558899))
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
 
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get CytotecBuy Abortion pills in Riyadh |+966572737505 | Get Cytotec
Buy Abortion pills in Riyadh |+966572737505 | Get Cytotec
 
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
一比一原版(USYD毕业证书)澳洲悉尼大学毕业证如何办理
 
Abortion Pills in Jeddah |+966572737505 | Get Cytotec
Abortion Pills in Jeddah |+966572737505 | Get CytotecAbortion Pills in Jeddah |+966572737505 | Get Cytotec
Abortion Pills in Jeddah |+966572737505 | Get Cytotec
 
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
一比一维多利亚大学毕业证(victoria毕业证)成绩单学位证如何办理
 
Test bank for consumer behaviour buying having and being eighth canadian edit...
Test bank for consumer behaviour buying having and being eighth canadian edit...Test bank for consumer behaviour buying having and being eighth canadian edit...
Test bank for consumer behaviour buying having and being eighth canadian edit...
 
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdf
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdfDell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdf
Dell Inspiron 15 5567 BAL20 LA-D801P Rev 1.0 (A00) Schematics.pdf
 
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
在线办理(scu毕业证)南十字星大学毕业证电子版学位证书注册证明信
 
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in DammamAbortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
Abortion Pill for sale in Riyadh ((+918761049707) Get Cytotec in Dammam
 
Jual Obat Aborsi Samarinda ( No.1 ) 088980685493 Obat Penggugur Kandungan Cy...
Jual Obat Aborsi Samarinda (  No.1 ) 088980685493 Obat Penggugur Kandungan Cy...Jual Obat Aborsi Samarinda (  No.1 ) 088980685493 Obat Penggugur Kandungan Cy...
Jual Obat Aborsi Samarinda ( No.1 ) 088980685493 Obat Penggugur Kandungan Cy...
 
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
一比一定(购)新西兰林肯大学毕业证(Lincoln毕业证)成绩单学位证
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
如何办理(USYD毕业证书)悉尼大学毕业证成绩单原件一模一样
 
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制
一比一原版(RMIT毕业证书)墨尔本皇家理工大学毕业证成绩单学位证靠谱定制
 
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
一比一原版(CSUEB毕业证书)东湾分校毕业证原件一模一样
 
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
在线制作(UQ毕业证书)昆士兰大学毕业证成绩单原版一比一
 

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