USB

From Bobs Projects
Jump to: navigation, search

Universal Serial Bus (USB) is a standard for connecting computer peripheral devices to hosts.

Contents

USB Speeds

Low Speed

Low Speed USB is designed to work at 1.5Mbps (666ns per bit) or 1/8 the speed of Full-Speed USB. It is intended primarily for low-speed Human-Computer Interface devices such as keyboards, mice and game controllers.

Software Implementations

Several software implementations of the low-speed USB standard include:

Full Speed

High Speed

USB 2.0 (local copy) is a specification of USB for operation at High Speed 480Mbps. There are a number of USB2.0 Interface devices available.

In High-Speed USB, there are 8 "microframes" per standard USB frame (one microframe every 125usec). High-Speed also allows data transfers up to 1024bytes per packet. According to section 5.9 of the Universal Serial Bus Specification Revision 2.0 (USB2.0) High-Speed High Bandwidth endpoints are allowed up to 3 packets per microframe, which limits the per-endpoint data rate to 192Mbps (24MByte/sec), less than half the raw maximum of 60MBytes/sec. As each endpoint is either an IN or and OUT, this means that we could get up to 48MByte/sec full-duplex.

Software Stacks

HDL Implementations

USB Classes

To simplify support for USB in various operating systems (O/Ss), USB divides devices into "classes". Common classes are:

Descriptors

USB Devices

Some USB devices are listed here.

Parts

Connectors

Micro USB Type A/B Receptacle

The USB-IF define the Micro USB Type A/B Receptacle in their documentation: Micro-USB_1_01.pdf (local copy).

Several manufacturers make compliant receptacles, including FCI as Micro USB A/B Type Receptacle, available from X-ON as FCI p/n 10104111-0001LF (drawing: local copy).

The GEDA symbol file for it is available in my SVN repository and the outline at:

Filters

  • STMicroelectronics USBUF02W6 SOT323-6L EMI Filter and Line Termination for USB Upstream Ports (RS-Online p/n 250-656)

Transceivers

Device Controllers

Debug/Development

External links