


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















l
Introduction
l
Technical Overview
l
USB in Embedded Systems
l
Recent Developments
l
Extensions to USB
l
technologiesUSB as compared to other
l USB:
Offers simple connectivity
l
Low cost
l
Ease of use
l
Manages power effeciently
l
Supports all kinds of Data
l Serial Protocol and Physical Link uses two pairs of wires
Upstream Connection and Downstream Connection
l Uses three types of cables and two types of connectors
High Speed cables at 480 Mbps
l
Full Speed cables at 12 Mbps and
l
Low Speed cables at 1.5 Mbps
USB standard uses NZRI system to encode data
l Architecture of a USB network
Consists of one host device and multiple daisy chained devices
Follows a Tiered star Topology and consists of:
l
Peripherals
l
Hubs
l
Two types of Peripheralsthe host. E.g. Mice, Keyboard, JoysticksPeripherals receive and respond to the commands fromHost controller
l
Standalone and
l
Compound Device
network.E.g.PCHost is the controller of the entireand peripheralsDirect connection exists between hostperipheral and HostSmart wire passing data between thesupply.•Self Powered Hub: Has a built in powerthe host computers USB interface•Bus Powered Hub: Draws power from Two kinds of Hubs:
l
stateregardless of the powerPeripherals connected
l
power to the peripheralsA pair of wires to supply
l
devicesand disabling power toManage power by enabling
l
networkbehaved systems from theRemoves electrically ill
l
place through virtual pipeshost and end point takeTransactions between the
l
the end pointswhich connect the host toPipes are logical channels
l
return a descriptorestablished the end pointsOnce the communication is
l
expectationspoints configuration andtells the host about the endDescriptor is a data structure
l USB supports four transfer types of data:
host and end pointconfiguration, command information , set up betweenControl Transfers: exchange information such as
l
timely delivery isn’t critical.E.g. Printers and ScannersBulk Transfers: Supports bulk amounts of data when
l
dataIsochronous transfers: Handle transfers like streaming
l
serviceInterrupt transfers: Poll devices to see if they need
transactionsmanagement and other USBEnumeration, power•USB Bus driver managesInterrupt I/O request packetscommunication is through•Within the stack itself thecallswith the drivers using API •Application Code reacts
l
Two types of drivers. Class Drivers and Custom Drivers
l
falls into a single class share similar interfacesDrivers are organized into classes where hardware that
l Monitor class which supports image position, alignmentE.g. HID Class which supports devices like mice, Joy sticks
piece of HardwareCustom Driver exploits capabilities of a particular
E.g. A Data Acquisition system
l
supportedhow many and what type of devices will beWhile creating the code the first step is to determine
l
device.The next step is to create application code for each
l
functionalityThe driver template will include start, stop and run
l
considerationAddition of Hub Support is the key design
l
USB 2.
l
devicesPictBridge Standard to communicate imaging
l
Microsoft X box console
l
IBM Ultraport
l
USB 1.0 OTG
l
USB 1.0a supplement OTG
l
Wireless USB