Remix.run Logo
sschueller 5 days ago

This happens because these devices had USB microB before and the manufacturer just replaced the port without reading the spec.

Even some mainstream products have this issue. I have an automatic door opener from a large company and the battery pack has the same issue. It is shipped with a special cable you have to use as no other USB-C cable works.

imtringued 5 days ago | parent | next [-]

There is also another problem. The spec is large and it's not aimed at those who want to implement the simplest possible USB C compliant device.

Based on the table of contents the most promising section is "2.3.4 USB Type-C VBUS Current Detection and Usage" but it doesn't actually talk about anything you actually need. You're supposed to click through to the section "4.6.2.1 USB Type-C Current" where it shows the reference circuit, but it doesn't tell you the values of Rd, which are in section "4.11.1 Termination Parameters".

It's a 300+ page document where you must already know what you're looking for. If you didn't already know that you need two resistors, you wouldn't be able to figure it out with the spec alone.

xg15 5 days ago | parent [-]

Sounds like an "annotated spec" or some guides for implementers would be really useful.

michaelt 5 days ago | parent [-]

When you use a well-documented chip, the datasheet will contain diagrams and they'll have a working demo board which they'll give you the full schematic for. Closer to 3 pages than 300.

Of course, a person can still get it wrong...

numpad0 5 days ago | parent | prev [-]

There's also this dreadful thing[1][2]

1: https://akizukidenshi.com/img/goods/6/116895.jpg

2: https://akizukidenshi.com/img/goods/3/116895.jpg