How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1?Are there downsides in using cat5 / cat5e cable for USB 3.0 connection?Problem with making a USB 3.0 A/B/Micro adapter - detects cable as USB 2.0USB 3.0 power and usb 2.0 dataHow should a USB C connector be wired to support 3.0?USB 3.1 Type-A Legacy Connector to USB 3.1 Type-CHow to determine IBM USB 6 pin header pinout?Pass USB 3.0 connection through D-SUB connector
Show two plots together: a two dimensional curve tangent to the maxima of a three dimensional plot
My new Acer Aspire 7 doesn't have a Legacy Boot option, what can I do to get it?
!I!n!s!e!r!t! !b!e!t!w!e!e!n!
Radix2 Fast Fourier Transform implemented in C++
Why is the name Bergson pronounced like Berksonne?
Can sulfuric acid itself be electrolysed?
Repurpose telephone line to ethernet
Control GPIO pins from C
Why do balloons get cold when they deflate?
Have only girls been born for a long time in this village?
Eric Andre had a dream
How best to join tables, which have different lengths on the same column values which exist in both tables?
Levenshtein Neighbours
Indirect speech - breaking the rules of it
Can I submit a paper computer science conference using an alias if using my real name can cause legal trouble in my original country
Best model for precedence constraints within scheduling problem
Saying something to a foreign coworker who uses "you people"
When does The Truman Show take place?
Are there categories whose internal hom is somewhat 'exotic'?
Why did St. Jerome use "virago" in Gen. 2:23?
Output with the same length always
Meaning and structure of headline "Hair it is: A List of ..."
Earliest evidence of objects intended for future archaeologists?
Do banks' profitability really suffer under low interest rates
How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1?
Are there downsides in using cat5 / cat5e cable for USB 3.0 connection?Problem with making a USB 3.0 A/B/Micro adapter - detects cable as USB 2.0USB 3.0 power and usb 2.0 dataHow should a USB C connector be wired to support 3.0?USB 3.1 Type-A Legacy Connector to USB 3.1 Type-CHow to determine IBM USB 6 pin header pinout?Pass USB 3.0 connection through D-SUB connector
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1, without using port, PC and/or having data transfer but instead with basic physics tests e.g. using multimeter?
usb multimeter test
$endgroup$
add a comment |
$begingroup$
How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1, without using port, PC and/or having data transfer but instead with basic physics tests e.g. using multimeter?
usb multimeter test
$endgroup$
1
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago
add a comment |
$begingroup$
How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1, without using port, PC and/or having data transfer but instead with basic physics tests e.g. using multimeter?
usb multimeter test
$endgroup$
How do we test and determine if a USB cable+connector is version 2, 3.0 or 3.1, without using port, PC and/or having data transfer but instead with basic physics tests e.g. using multimeter?
usb multimeter test
usb multimeter test
edited 7 hours ago
hacktastical
4,2665 silver badges21 bronze badges
4,2665 silver badges21 bronze badges
asked 12 hours ago
abdanabdan
1335 bronze badges
1335 bronze badges
1
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago
add a comment |
1
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago
1
1
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
First, there is no real thing as "version" of USB cable. USB cables must conform to certain electrical requirements to be qualified to work reliably at corresponding data rate.
In case of USB 2.0 the task is relatively easy - the cable/connector has only four wires, GND, D+, D-. VBUS. And maybe one locally-connected ID pin inside mini- and micro-USB plugs.
You probably want to distinguish if a cable is good for USB 2.0 HS, or only for FS. This can be determined only by measuring the cable+connector electrical transfer characteristics, primarily the differential characteristic impedance, and the cable's ability to deliver sufficient signal at far-end of the cable (when loaded with a standard 90-Ohm diff. load) If the cable characteristic impedance along the link (especially along solder wires inside connector molds) meet the specification (90 Ohm +-10%), and cable loss doesn't violate the far-end eye diagram template,
the cable is good for use in USB 2.0 480 Mbps transmission applications.
Unfortunately, a multimeter is far from being an adequate tool for doing this kind of measurements. To make these measurements you need (a) TDR (Time-Domain Reflectometer) or VNA (Vector Network Analyzer), and (b) an oscilloscope with a differential probe with effective bandwidth of no less than 2 GHz.
You also will need a test fixture that smoothly connects the USB female connector with coaxial cables used by high-speed instruments, which typically use SMA connectors.
For USB 3.0 signals (Gen1 5 Gbps) and USB 3.1 Gen2 (10 Gbps) the approach is essentially the same, just the frequency requirements are a lot higher - the oscilloscope must go up to 16 GHz, which dramatically increases the cost of test equipment. In addition to measuring the characteristic impedance, the USB 3.x cables must meet additional requirements to have low cross-talk, since USB 3.x cables carry at least two pairs of signals going in opposite directions, so their interference should be minimized.
In general, USB Implementer's Forum (USB-IF.ORG) has a library of documents including Electrical Test Specification for cables, here is one of the documents.
$endgroup$
add a comment |
$begingroup$
This is an interesting problem, as there are now a proliferation of similar-looking cable types with the introduction of USB 3.x and the Type C connector. Determining how many pairs are connected, and if it supports flip-over and other compliance issues is non-trivial. There's a lot of mis-marked junk out there and having a reliable way to sort it out would be useful.
Have a look here to see how dire the situation really is: https://www.engadget.com/2016/02/03/benson-leung-chromebook-pixel-usb-type-c-test/
I'm going to assume you're interested in testing USB C cables, since it's possible to suss out previous USB 2.0 vs. 3.x types by the connectors types they have on them. Then again, a test for these non-C cables might be useful too. If you work out a test for Type C, the others are subsets.
Start by getting the actual USB 3.2 spec from USB-IF, here: https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns
As a basic test, using a breakout board at each end and checking end-to-end with a multimeter would be the way to do it. You would check for continuity on each possible signal pair:
- USB 2.0: DM/DP
- USB '3.0 / 3.1' (one SS pair): DM/DP, SSTX+/SSTX-, SSRX+/SSRX-
- USB 3.2 Gen 2 (two SS pairs): DM/DP, SSTX1+/SSTX1-, SSRX1+/SSRX1-, SSTX2+/SSTX2-, SSRX2+/SSRX2-
As an improvement you could use a TDR reflection method, like some LAN cable testers use. This would also tell you if the cable is the right impedance.
More about TDR testing here: https://www.electronics-notes.com/articles/test-methods/time-domain-reflectometer-tdr/what-is-a-tdr.php
Example LAN cable tester here: https://www.cablestogo.com/product/39002/lansmart-tdr-cable-tester
Certifcation-level testing here: https://www.keysight.com/upload/cmc_upload/All/USB_3_0_test_solution_overview.pdf
If you're thinking to make a product I think making a continuity tester board would be useful. The tester would terminate the cable at one end, and test for continuity at the other using a microcontroller to measure it. This would be able to reliably distinguish if the cable has the right number of of pairs.
Example commercial USB test product: https://www.totalphase.com/blog/2018/09/tools-can-use-test-analyze-functions-power-delivery-usb-type-c-cables/
It would be good to also check shield continuity as a separate test. It's supposed to be isolated from signal ground, but still present, and it's an area where many shoddy vendors will cheat.
(To the other posters - think about how you would do incoming inspection / acceptance on cables you bought for your product. You'd do something like this, and maybe even take the cable apart too.)
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f453491%2fhow-do-we-test-and-determine-if-a-usb-cableconnector-is-version-2-3-0-or-3-1%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
First, there is no real thing as "version" of USB cable. USB cables must conform to certain electrical requirements to be qualified to work reliably at corresponding data rate.
In case of USB 2.0 the task is relatively easy - the cable/connector has only four wires, GND, D+, D-. VBUS. And maybe one locally-connected ID pin inside mini- and micro-USB plugs.
You probably want to distinguish if a cable is good for USB 2.0 HS, or only for FS. This can be determined only by measuring the cable+connector electrical transfer characteristics, primarily the differential characteristic impedance, and the cable's ability to deliver sufficient signal at far-end of the cable (when loaded with a standard 90-Ohm diff. load) If the cable characteristic impedance along the link (especially along solder wires inside connector molds) meet the specification (90 Ohm +-10%), and cable loss doesn't violate the far-end eye diagram template,
the cable is good for use in USB 2.0 480 Mbps transmission applications.
Unfortunately, a multimeter is far from being an adequate tool for doing this kind of measurements. To make these measurements you need (a) TDR (Time-Domain Reflectometer) or VNA (Vector Network Analyzer), and (b) an oscilloscope with a differential probe with effective bandwidth of no less than 2 GHz.
You also will need a test fixture that smoothly connects the USB female connector with coaxial cables used by high-speed instruments, which typically use SMA connectors.
For USB 3.0 signals (Gen1 5 Gbps) and USB 3.1 Gen2 (10 Gbps) the approach is essentially the same, just the frequency requirements are a lot higher - the oscilloscope must go up to 16 GHz, which dramatically increases the cost of test equipment. In addition to measuring the characteristic impedance, the USB 3.x cables must meet additional requirements to have low cross-talk, since USB 3.x cables carry at least two pairs of signals going in opposite directions, so their interference should be minimized.
In general, USB Implementer's Forum (USB-IF.ORG) has a library of documents including Electrical Test Specification for cables, here is one of the documents.
$endgroup$
add a comment |
$begingroup$
First, there is no real thing as "version" of USB cable. USB cables must conform to certain electrical requirements to be qualified to work reliably at corresponding data rate.
In case of USB 2.0 the task is relatively easy - the cable/connector has only four wires, GND, D+, D-. VBUS. And maybe one locally-connected ID pin inside mini- and micro-USB plugs.
You probably want to distinguish if a cable is good for USB 2.0 HS, or only for FS. This can be determined only by measuring the cable+connector electrical transfer characteristics, primarily the differential characteristic impedance, and the cable's ability to deliver sufficient signal at far-end of the cable (when loaded with a standard 90-Ohm diff. load) If the cable characteristic impedance along the link (especially along solder wires inside connector molds) meet the specification (90 Ohm +-10%), and cable loss doesn't violate the far-end eye diagram template,
the cable is good for use in USB 2.0 480 Mbps transmission applications.
Unfortunately, a multimeter is far from being an adequate tool for doing this kind of measurements. To make these measurements you need (a) TDR (Time-Domain Reflectometer) or VNA (Vector Network Analyzer), and (b) an oscilloscope with a differential probe with effective bandwidth of no less than 2 GHz.
You also will need a test fixture that smoothly connects the USB female connector with coaxial cables used by high-speed instruments, which typically use SMA connectors.
For USB 3.0 signals (Gen1 5 Gbps) and USB 3.1 Gen2 (10 Gbps) the approach is essentially the same, just the frequency requirements are a lot higher - the oscilloscope must go up to 16 GHz, which dramatically increases the cost of test equipment. In addition to measuring the characteristic impedance, the USB 3.x cables must meet additional requirements to have low cross-talk, since USB 3.x cables carry at least two pairs of signals going in opposite directions, so their interference should be minimized.
In general, USB Implementer's Forum (USB-IF.ORG) has a library of documents including Electrical Test Specification for cables, here is one of the documents.
$endgroup$
add a comment |
$begingroup$
First, there is no real thing as "version" of USB cable. USB cables must conform to certain electrical requirements to be qualified to work reliably at corresponding data rate.
In case of USB 2.0 the task is relatively easy - the cable/connector has only four wires, GND, D+, D-. VBUS. And maybe one locally-connected ID pin inside mini- and micro-USB plugs.
You probably want to distinguish if a cable is good for USB 2.0 HS, or only for FS. This can be determined only by measuring the cable+connector electrical transfer characteristics, primarily the differential characteristic impedance, and the cable's ability to deliver sufficient signal at far-end of the cable (when loaded with a standard 90-Ohm diff. load) If the cable characteristic impedance along the link (especially along solder wires inside connector molds) meet the specification (90 Ohm +-10%), and cable loss doesn't violate the far-end eye diagram template,
the cable is good for use in USB 2.0 480 Mbps transmission applications.
Unfortunately, a multimeter is far from being an adequate tool for doing this kind of measurements. To make these measurements you need (a) TDR (Time-Domain Reflectometer) or VNA (Vector Network Analyzer), and (b) an oscilloscope with a differential probe with effective bandwidth of no less than 2 GHz.
You also will need a test fixture that smoothly connects the USB female connector with coaxial cables used by high-speed instruments, which typically use SMA connectors.
For USB 3.0 signals (Gen1 5 Gbps) and USB 3.1 Gen2 (10 Gbps) the approach is essentially the same, just the frequency requirements are a lot higher - the oscilloscope must go up to 16 GHz, which dramatically increases the cost of test equipment. In addition to measuring the characteristic impedance, the USB 3.x cables must meet additional requirements to have low cross-talk, since USB 3.x cables carry at least two pairs of signals going in opposite directions, so their interference should be minimized.
In general, USB Implementer's Forum (USB-IF.ORG) has a library of documents including Electrical Test Specification for cables, here is one of the documents.
$endgroup$
First, there is no real thing as "version" of USB cable. USB cables must conform to certain electrical requirements to be qualified to work reliably at corresponding data rate.
In case of USB 2.0 the task is relatively easy - the cable/connector has only four wires, GND, D+, D-. VBUS. And maybe one locally-connected ID pin inside mini- and micro-USB plugs.
You probably want to distinguish if a cable is good for USB 2.0 HS, or only for FS. This can be determined only by measuring the cable+connector electrical transfer characteristics, primarily the differential characteristic impedance, and the cable's ability to deliver sufficient signal at far-end of the cable (when loaded with a standard 90-Ohm diff. load) If the cable characteristic impedance along the link (especially along solder wires inside connector molds) meet the specification (90 Ohm +-10%), and cable loss doesn't violate the far-end eye diagram template,
the cable is good for use in USB 2.0 480 Mbps transmission applications.
Unfortunately, a multimeter is far from being an adequate tool for doing this kind of measurements. To make these measurements you need (a) TDR (Time-Domain Reflectometer) or VNA (Vector Network Analyzer), and (b) an oscilloscope with a differential probe with effective bandwidth of no less than 2 GHz.
You also will need a test fixture that smoothly connects the USB female connector with coaxial cables used by high-speed instruments, which typically use SMA connectors.
For USB 3.0 signals (Gen1 5 Gbps) and USB 3.1 Gen2 (10 Gbps) the approach is essentially the same, just the frequency requirements are a lot higher - the oscilloscope must go up to 16 GHz, which dramatically increases the cost of test equipment. In addition to measuring the characteristic impedance, the USB 3.x cables must meet additional requirements to have low cross-talk, since USB 3.x cables carry at least two pairs of signals going in opposite directions, so their interference should be minimized.
In general, USB Implementer's Forum (USB-IF.ORG) has a library of documents including Electrical Test Specification for cables, here is one of the documents.
answered 3 hours ago
Ale..chenskiAle..chenski
31.6k1 gold badge21 silver badges72 bronze badges
31.6k1 gold badge21 silver badges72 bronze badges
add a comment |
add a comment |
$begingroup$
This is an interesting problem, as there are now a proliferation of similar-looking cable types with the introduction of USB 3.x and the Type C connector. Determining how many pairs are connected, and if it supports flip-over and other compliance issues is non-trivial. There's a lot of mis-marked junk out there and having a reliable way to sort it out would be useful.
Have a look here to see how dire the situation really is: https://www.engadget.com/2016/02/03/benson-leung-chromebook-pixel-usb-type-c-test/
I'm going to assume you're interested in testing USB C cables, since it's possible to suss out previous USB 2.0 vs. 3.x types by the connectors types they have on them. Then again, a test for these non-C cables might be useful too. If you work out a test for Type C, the others are subsets.
Start by getting the actual USB 3.2 spec from USB-IF, here: https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns
As a basic test, using a breakout board at each end and checking end-to-end with a multimeter would be the way to do it. You would check for continuity on each possible signal pair:
- USB 2.0: DM/DP
- USB '3.0 / 3.1' (one SS pair): DM/DP, SSTX+/SSTX-, SSRX+/SSRX-
- USB 3.2 Gen 2 (two SS pairs): DM/DP, SSTX1+/SSTX1-, SSRX1+/SSRX1-, SSTX2+/SSTX2-, SSRX2+/SSRX2-
As an improvement you could use a TDR reflection method, like some LAN cable testers use. This would also tell you if the cable is the right impedance.
More about TDR testing here: https://www.electronics-notes.com/articles/test-methods/time-domain-reflectometer-tdr/what-is-a-tdr.php
Example LAN cable tester here: https://www.cablestogo.com/product/39002/lansmart-tdr-cable-tester
Certifcation-level testing here: https://www.keysight.com/upload/cmc_upload/All/USB_3_0_test_solution_overview.pdf
If you're thinking to make a product I think making a continuity tester board would be useful. The tester would terminate the cable at one end, and test for continuity at the other using a microcontroller to measure it. This would be able to reliably distinguish if the cable has the right number of of pairs.
Example commercial USB test product: https://www.totalphase.com/blog/2018/09/tools-can-use-test-analyze-functions-power-delivery-usb-type-c-cables/
It would be good to also check shield continuity as a separate test. It's supposed to be isolated from signal ground, but still present, and it's an area where many shoddy vendors will cheat.
(To the other posters - think about how you would do incoming inspection / acceptance on cables you bought for your product. You'd do something like this, and maybe even take the cable apart too.)
$endgroup$
add a comment |
$begingroup$
This is an interesting problem, as there are now a proliferation of similar-looking cable types with the introduction of USB 3.x and the Type C connector. Determining how many pairs are connected, and if it supports flip-over and other compliance issues is non-trivial. There's a lot of mis-marked junk out there and having a reliable way to sort it out would be useful.
Have a look here to see how dire the situation really is: https://www.engadget.com/2016/02/03/benson-leung-chromebook-pixel-usb-type-c-test/
I'm going to assume you're interested in testing USB C cables, since it's possible to suss out previous USB 2.0 vs. 3.x types by the connectors types they have on them. Then again, a test for these non-C cables might be useful too. If you work out a test for Type C, the others are subsets.
Start by getting the actual USB 3.2 spec from USB-IF, here: https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns
As a basic test, using a breakout board at each end and checking end-to-end with a multimeter would be the way to do it. You would check for continuity on each possible signal pair:
- USB 2.0: DM/DP
- USB '3.0 / 3.1' (one SS pair): DM/DP, SSTX+/SSTX-, SSRX+/SSRX-
- USB 3.2 Gen 2 (two SS pairs): DM/DP, SSTX1+/SSTX1-, SSRX1+/SSRX1-, SSTX2+/SSTX2-, SSRX2+/SSRX2-
As an improvement you could use a TDR reflection method, like some LAN cable testers use. This would also tell you if the cable is the right impedance.
More about TDR testing here: https://www.electronics-notes.com/articles/test-methods/time-domain-reflectometer-tdr/what-is-a-tdr.php
Example LAN cable tester here: https://www.cablestogo.com/product/39002/lansmart-tdr-cable-tester
Certifcation-level testing here: https://www.keysight.com/upload/cmc_upload/All/USB_3_0_test_solution_overview.pdf
If you're thinking to make a product I think making a continuity tester board would be useful. The tester would terminate the cable at one end, and test for continuity at the other using a microcontroller to measure it. This would be able to reliably distinguish if the cable has the right number of of pairs.
Example commercial USB test product: https://www.totalphase.com/blog/2018/09/tools-can-use-test-analyze-functions-power-delivery-usb-type-c-cables/
It would be good to also check shield continuity as a separate test. It's supposed to be isolated from signal ground, but still present, and it's an area where many shoddy vendors will cheat.
(To the other posters - think about how you would do incoming inspection / acceptance on cables you bought for your product. You'd do something like this, and maybe even take the cable apart too.)
$endgroup$
add a comment |
$begingroup$
This is an interesting problem, as there are now a proliferation of similar-looking cable types with the introduction of USB 3.x and the Type C connector. Determining how many pairs are connected, and if it supports flip-over and other compliance issues is non-trivial. There's a lot of mis-marked junk out there and having a reliable way to sort it out would be useful.
Have a look here to see how dire the situation really is: https://www.engadget.com/2016/02/03/benson-leung-chromebook-pixel-usb-type-c-test/
I'm going to assume you're interested in testing USB C cables, since it's possible to suss out previous USB 2.0 vs. 3.x types by the connectors types they have on them. Then again, a test for these non-C cables might be useful too. If you work out a test for Type C, the others are subsets.
Start by getting the actual USB 3.2 spec from USB-IF, here: https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns
As a basic test, using a breakout board at each end and checking end-to-end with a multimeter would be the way to do it. You would check for continuity on each possible signal pair:
- USB 2.0: DM/DP
- USB '3.0 / 3.1' (one SS pair): DM/DP, SSTX+/SSTX-, SSRX+/SSRX-
- USB 3.2 Gen 2 (two SS pairs): DM/DP, SSTX1+/SSTX1-, SSRX1+/SSRX1-, SSTX2+/SSTX2-, SSRX2+/SSRX2-
As an improvement you could use a TDR reflection method, like some LAN cable testers use. This would also tell you if the cable is the right impedance.
More about TDR testing here: https://www.electronics-notes.com/articles/test-methods/time-domain-reflectometer-tdr/what-is-a-tdr.php
Example LAN cable tester here: https://www.cablestogo.com/product/39002/lansmart-tdr-cable-tester
Certifcation-level testing here: https://www.keysight.com/upload/cmc_upload/All/USB_3_0_test_solution_overview.pdf
If you're thinking to make a product I think making a continuity tester board would be useful. The tester would terminate the cable at one end, and test for continuity at the other using a microcontroller to measure it. This would be able to reliably distinguish if the cable has the right number of of pairs.
Example commercial USB test product: https://www.totalphase.com/blog/2018/09/tools-can-use-test-analyze-functions-power-delivery-usb-type-c-cables/
It would be good to also check shield continuity as a separate test. It's supposed to be isolated from signal ground, but still present, and it's an area where many shoddy vendors will cheat.
(To the other posters - think about how you would do incoming inspection / acceptance on cables you bought for your product. You'd do something like this, and maybe even take the cable apart too.)
$endgroup$
This is an interesting problem, as there are now a proliferation of similar-looking cable types with the introduction of USB 3.x and the Type C connector. Determining how many pairs are connected, and if it supports flip-over and other compliance issues is non-trivial. There's a lot of mis-marked junk out there and having a reliable way to sort it out would be useful.
Have a look here to see how dire the situation really is: https://www.engadget.com/2016/02/03/benson-leung-chromebook-pixel-usb-type-c-test/
I'm going to assume you're interested in testing USB C cables, since it's possible to suss out previous USB 2.0 vs. 3.x types by the connectors types they have on them. Then again, a test for these non-C cables might be useful too. If you work out a test for Type C, the others are subsets.
Start by getting the actual USB 3.2 spec from USB-IF, here: https://www.usb.org/document-library/usb-32-specification-released-september-22-2017-and-ecns
As a basic test, using a breakout board at each end and checking end-to-end with a multimeter would be the way to do it. You would check for continuity on each possible signal pair:
- USB 2.0: DM/DP
- USB '3.0 / 3.1' (one SS pair): DM/DP, SSTX+/SSTX-, SSRX+/SSRX-
- USB 3.2 Gen 2 (two SS pairs): DM/DP, SSTX1+/SSTX1-, SSRX1+/SSRX1-, SSTX2+/SSTX2-, SSRX2+/SSRX2-
As an improvement you could use a TDR reflection method, like some LAN cable testers use. This would also tell you if the cable is the right impedance.
More about TDR testing here: https://www.electronics-notes.com/articles/test-methods/time-domain-reflectometer-tdr/what-is-a-tdr.php
Example LAN cable tester here: https://www.cablestogo.com/product/39002/lansmart-tdr-cable-tester
Certifcation-level testing here: https://www.keysight.com/upload/cmc_upload/All/USB_3_0_test_solution_overview.pdf
If you're thinking to make a product I think making a continuity tester board would be useful. The tester would terminate the cable at one end, and test for continuity at the other using a microcontroller to measure it. This would be able to reliably distinguish if the cable has the right number of of pairs.
Example commercial USB test product: https://www.totalphase.com/blog/2018/09/tools-can-use-test-analyze-functions-power-delivery-usb-type-c-cables/
It would be good to also check shield continuity as a separate test. It's supposed to be isolated from signal ground, but still present, and it's an area where many shoddy vendors will cheat.
(To the other posters - think about how you would do incoming inspection / acceptance on cables you bought for your product. You'd do something like this, and maybe even take the cable apart too.)
edited 6 hours ago
answered 8 hours ago
hacktasticalhacktastical
4,2665 silver badges21 bronze badges
4,2665 silver badges21 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Electrical Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f453491%2fhow-do-we-test-and-determine-if-a-usb-cableconnector-is-version-2-3-0-or-3-1%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
$begingroup$
If it has four pins on the connector (or five for mini/micro USB), it's either USB 2.0 or 1.x. If it has more, it's 3.x. As far as I know there's no simple way to distinguish 3.0 and 3.1, but I could be wrong. I'm not sure if the cables even are any different.
$endgroup$
– Hearth
11 hours ago
$begingroup$
Did you do any research? There is all the information you could ever need on Wikipedia.
$endgroup$
– Peter Jennings
11 hours ago