General USB Ver 1.1
General USB Ver 1.1
General USB Ver 1.1
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 1
Topics
O Need for USB
O Benefits of USB
O Speed comparisons
O USB Evolution
O USB Host / Peripheral / OTG
O Embedded Host
O USB Hub
O Device Classes
O Data Transfer Mechanisms
O Application examples
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 2
Need for USB
O Offering ease of use (Plug and Play)
O Expandability (Port expansion)
O Speed for the end user
O Accommodate different applications simultaneously
O Low cost
O Self Powered
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 3
Benefits of USB
O One interface for many applications
O Auto configuration
O No external supply required
O Hot pluggable
O No user settings
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 4
Buses and Speed
Comparison
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 5
USB Evolution
Spec Data Rate and Applications Notes
Performance
USB 1.1 Low-speed 1.5Mbps Keyboard, mouse, joystick Low cost but limited
USB 2.0 Low-speed performance; type and
number of endpoints
limited
USB 2.0 High-speed 480Mbps Video, storage, imaging & Vast bandwidth
more… improvements. Adoption
in high-end consumer
segment
USB 2.0 On-The-Go 480Mbps or12Mbps PDAs, MP3 players, cameras Peripheral device can
(OTG) communicate directly
without Host PC
Backward compatible
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 6
USB Host
O Manages and controls the bus
O Initiates all data packet activity on the bus
O Manages data flow
O Error checking
O Enumerates inserted USB devices and matches device to a
particular class driver
̶ Detects peripheral insertion / extraction
O Provide Power
O System typically consists of complex software applications with
an operating system and microprocessor
̶ Class driver needed for each device or class of devices
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 7
USB Peripheral
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 8
USB OTG
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 9
Embedded Host
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 10
On-The-Go Versus Embedded Host
capability to switch between the two O Devices have only Mini-A receptacle
Speaker Hub
¾ Supports maximum of 5 Hubs chaining Keyboard
¾ Hubs to offer power to all the connected devices Logic
Analyzer
Hub
¾ USB 2.0 hub must support all three speeds
¾ Cascade upto 127peripherals including the root hub
Hub
Hub
Hub
Data Logger
Hub
Up to 126 peripherals...
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 12
Devices Classes
O Following classes have approved class specifications
Audio Chip/Smart Card
Interface
Communication Class Content Security
(CDC)
Device Firmware Upgrade Human Interface (HID)
IrDA Bridge Mass Storage (MSD)
Printer Still Image Capture
Test and Measurement Video
Microchip offers free source code for USB software stacks and class
drivers
Class drivers supported by Microchip are – CDC, HID, MSD and custom
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 13
Data Transfer Mechanisms
Printers
USB Type B receptacle Scanners
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 15
Application Examples
Host
Host Thumb drive
Traditional interface
PCc
Peripheral
USB OTG
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 16
Thank You
© 2008 Microchip Technology Incorporated. All Rights Reserved. USB Solutions from Microchip Slide 17