Embedding USB - The Implementation Challenges and Limitations
Renesas Technology & Solution Portfolio
Agenda
USB for Embedded Systems
USB Products
Brief History
Architecture Topology
Host Controllers
Device
Host and Root Hub
Host and Root Hub
Mechanical Specifications
Mechanical Specifications
Mini-B Plug
OTG Connectors
Electrical Specifications
Serial Interface Engine
Device Detection
Device Powering
Device Powering
Device Powering
Hot-Pluggable
Self-Powered Devices
More Power
Physical Layer Signaling
Bus States
High Speed
Packet Sync
End of Packet
Negotiating High Speed
High Speed Hubswith Full and Low Speed Devices
Packets
USB Packet FieldsSYNC
USB Packet FieldsPID
USB Packet FieldsPID
USB Packet FieldsPID
USB Packet FieldsADDR
USB Packet FieldsENDP
Cyclic Redundancy Code (CRC)
USB Packet FieldsEOP
USB Controllers
Software Specifications
USB Protocols
USB Packet Types
Start of Frame Packets
Token Packets
Data PacketsLow and Full speed
Data PacketsHigh Speed
Handshake Packets
Split Transaction Special Token Packets
Hierarchy of Data
Transactions
SETUP Transaction
OUT Transaction
IN Transaction
Frames
Frames and Microframes
Transfers Types
Frames and Microframes
Maximum DATA Packet Size
Bandwidth Management
Bandwidth Management
Control TransferExample: Control Read
Bulk TransferExample
Interrupt TransferExample
Isochronous TransferExample
High Speed Isochronous Transfers
High Speed Isochronous Transfers
Split Transactions
Example Split Transaction Sequence
Periodic Split Transactions
Endpoints
Protocol AnalyzerStrongly Recommended
USB's Actual Throughput
Transfer Impacts on Communication Flow
Table Calculation for the Transfer Impacts
Low-speed Control Transfer Limits
Full-speed Control Transfer Limits
High-speed Control Transfer Limits
Full-speed Isochronous Transaction Limits
High-speed Isochronous Transaction Limits
Low-speed Interrupt Transaction Limits
Full-speed Interrupt Transaction Limits
High-speed Interrupt Transaction Limits
Full-speed Bulk Transaction Limits
High-speed Bulk Transaction Limits
Enumeration
Descriptors
Valid Request Sequence
Enumeration
Standard Descriptor Requests
Device Driver
HID Enumeration
USB Functionsi.e. Classes
USB Classes
Approved Class Specification Documents
Approved Class Specification Documents
Approved Class Specification Documents
Host Driver Support
Windows
Windows
Linux
MacOS
Very Popular Classes
Audio
USB Audio Class
Communications
Communications
Communications
Communications Device Class (CDC)
USB Control Device Class (CDC)
Human Interface Device (HID)
Human Interface Device (HID)
Mass Storage
Mass Storage
Mass Storage
Personal Healthcare
Custom Functions
Custom FunctionsDrivers with Vendor Specific Capabilities
Custom Functions
The Stacks
Device Stack
Memory FootprintDevice-Bulk
Memory FootprintDevice-MSD
Host Stack
Memory FootprintHost-HID
Memory FootprintHost-MSD
USB On-The-Go
USB On-The-Go
Wireless USB
Compliance
Compliance
USB Command Verifier
USB Gold Tree
Summary
Summary
Have Reasonable Expectations
References
Slide Number 139
Slide Number 140