31:14

Fall Asleep While Learning About USB

by Benjamin Boster

Rated
4.7
Type
talks
Activity
Meditation
Suitable for
Everyone
Plays
1.6k

In this episode of the I Can’t Sleep Podcast, fall asleep while learning about USB. I’m usually fascinated by technology and thought this might be a little too exciting, but I was wrong. I had to take a break partway through because I was falling asleep! Wow, this stuff really works. I hope it has the same effect on you as it did on me. Happy sleeping!

SleepTechnologyRelaxationFocusBody AwarenessProductive MeetingCommunity ImpactBreathing AwarenessGroup MotivationsPurpose Reflections

Transcript

Welcome back,

Or welcome to the I Can't Sleep podcast,

Where I read random articles from across the web to bore you to sleep with my soothing voice.

I'm your host,

Benjamin Boster.

Today's episode is from a Wikipedia article titled,

USB.

Universal Serial Bus,

USB,

Is an industry standard that allows data exchange and delivery of power between many types of connections.

It specifies its architecture,

In particular its physical interface,

And communication protocols for data transfer and power delivery to and from hosts,

Such as personal computers,

To and from peripheral devices,

E.

G.

Displays,

Keyboards,

And mass storage devices,

And to and from intermediate hubs,

Which multiply the number of a host's ports.

Introduced in 1996,

USB was originally designed to standardize the connection of peripherals to computers,

Replacing various interfaces such as serial ports,

Parallel ports,

Game ports,

And ADP ports.

Early versions of USB became commonplace on a wide range of devices,

Such as keyboards,

Mice,

Cameras,

Printers,

Scanners,

Flash drives,

Smartphones,

Game consoles,

And power banks.

USB has since evolved into a standard to replace virtually all common ports on computers,

Mobile devices,

Peripherals,

Power supplies,

And manifold other small electronics.

In the current standard,

The USB-C connector replaces the many various connectors for power,

Up to 240 watts,

Displays,

E.

G.

DisplayPort,

HDMI,

And many other uses,

As well as all previous USB connectors.

As of 2024,

USB consists of four generations of specifications,

USB 1.

X,

USB 2.

0,

USB 3.

X,

And USB 4.

0.

USB 4.

0 enhances the data transfer and power delivery functionality with a connection-oriented tunneling architecture designed to combine multiple protocols onto a single physical interface so that the total speed and performance of the USB 4.

0 fabric can be dynamically shared.

USB 4.

0 particularly supports the tunneling of the Thunderbolt 3 protocol,

Namely PCI Express,

PCIe,

Load store interface,

And DisplayPort,

Display interface.

USB 4.

0 also adds host-to-host interfaces.

Each specification subversion supports different signaling rates from 1.

5 and 12 megabit per second total in USB 1.

0 to 80 gigabits per second in each direction in USB 4.

0.

USB also provides power to peripheral devices.

The latest versions of the standard extend the power delivery limits for battery charging and devices requiring up to 240 watts.

USB Power Delivery,

USB PD.

Over the years,

USB PD has been adopted as the standard power supply and charging format for many mobile devices,

Such as mobile phones,

Reducing the need for proprietary chargers.

USB was designed to standardize the connection of peripherals to personal computers,

Both to exchange data and to supply electric power.

It has largely replaced interfaces such as serial ports and parallel ports,

And has become commonplace on a wide range of devices.

Examples of peripherals that are connected via USB include computer keyboards and mice,

Video cameras,

Printers,

Portable media players,

Mobile,

Portable,

Digital telephones,

Disk drives,

And network adapters.

USB connectors have been increasingly replacing other types of charging cables for portable devices.

USB connector interfaces are classified into three types.

The main various legacy Type-A upstream and Type-B downstream connectors,

Found on hosts,

Hubs,

And peripheral devices,

And the modern Type-C USB-C connector,

Which as of 2014 starts to replace all of the many legacy connectors and is the only applicable connector for USB4.

The Type-A and Type-B connectors came in standard,

Mini,

And micro sizes.

The standard format was the largest and was mainly used for desktop and larger peripheral equipment.

The mini-USB connectors,

Mini-A,

Mini-B,

Mini-AB,

Were introduced for mobile devices,

But they were quickly replaced by thinner micro-USB connectors,

Micro-A,

Micro-B,

Micro-AB.

The Type-C connector,

Also known as USB-C,

Is not exclusive to USB,

As the only current standard for USB,

Is required for USB4,

And is required by other standards as well,

Including modern DisplayPort and Thunderbolt.

It is reversible and can support various functionalities and protocols,

Including USB.

Some are mandatory,

Many optional,

Depending on the type of the hardware,

Host,

Peripheral device,

Or hub.

USB specifications provide backward compatibility,

But this usually results in a decrease in signaling rates,

Maximal power offered,

And other provided capabilities.

The USB 1.

1 specification replaces USB 1.

0.

The USB 2.

0 specification is backward compatible with USB 1.

0,

1.

1.

The USB 3.

2 specification replaces USB 3.

1 and USB 3.

0,

While also including the USB 2.

0 specification.

The USB 2.

0 specification is backward compatible with USB 1.

0,

1.

1.

The USB 3.

2 specification replaces USB 3.

1 and USB 3.

0,

While also including the USB 2.

0 specification.

The USB 4.

0 specification functionally replaces USB 3.

2,

While retaining USB 2.

0 bus operating in parallel.

The USB 3.

0 specification defined a new architecture and protocol,

Named SuperSpeed,

Aka SuperSpeed USB,

Marketed as SS,

Which included a new lane for a new signal coding scheme,

8 bits per 10 bit symbols,

5 gigabits per second,

Later also known as Gen 1,

Providing full duplex data transfers that physically required five additional wires and pins,

While preserving the USB 2.

0 architecture and protocols,

And therefore keeping the original four pins or wires for the USB 2.

0 backward compatibility,

Resulting in nine wires,

With nine or ten pins at connector interfaces.

ID pin is not wired,

In total.

The USB 3.

1 specification introduced an enhanced SuperSpeed system,

While preserving the SuperSpeed architecture and protocol,

SuperSpeed USB,

With an additional SuperSpeed Plus architecture and protocol,

Aka SuperSpeed Plus USB,

Adding a new coding schema,

128 bits per 132 bit symbols,

10 gigabits per second,

Also known as Gen 2,

For some time period marketed as SuperSpeed Plus,

SS Plus.

The USB 3.

2 specification added a second lane to the enhanced SuperSpeed system,

Besides other enhancements,

So that the SuperSpeed Plus USB system part implements the Gen 1x2,

Gen 2x1,

And Gen 2x2 operation modes.

The SuperSpeed USB part of the system,

However,

Still implements the one-lane Gen 1x1 operation mode.

Therefore,

Two-lane operations,

Namely USB 3.

2,

Gen 1x2,

And Gen 2x2,

Are only possible with full-featured USB-C.

As of 2023,

They are somewhat rarely implemented.

Intel,

However,

Starts to include them in its 11th generation SoC processor models,

But Apple never provided them.

On the other hand,

USB 3.

2 Gen 1 and Gen 2 has been quite common for some years.

Each USB connection is made using two connectors,

A receptacle and a plug.

The Universal Serial Bus was developed to simplify and improve the interface between personal computers and peripheral devices,

Such as cell phones,

Computer accessories,

And monitors,

When compared with previously existing standard or ad-hoc proprietary interfaces.

From the computer user's perspective,

The USB interface improves ease of use in several ways.

The USB interface is self-configuring,

Eliminating the need for the user to adjust the device's settings for speed or data format,

Or configure interrupts,

Input-output addresses,

Or direct memory access channels.

USB connectors are standardized at the host,

So any peripheral can use most available receptacles.

USB takes full advantage of the additional processing power that can be economically put into peripheral devices so that they can manage themselves.

As such,

USB devices often do not have user-adjustable interface settings.

The USB interface is hot-swappable.

Devices can be exchanged without shutting the host computer down.

Small devices can be powered directly from the USB interface,

Eliminating the need for additional power supply cables.

Because use of the USB logo is only permitted after compliance testing,

The user can have confidence that a USB device will work as expected,

Without extensive interaction with settings and configuration.

The USB interface defines protocols for recovery from common errors,

Improving reliability over previous interfaces.

Installing a device that relies on the USB standard requires minimal operator action.

When a user plugs a device into a port on a running computer,

It either entirely automatically configures using existing device drivers,

Or the system prompts a user to locate a driver,

Which it then installs and configures automatically.

The USB standard also provides multiple benefits for hardware manufacturers and software developers,

Specifically in the relative ease of implementation.

The USB standard eliminates the requirement to develop proprietary interfaces to new peripherals.

The wide range of transfer speeds available for a USB interface suits devices ranging from keyboards and mice,

Up to streaming video interfaces.

A USB interface can be designed to provide the best available latency for time-critical functions or can be set up to do background transfers of bulk data with little impact on system resources.

The USB interface is generalized with no signal lines dedicated to only one function of one device.

As with all standards,

USB possesses multiple limitations to its design.

USB cables are limited in length,

As the standard was intended for peripherals on the same tabletop,

Not between rooms or buildings.

However,

A USB port can be connected to a gateway that accesses distant devices.

USB data transfer rates are slower than those of other interconnects,

Such as 100 gigabit Ethernet.

USB has a strict three-network topology and master-slave protocol for addressing peripheral devices.

Those devices cannot interact with one another except via the host,

And two hosts cannot communicate over their USB ports directly.

Some extension to this limitation is possible through Some extension to this limitation is possible through USB-on-the-go,

Dual-role devices,

And protocol bridge.

A host cannot broadcast signals to all peripherals at once.

Each must be addressed individually.

While converters exist between certain legacy interfaces and USB,

They might not provide a full implementation of the legacy hardware.

For example,

A USB-to-parallel port converter might work well with a printer,

But not with a scanner that requires bi-directional use of the data pins.

For a product developer,

Using USB requires the implementation of a complex protocol and implies an intelligent controller in the peripheral device.

Developers of USB devices intended for public sale generally must obtain a USB ID,

Which requires that they pay a fee to the USB implementer's forum,

USB-IF.

Developers of products that use the USB specification must sign an agreement with the USB-IF.

Use of the USB logo on the product requires annual fees and membership in the organization.

A group of seven companies began the development of USB in 1995.

Compaq,

DEC,

IBM,

Intel,

Microsoft,

NEC,

And Nortel.

The goal was to make it fundamentally easier to connect external devices to PCs by replacing the multitude of connectors at the back of PCs,

Addressing the usability issues of existing interfaces,

And simplifying software configuration of all devices connected to USB,

As well as permitting greater data transfer rates for external devices and plug-and-play features.

Ajay Bhatt and his team worked on the standard at Intel.

The first integrated circuits supporting USB were produced by Intel in 1995.

Released in January 1996,

USB 1.

0 specified signaling rates of 1.

5 megabits per second,

Low bandwidths or low speed,

And 12 megabits per second full speed.

It did not allow for extension cables due to timing and power limitations.

Few USB devices made it to the market until USB 1.

1 was released in August 1998.

USB 1.

1 was the earliest revision that was widely adopted and led to what Microsoft designated the legacy-free PC.

Neither USB 1.

0 nor 1.

1 specified a design for any connector smaller than the standard type A or type B.

Though many designs for a miniaturized type B connector appeared on many peripherals,

Conformity to the USB 1.

X standard was hampered by treating peripherals that had miniature connectors as though they had a tethered connection,

That is,

No plug or receptacle at the peripheral end.

There was no known miniature type A connector until USB 2.

0 introduced one.

USB 2.

0 was released in April 2000,

Adding a higher maximum signaling rate of 480 megabits per second,

Maximum theoretical data throughput 53 megabytes per second,

Named high speed or high bandwidth in addition to the USB 1.

X full speed signaling rate of 12 megabits per second,

Maximum theoretical data throughput 1.

2 megabytes per second.

Modifications to the USB specification have been made via engineering change notices,

ECNs.

The most important of these ECNs are included into the USB 2.

0 specification package available from usb.

Org.

Mini A and Mini B connector.

Micro USB cables and connectors specification 1.

01.

Interchip USB supplement.

On-the-go supplement 1.

3.

USB on-the-go makes it possible for two USB devices to communicate with each other without requiring a separate USB host.

Battery charging specification 1.

1.

Added support for dedicated chargers,

Host chargers,

Behavior for devices with dead batteries.

Battery charging specification 1.

2.

With increased current of 1.

5A on charging ports for unconfigured devices,

Allowing high-speed communication while having a current up to 1.

5A.

Link power management.

Addendum ECN,

Which adds a sleep power state.

The USB 3.

0 specification was released on the 12th of November 2008,

With its management transferring from USB 3.

0 Promoter Group to the USB Implementers Forum,

USB-IF,

And announced on the 17th of November 2008 at the SuperSpeed USB Developers Conference.

USB 3.

0 adds a new architecture and protocol named SuperSpeed,

With associated backward compatible plugs,

Receptacles,

And cables.

SuperSpeed plugs and receptacles are identified with a distinct logo and blue inserts in standard format receptacles.

The SuperSpeed architecture provides for an operation mode at a rate of 5 gigabits per second,

In addition to the three existing operation modes.

Its efficiency is dependent on a number of factors,

Including physical symbol encoding and link level overhead.

At a 5 gigabit overhead,

It is possible to use the SuperSpeed architecture for packet framing and link level overhead.

At a 5 gigabits per second signaling rate,

With 8 bits per 10 bits encoding,

Each byte needs 10 bits to transmit,

So the raw throughput is 500 megabits per second.

When flow control,

Packet framing,

And protocol overhead are considered,

It is realistic for about two-thirds of the raw throughput,

Or 330 megabits per second.

To transmit to an application.

SuperSpeed's architecture is full-duplex.

All earlier implementations,

USB 1.

0 to 2.

0,

Are all half-duplex,

Arbitrated by the host.

Low-power and high-power devices remain operational with this standard,

But devices implementing SuperSpeed can provide increased current of between 150 milliamps and 900 milliamps by discrete steps of 150 milliamps.

USB 3.

0 also introduced the USB-attached CSCI protocol,

UASP,

Which provides generally faster transfer speeds than the BOD,

Bulk-only transfer protocol.

USB 3.

1,

Released in July 2013,

Has two variants.

The first one preserves USB 3.

0's SuperSpeed architecture and protocol,

And its operation mode is newly named USB 3.

1 Gen1,

And the second version introduces a distinctively new SuperSpeed Plus architecture and protocol,

With a second operation mode named as USB 3.

1 Gen2,

Marketed as SuperSpeed Plus USB.

SuperSpeed Plus doubles the maximum signaling rate to 10 gigabits per second,

Later marketed as SuperSpeed USB 10 gigabits per second by the USB 3.

2 specification,

Or reducing line encoding overhead to just 3% by changing the encoding scheme to 128 bits per 132 bits.

USB 3.

2,

Released in September 2017,

Preserves existing USB 3.

1 SuperSpeed and SuperSpeed Plus architectures and protocols,

And their respective operation modes,

But introduces two additional SuperSpeed Plus operation modes,

USB 3.

2 Gen1x2 and USB 3.

2 Gen2x2,

With the new USB-C fabric,

With signaling rates of 10 and 20 gigabits per second,

Raw data rates of 1212 and 2424 megabits per second.

The increase in bandwidth is a result of two-lane operation over existing wires that were originally intended for flip-flop capabilities of the USB-C connector.

Starting with the USB 3.

2 specification,

USB-IF introduced a new naming scheme.

To help companies with branding of the different operation modes,

USB-IF recommended branding the 5,

10,

And 20 gigabits per second capabilities as SuperSpeed USB 5 gigabits per second,

SuperSpeed USB 10 gigabits per second,

And SuperSpeed USB 20 gigabits per second,

Respectively.

In 2023,

They were replaced again,

Removing SuperSpeed with USB 5 gigabits per second,

USB 10 gigabits per second,

And USB 20 gigabits per second,

With new packaging and port logos.

The USB 4 specification was released on the 29th of August 2019 by the USB Implementers Forum.

The USB 4 2.

0 specification was released on the 1st of September 2022 by the USB Implementers Forum.

USB 4 is based on the Thunderbolt 3 protocol.

It supports 40 gigabits per second throughput,

Is compatible with Thunderbolt 3,

And backward compatible with USB 3.

2 and USB 2.

0.

The architecture defines a method to share a single high-speed link with multiple end-device types dynamically that best serves the transfer of data by type and application.

During CES 2020,

USB-IF and Intel stated their intention to allow USB 4 products that support all the optional functionality as Thunderbolt 4 products.

Because of the previous confusing naming schemes,

USB-IF decided to change it once again.

As of the 2nd of September 2022,

Marketing names follow the syntax USB XGBPS,

Where X is the speed of transfer in gigabits per second.

The operation modes USB 3.

2 Gen 2x2 and USB 3.

2 Gen 2x2 are the same.

The operation modes USB 3.

2 Gen 2x2 and USB 4 Gen 2x2 or USB 3.

2 Gen 2x1 and USB 4 Gen 2x1 are not interchangeable or compatible.

All participating controllers must operate with the same mode.

A USB system consists of a host with one or more downstream-facing ports,

DFP,

And multiple peripherals forming a tiered star topology.

Additional USB hubs may be included allowing up to five tiers.

A USB host may have multiple controllers,

Each with one or more ports.

Up to 127 devices may be connected to a single host controller.

USB devices are linked in series through hubs.

The hub built into the host controller is called the root hub.

A USB device may consist of several logical sub-devices that are referred to as device functions.

A composite device may provide several functions,

For example,

A webcam video device function with a built-in microphone audio device function.

An alternative to this is a compound device in which the host assigns each logical device a distinct address and all logical devices connect to a built-in hub that connects to the physical USB cable.

USB device communication is based on pipes,

Logical channels.

A pipe is a connection from the host controller to a logical entity within a device,

Called an endpoint.

Because pipes correspond to endpoints,

The terms are sometimes used interchangeably.

Each USB device can have up to 32 endpoints,

16 in and 16 out,

Though it is rare to have so many.

Endpoints are defined and numbered by the device during initialization,

The period after physical connection called enumeration,

And so are relatively permanent,

Whereas pipes may be opened and closed.

And so are relatively permanent,

Whereas pipes may be opened and closed.

Meet your Teacher

Benjamin BosterPleasant Grove, UT, USA

4.7 (51)

Recent Reviews

Cindy

September 13, 2024

🥱 Learned something (get rid of those old usb cables) but 🥱 how many times did you read “usb”?? 🥱 And how do you manage not to put yourself to sleep?! 😴

Diane

September 4, 2024

What a snoozer this one was. I got a great night’s sleep. Thanks, Benjamin! 😌🥱😴

More from Benjamin Boster

Loading...

Related Meditations

Loading...

Related Teachers

Loading...
© 2026 Benjamin Boster. All rights reserved. All copyright in this work remains with the original creator. No part of this material may be reproduced, distributed, or transmitted in any form or by any means, without the prior written permission of the copyright owner.

How can we help?

Sleep better
Reduce stress or anxiety
Meditation
Spirituality
Something else