Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

USB data architecture ?

Externet

Well-Known Member
Is there a standard for USB data transmission? How many data bits, start bits, stop bits, spacing between stop and start bits ? Synchrony ? I believe the speed part depends on the

1724691183034.png

Are those the working speeds or the maximum ? Backwards compatible means USB 3 can work at 12MBps ? What if USB2 runs at -say 66 Mbps; will it work ?
 
The data rates are fixed, as far as I know, as the receiving end has to synchronise to the data rate.

USB3 has nine connections (or possibly more with USB C connectors rather than USB A).
The extra five connections only connect with a USB3 plug and socket pair. Otherwise, just the four USB2 contacts are used.

The extra five connections are two data pairs for tx and rx, plus an extra ground / screen connection.

For USB1 or 2, Each data transmission uses a run-in or synchronising pattern 32 bits long, alternating for 30 bits then the last two the same, with the two data lines complementary to each other.
Then the data, then both data lines low to indicate end of data.

See here:
 
USB is a synchronous protocol so there are no start or stop bits just data bits. An entire frame will have a preamble and a frame check sequence. For more information get the USB specification or Jan Axelson's book.
 

Latest threads

New Articles From Microcontroller Tips

Back
Top