USB Hubs

Last modified by Microchip on 2023/11/10 11:19

A hub expands a single USB port into several ports that are accessible by the host. Hubs have one upstream port facing the host, and multiple downstream ports facing the attached devices. Common USB 2.0 hubs have four downstream ports.

To the host, a hub will look like a device with multiple endpoints. Each downstream port is represented by an endpoint in the hub. In addition to the downstream-port endpoints, each hub reserves endpoint 1 IN to inform the host that a downstream device has either been inserted or removed from the bus. See the USB Enumeration page for details on this process.

Root-Hub

Only one device can be connected to a host. If more than one device exists in a system, it can only be connected to the host through a hub. The hub directly connected to the host is called the root-hub. There can be up to five additional hubs connected to the root-hub in series to create separate tiers. The maximum number of tiers in a USB system is seven.

Root hub diagram

Back to Top

Power Hubs

USB hosts are required to make available a certain amount of power for enumeration and operation. The amount of power required depends upon the specified USB speed. A hub can either draw power from the USB bus (bus-powered) or have its own external power supply (self-powered).

  • Bus-powered hubs will draw power from the host and cannot add any additional power to devices.
  • Self-powered hubs are capable of supplying power to the device to augment the power delivery of the host. Self-powered hubs report the amount of power available to each port to the host.

During the enumeration process, a host will consider the power characteristics of a hub when deciding which downstream device configurations to activate.

Back to Top

Enhanced Hub Capabilities

With the newer specification (since USB 2.0), additional capabilities have been added to the hub. These include:

  • Speed detection of the device
  • Power distribution and reporting

See the "Specifications on USB Speedspage for more information on the enhanced hub capabilities.

Back to Top

Learn More

Back to Top