I was reading up on USB connectors on Wikipedia and I've noticed that the contacts for the data lines (D+ and D-) are shorter in both the Type A and Type B plug. USB A and B plugs

What could be the reasoning behind this design?

up vote 53 down vote accepted

Hot plugging. You want the power supply to be connected before the datalines. Some chips may latch if a signal is supplied to the signal pins before power is applied. This means the chip will internally short out and may get destroyed when subsequently power is applied.

In the old days you had to power off you computer before you could add a peripheral to it, that is not necessary with USB (and some other interfaces).

The reasoning behind this design is to always apply power prior to data so that bus-powered devices can interact with the host when connected. A USB device must react to bus reset 10 ms after being plugged in.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.