Bit of self-promotion: I spent the last year or so designing an open-source USB-PD protocol analyzer[1], and the complexity of the protocol can be mind-boggling. Most of the time, the communication between source and sink is really straightforward, but it can get amazingly complicated when both devices are dual-role or come from the same vendor[2].
As messy as it is, however, it's also a very useful protocol that allows even small players to take advantage of the same economies of scale that large companies can take advantage of. Pity that the communication often requires dedicated chips, though thankfully those are relatively inexpensive. I was able to get an RP2350 (the same MCU that's in the Raspberry Pi Pico 2) to interface directly with USB-PD, but they could have made it easier and more accessible.
What do you think of those cheap chips you can use as USB-C PD control boards ? They usually have a button some way to cycle between a few different output voltages (like 12v, 5v, 18v, etc)
It's hard to make a sweeping statement, but I can tell you that I more or less use USB-C exclusively in all my hardware designs now, and I've found that most of these “decoy boards” work well enough. The model I use[1] most often supports basic the USB-C protocol well, is easy to solder to (and remove from) an existing PCB, and is pretty robust.
I cannot stress enough how convenient being able to “plug and play” USB-PD power in an existing project is. Whenever I send a finished device to a client, I no longer have to worry about having to source a compatible power brick, or about them misplacing it. Not to mention that, for the simpler projects, I can literally get a 20W power puck from IKEA that has really good performance and costs all of $5 (Canadian). On top of that, if I find that I need more voltage, I can just change a jumper on the decoy board and I'm ready to go.
The only thing I wish more of these boards came with is better overcurrent protection; with PPS so common these days, it would be pretty easy to let the user choose an appropriate current cutoff. Oh well!
Thank you! No videos yet, though both I and out beta testers have used Dr. PD to troubleshoot a bunch of devices. One of our testers actually develops USB-C sources, so it was very interesting to interact with them (and they found oh-so-many bugs :-) ).
There are some screenshots of the UI on the Github page[1], and I wrote a little bit about trying to figure out the mess of USB-C cables that I have accumulated over the years[2] to see which supports what capabilities.
I think some videos are a great idea… now that the device is done and we're starting to send review units out, hopefully I will have some time to actually shoot them :-)
Even if Lightning was possibly a nicer or smaller connector; nothing beats a true industry standard. Makes the entire “what chargers and cables to bring to connect my stuff” question so much easier.
"back in the day", you had an ericsson charger that fit in an ericsson phone and charget that ericsson phone well... and you had a nokia charger for you nokia that charged your nokia. They physically looked different, they wouldn't fit into any other device, and when you needed a charger, you'd take the one that fit the charging hole and it would charge.
Now, you have a bunch of usb C bricks, some just 5V usb, some USB PD, some QC(2, 3).... then you have a bunch of usb C cables, some with ID chips, some without, some able to carry 15 watts, some 100 watts, and then you have devices, some that can do QC, some that can do smart PD, some with just some resistors, some without even those.
Everything fits in every hole, every charger can take any cable and any device can take the other end of the cable.... but will this particular combo charge your laptop? The cable fits.. will it charge? What about those cheap earbuds that just want 5 volts? The USB-A to usb-C cable that came with them works, but the USB-C to USB-C that you bought after, doesn't. How about that smart LiPo charger, it's USB-C, but it needs at least 9 volts to charge, and not every power brick gives out that voltage. What about charging speed? Will it do fast charge? Your laptop charging light is on, but the battery percentage is going down... why? What about a powerbank, does it charge your laptop? How does it know who does the charging, and who is getting charged?
I mean sure, if you know your standards, you'll know what devices need PD and which ones use QC, you'll read the specs on the power bricks, you know how many watts your laptop needs, how to switch the current directions, which devices can't do proper handshakes, and need usbA->C cables, etc, and you'll get yourself a baggie of a few power bricks and cables for different stuff, but i had to label the cables for my mom, because while everything physically fits, many combinations won't actually charge your device. 10 years ago, this wasn't a problem, since her laptop charger didn't fit her wireless earphones, now it fits and it doesn't charge them.
I've charged a Mac with the Switch cable, and a Switch with the Mac brick. Nowadays I charge everything with the same brick from a dell laptop from 2018.
Is it the most efficient? Probably not. Is it hurting the batteries of my devices? I guess?? I haven't noticed any issues with any device and that's 8 years now. Perhaps I've been lucky.
That's for charging. Data can be trickier, that's true, but often devices that use USB-C for serious stuff come with their own. Chargers from aliexpress-grade stuff I just discard to the drawer of the 1M-cables from where nothing will ever come out.
In practice, this complexity means you at least have a chance. Most phones and almost all low-power devices will accept power from most chargers and cables. Probably not at a maximum level, but if you're stuck somewhere you can get by.
Power-hungry laptops are trickier, but even so... I've gone a week or more trickle charging a laptop from whatever travel charger I happened to have on hand, using it for a few hours, then putting it in standby and charging it up again until finally the mfg-blessed replacement fast charger arrived. The alternative (and one I was faced with more than once in the bad old days) was "no laptop".
Worst experience I've had to date has been a Norco jump box that will charge via one high-power charger and one cable, a car charger it came with, and ... Via careful back feeding from a benchtop power supply.
I have successfully had am M1 MacBook open and in active use (albeit not with very heavy workload, mostly text editor and web), while plugged into a Nintendo Switch 1 charger (only thing I had handy at that moment), and was watching the battery percentage slowly increasing over time. So even laptops can sometimes charge slowly while in use with a rather underpowered type C charger (Albeit still slightly better than a cheapo 5V 3A Type-C phone charger).
You may be right, and I've had to live some of that myself with docking stations, thunderbolt, and such.
But those moments are the exceptions. In my everyday life, when I need to charge _anything_, except maybe for the laptop itself, I just look for a charger with USB-C and it works. It maybe faster or slower depending on everything you just wrote, but it works.
On a side-note, when I take the charger of my laptop, it can charge absolutely everything.
Yep, we gained nothing from moving laptops and other high power devices into USB, instead of finishing the standardization of the barrel connector. Laptops chargers were already almost all compatible, and there is no reason to mix them with the low power devices.
honestly, the lightning CONNECTOR was far better, but man, I really appreciate the standardization. We have one device on the house left using lightning (my wife's iPhone 13 mini) and .. well, I just wish they'd release a new mini, that's all.
And I have to say, the lightning connector itself is better than the usb-c connect in my opinion. I get that having the pins on the male* plug is a theoretical advantage in durability but that has not been my experience with usb-c connector durability on either end.
EDIT: usb-c has pins on the male plug. Which is what I meant. So female -> male.
> the lightning connector itself is better than the usb-c connect in my opinion. I get that having the pins on the male* plug is a theoretical advantage in durability but that has not been my experience with usb-c connector durability on either end.
I always end up picking a lot of dust out of my usb-c ports on my phones; or otherwise the port wears out and disconnects before charging completes. (Right after my wife entered the hospital in labor, I needed to scrounge around for something to clean out my phone's port because the "go" bag only had a wired charger and my phone wouldn't charge on it.)
It's why I went to a wireless charger for daily use.
---
I'm real curious why lightning never became the standard. Was Apple trying to keep it proprietary? Was there a half-hearted attempt to open it up or otherwise convince the Android ecosystem to use it?
> I'm real curious why lightning never became the standard.
Because it is bad. In any connection there are springs that keep the tension, which will eventually wear out. They can either be on the cheap replaceable cable, or in the receptacle that is hardwired into your expensive device.
> Why Micro types offer better durability? Accomplished by moving leaf-spring from the PCB receptacle to plug, the most-stressed part is now on the cable side of the connection. Inexpensive cable bears most wear instead of the µUSB device.
Definitely had an iPhone where the port was worn out and getting it to connect was difficult.
One reason is that Lightning couldn't do the faster speeds or extra modes like USB-C. There were USB3 and display adapters but they were sort of hacks. USB-C was used for MacBooks and iPad Pros. USB-C allows passive adapters to USB2 and USB3.
The advantage of Lightning here is there is a totally open port, so picking lint out of the port is substantially easier. With Type C you have to work around the 'tab' and it requires much much smaller tools.
I have not used lightning but I have found USB C to be much more fragile than USB A, although better than mini and micro. I would really rather have had evey thing be a few mm bigger and stick with A.
A USB-C successor (USB-D?) that's USB-A sized but with the added pins, reversibility, and bidirectionality of USB-C would be neat. But USB-C is “good enough” as a one-standard-to-rule-them-all that I don't think it'd be worth it unless there was a massive benefit (faster data transfer? beefier power lines? optical data lines?).
I've also had basically zero issue with Lightning connectors, but had a constant battle with USB-C of every kind to figure out what's charging, what's data, what's PD, and so much more hassle.
I don't get why Apple was forced to colonize by the EU when they had the market-leading connector in place for significantly longer than USB-C even existed.
"It's only USB2!" Does it have to support the faster USB3 speeds? Not really... we don't have to keep forcing everything to include the latest kitchen sink support.
If apple had made lightning an actual standard everyone was using then the eu might have chosen that instead.
But they didn't. Every single other company/device was using usb(c) and it probably wasn't because of some kind if irrational dislike of words starting with the letter L.
It was only 2.5 years between Apple's first device with Lightning (iPhone 5 in September 2012) and their first device with USB-C (12" Macbook in April 2015). It's not like Lightning had a huge track record at that point they just made a decision that they had switched connectors once and didn't want to turn around and do it again. Kind of understandable, but I'm glad to not have Lightning anymore.
Failure to have clear cable capability marking from the start is too bad though, if I needed a high speed USB cable longer than 6" (probably included with a hard drive enclosure or similar) I'm not sure if I own one, and if I do I have no idea which cable it is.
Always found it a bit strange that USB-C is referred to as a "new connector" when it clearly seems to be an entirely new protocol. (Unlike the previous new connectors mini and micro which were just differently-shaped plugs for the same wires)
So is the protocol technically USB 4.0 and USB-C "just" a new connector role defined by that protocol, or did they ditch the versioning and "USB-C" is its own thing?
The guide mentions that USB 4.0 is the first version to require a USB-C connector, but then later refers to the "USB-C protocol". Is that the same as USB 4.0?
USB-C is a connector. Part of the confusion is that USB specification versions have come to be associated with the protocols and speeds defined there. The basic division is between USB2 and USB3 which are separate protocols on different wires. USB-C has multiple high speed lanes.
USB 3.0 defined the SuperSpeed protocol and 5GBps speed. Later versions increased speeds, 10GBps (USB3.1), 20GBps (USB3.2). These were also called Gen1, Gen2, or now just the speeds.
Then, there are alternate modes which run other protocols over high speed lanes. DisplayPort is the most common one.
Next, USB4 defined USB4 protocol which multiplexes SuperSpeed and DisplayPort over two high speed lanes. USB4 requires USB-C. This is basically Thunderbolt standardized. Specification also defines 20Gbps, 40Gbps, and 80Gbps speeds.
Guides like this explain why there are so many broken USB-C devices. The guide mentions that you do not need a PD chip for 5Vs, but then tells you that USB C is a cold connector meaning 0V is on VBUS when nothing is connected and jumps straight into the complexities of the PD protocol running over the CC pins instead of explaining how to get the 5V without the PD chip first.
Then in the section where it tells you how to do that, it fails to properly explain how to connect a load switch (10 cent component at 100 units) to get around the 10uF limit. The vast majority of applications will require less than 15 W and a good chunk of them can't get away with 10uF between VBUS and GND so a schematic how to do it in the lowest cost way would have helped here.
Edit: After reading until the very end I got the impression that this is just an ad for Texas Instruments PD controllers.
USB-C uses resistors to signal the power level for 5V. There is 5.1k for USB legacy, and I forget for 7.5W and 15W. Lots of cheap devices leave out the 5.1k resistors and depend on the same resistors in the USB-C to USB-A cable.
It is perfectly fine for USB-C device to signal USB Legacy since every charger needs to support it for microUSB to USB-C cables. The other way is for device to dynamically negotiate power level with the charger, but this is different than USB PD for higher voltage.
A year of plugging it in once or twice a day to recharge it, and it blew.
Old rectangular USB-A was only rated for 1500 ideal insertions. USB-C is a big improvement at 10,000 ideal insertions. Most insertions are not ideal, and it is relatively common to have some leveraged pressure trying to wedge the port apart; When my phone bridges the gap between the arm of the sofa and the coffee table while plugged in, for example, it's got a bending moment. USB-C is much thinner in the up-down dimension than USB-A, and it is not designed to safely disengage when side-loaded like Magsafe. If you wanted to break it for some reason, I'm pretty sure you could do it in a few seconds while resting your elbows on the table, on grip strength alone.
It's a narrow connector and sideways force acts like a knife on the shell. blowing out the sides. and then the connector is unreliable. It is better than microusb but worse than usb-a.
So it depends on how you baby it, but a few good accidental tugs can ruin a phone.
I like to run my game controllers wired and ruined one(xbox-one controller) this way when I got a bit agitated during a game, it's replacement(8-bitdo wired) is much better designed where the plug housing goes in a snug inset in the controller. Providing strain relief. I dread having to find a new plug that fits if it goes bad. but a narrow plug should work, granted without the strain relief.
> It's a narrow connector and sideways force acts like a knife on the shell. blowing out the sides.
But the port is contained with any the body of the device and the cord is just dangling so wouldn't that kinda thing break the cord first?
I mean, everything breaks with enough use/bad luck/whatever, I've just never seen a usbc port break like that.
The other day I was using a magnetic usbc connector to a headphone and it broke by ripping the part of the connect that inserts into the port away from the body of the plug, but the port itself was fine.
Why? 10uF is already pretty beastly, and the point is to dampen signal verses intermittent drops and drains, not power the backing device for any amount of time.
You need a soft-start circuit between the USB connector and your big cap. When you first connect the USB device, the cap has no charge (0V) so it appears as a short to ground to the host 5V supply. The result is a large current spike which can draw down the host supply below some functional threshold or even damage it. We could oversize the host supply to deal with a 25 A transient and add cost and introduce safety concerns or push the solution to the connecting device where the problem exists. The solution is to ramp the current up "slowly" over several ms using a transistor on the device side. While the transistor is turned on slowly, it isn't fully conducting, acting as a variable resistor. The transistor is dissipating power during this transition so it must be sized correctly and timing controlled deliberately. Hence why we want the same design to contain the cap, transistor, and ramp control. A typical circuit might be: connector->small cap->soft start->big cap->main circuit. The soft start feature is often just built into a voltage regulator since there's already a transistor and control circuitry there but you can also get a dedicated load switch if you only want ~5V. The 10uF requirement is a contractual agreement between host and device that ensures compatibility between devices. If you don't follow it, a sophisticated host may simply cut power when it sees the current spike and that would be the device's problem.
Realistically, most USB devices hiccup when they exceed their current limit, especially in 5V mode. And since caps don’t loose charge that quickly typically, you can usually charge the cap up enough to deal with this transient no matter how big your cap is (unless it’s something absolutely enormous… which wouldn’t be implemented for cost reasons)
I have seen this play out with host devices with robust current limiting outputs. Sometimes it works for the connected device and sometimes the device sabotages itself when its own regulator turns on at say 3.6 V, drawing down the partially charged input cap below the regulator's UVLO and turning itself off again. Then the cap starts charging again and the cycle starts over. Depending on the host implementation, the burp mode may not reset without a full disconnection, at best leaving the connected device to sip a low average voltage and low current or persist in the above loop forever. Making sure this doesn't happen is more difficult than just implementing inrush limiting.
TI usually links to chip datasheets, which do tend to change from time to time. Having both a reference to a specific revision and a trivial link to the latest revision is quite handy in practice.
A helpful guide, but usb c usability from a consumer standpoint is atrocious. From the specs it runs so many modes, PD (at various power levels), classic 5v , alternative modes. Sadly, there’s no way of knowing which mode a device or cable is supporting.
They could have done a better job color coding the connectors like resistors, so you could know the protocols supported by the cables and devices.
I have to label my own cables according to data support, PD, max power, etc. And many of my “usb c” devices only work with usb-A to usb-C cables.
The connector design targeted the industry and not consumers. Hopefully they will improve that.
USB-C reminds me of HTTP: one familiar interface hiding an enormous amount of complexity underneath.
That's great for experts, but difficult for everyone else because the same connector can expose wildly different capabilities depending on the implementation.
The EPR safety design is the part worth highlighting for anyone not deep in USB PD. The handshake is deliberately structured so a single message error can't accidentally push a port into a 100W plus contract, the sink has to actively drive entry into EPR mode and the source verifies cable capability before sourcing anything above 20V. That's a sensible failsafe given how much heat and current you're dealing with at 48V and 5A.
The eUSB2 section is also underrated context for why this matters beyond cables. As process nodes shrink below 7nm, the old 3.3V USB 2.0 signaling literally becomes a reliability risk to the silicon itself, which is why chipmakers had to invent a whole lower voltage PHY just to keep USB 2.0 alive on modern nodes.
Not only that, but EPR contracts must be actively maintained in order to remain in effect. The sink needs to send a ping to the source every ~500ms, or the source pops out of EPR mode and forces a renegotiation. This ensures that, if the sink crashes, the source doesn't keep pumping power into a device that can't take it anymore.
I use an Apple Silicon Mac and often use programmable keyboards like the Royal Kludge RK61 via USB C. when I press keys such as A, S, D, F, W, or nearby keys in quick succession, the keyboard stops responding completely until I unplug and reconnect it. I've even replaced the USB C cable with a new store bought cable, but the issue still persists.
Bit of self-promotion: I spent the last year or so designing an open-source USB-PD protocol analyzer[1], and the complexity of the protocol can be mind-boggling. Most of the time, the communication between source and sink is really straightforward, but it can get amazingly complicated when both devices are dual-role or come from the same vendor[2].
As messy as it is, however, it's also a very useful protocol that allows even small players to take advantage of the same economies of scale that large companies can take advantage of. Pity that the communication often requires dedicated chips, though thankfully those are relatively inexpensive. I was able to get an RP2350 (the same MCU that's in the Raspberry Pi Pico 2) to interface directly with USB-PD, but they could have made it easier and more accessible.
[1] https://github.com/T76-org/drpd or https://www.crowdsupply.com/t76-org/dr-pd [2] https://hackaday.io/page/399885-a-mac-and-an-ipad-walk-into-...
What do you think of those cheap chips you can use as USB-C PD control boards ? They usually have a button some way to cycle between a few different output voltages (like 12v, 5v, 18v, etc)
It's hard to make a sweeping statement, but I can tell you that I more or less use USB-C exclusively in all my hardware designs now, and I've found that most of these “decoy boards” work well enough. The model I use[1] most often supports basic the USB-C protocol well, is easy to solder to (and remove from) an existing PCB, and is pretty robust.
I cannot stress enough how convenient being able to “plug and play” USB-PD power in an existing project is. Whenever I send a finished device to a client, I no longer have to worry about having to source a compatible power brick, or about them misplacing it. Not to mention that, for the simpler projects, I can literally get a 20W power puck from IKEA that has really good performance and costs all of $5 (Canadian). On top of that, if I find that I need more voltage, I can just change a jumper on the decoy board and I'm ready to go.
The only thing I wish more of these boards came with is better overcurrent protection; with PPS so common these days, it would be pretty easy to let the user choose an appropriate current cutoff. Oh well!
[1] https://www.amazon.ca/dp/B0CNVN1N3J?ref_=ppx_hzsearch_conn_d...
This looks awesome. Do you have video show casing you diagnosing a problem with it?
Thank you! No videos yet, though both I and out beta testers have used Dr. PD to troubleshoot a bunch of devices. One of our testers actually develops USB-C sources, so it was very interesting to interact with them (and they found oh-so-many bugs :-) ).
There are some screenshots of the UI on the Github page[1], and I wrote a little bit about trying to figure out the mess of USB-C cables that I have accumulated over the years[2] to see which supports what capabilities.
I think some videos are a great idea… now that the device is done and we're starting to send review units out, hopefully I will have some time to actually shoot them :-)
[1] https://hackaday.io/page/399874-silence-the-usb-c-cable-spea... [2] https://hackaday.io/page/399874-silence-the-usb-c-cable-spea...
My new iPhone with USB C charging is such an improvement!
Thank goodness for the European Union. If it weren't for them, we'd all be stuck with these flimsy Apple charging cables forever.
Even if Lightning was possibly a nicer or smaller connector; nothing beats a true industry standard. Makes the entire “what chargers and cables to bring to connect my stuff” question so much easier.
Sadly, that's far from truth...
"back in the day", you had an ericsson charger that fit in an ericsson phone and charget that ericsson phone well... and you had a nokia charger for you nokia that charged your nokia. They physically looked different, they wouldn't fit into any other device, and when you needed a charger, you'd take the one that fit the charging hole and it would charge.
Now, you have a bunch of usb C bricks, some just 5V usb, some USB PD, some QC(2, 3).... then you have a bunch of usb C cables, some with ID chips, some without, some able to carry 15 watts, some 100 watts, and then you have devices, some that can do QC, some that can do smart PD, some with just some resistors, some without even those.
Everything fits in every hole, every charger can take any cable and any device can take the other end of the cable.... but will this particular combo charge your laptop? The cable fits.. will it charge? What about those cheap earbuds that just want 5 volts? The USB-A to usb-C cable that came with them works, but the USB-C to USB-C that you bought after, doesn't. How about that smart LiPo charger, it's USB-C, but it needs at least 9 volts to charge, and not every power brick gives out that voltage. What about charging speed? Will it do fast charge? Your laptop charging light is on, but the battery percentage is going down... why? What about a powerbank, does it charge your laptop? How does it know who does the charging, and who is getting charged?
I mean sure, if you know your standards, you'll know what devices need PD and which ones use QC, you'll read the specs on the power bricks, you know how many watts your laptop needs, how to switch the current directions, which devices can't do proper handshakes, and need usbA->C cables, etc, and you'll get yourself a baggie of a few power bricks and cables for different stuff, but i had to label the cables for my mom, because while everything physically fits, many combinations won't actually charge your device. 10 years ago, this wasn't a problem, since her laptop charger didn't fit her wireless earphones, now it fits and it doesn't charge them.
I've charged a Mac with the Switch cable, and a Switch with the Mac brick. Nowadays I charge everything with the same brick from a dell laptop from 2018.
Is it the most efficient? Probably not. Is it hurting the batteries of my devices? I guess?? I haven't noticed any issues with any device and that's 8 years now. Perhaps I've been lucky.
That's for charging. Data can be trickier, that's true, but often devices that use USB-C for serious stuff come with their own. Chargers from aliexpress-grade stuff I just discard to the drawer of the 1M-cables from where nothing will ever come out.
In practice, this complexity means you at least have a chance. Most phones and almost all low-power devices will accept power from most chargers and cables. Probably not at a maximum level, but if you're stuck somewhere you can get by.
Power-hungry laptops are trickier, but even so... I've gone a week or more trickle charging a laptop from whatever travel charger I happened to have on hand, using it for a few hours, then putting it in standby and charging it up again until finally the mfg-blessed replacement fast charger arrived. The alternative (and one I was faced with more than once in the bad old days) was "no laptop".
Worst experience I've had to date has been a Norco jump box that will charge via one high-power charger and one cable, a car charger it came with, and ... Via careful back feeding from a benchtop power supply.
I have successfully had am M1 MacBook open and in active use (albeit not with very heavy workload, mostly text editor and web), while plugged into a Nintendo Switch 1 charger (only thing I had handy at that moment), and was watching the battery percentage slowly increasing over time. So even laptops can sometimes charge slowly while in use with a rather underpowered type C charger (Albeit still slightly better than a cheapo 5V 3A Type-C phone charger).
You may be right, and I've had to live some of that myself with docking stations, thunderbolt, and such.
But those moments are the exceptions. In my everyday life, when I need to charge _anything_, except maybe for the laptop itself, I just look for a charger with USB-C and it works. It maybe faster or slower depending on everything you just wrote, but it works.
On a side-note, when I take the charger of my laptop, it can charge absolutely everything.
So yes, that's a true and honest improvement.
Yep, we gained nothing from moving laptops and other high power devices into USB, instead of finishing the standardization of the barrel connector. Laptops chargers were already almost all compatible, and there is no reason to mix them with the low power devices.
honestly, the lightning CONNECTOR was far better, but man, I really appreciate the standardization. We have one device on the house left using lightning (my wife's iPhone 13 mini) and .. well, I just wish they'd release a new mini, that's all.
> I just wish they'd release a new mini
you and a lot of other people.
that's the only reason I have lightning in the house, actually.
There were non-apple lightning cables already.
And I have to say, the lightning connector itself is better than the usb-c connect in my opinion. I get that having the pins on the male* plug is a theoretical advantage in durability but that has not been my experience with usb-c connector durability on either end.
EDIT: usb-c has pins on the male plug. Which is what I meant. So female -> male.
> the lightning connector itself is better than the usb-c connect in my opinion. I get that having the pins on the male* plug is a theoretical advantage in durability but that has not been my experience with usb-c connector durability on either end.
I always end up picking a lot of dust out of my usb-c ports on my phones; or otherwise the port wears out and disconnects before charging completes. (Right after my wife entered the hospital in labor, I needed to scrounge around for something to clean out my phone's port because the "go" bag only had a wired charger and my phone wouldn't charge on it.)
It's why I went to a wireless charger for daily use.
---
I'm real curious why lightning never became the standard. Was Apple trying to keep it proprietary? Was there a half-hearted attempt to open it up or otherwise convince the Android ecosystem to use it?
> I'm real curious why lightning never became the standard.
Because it is bad. In any connection there are springs that keep the tension, which will eventually wear out. They can either be on the cheap replaceable cable, or in the receptacle that is hardwired into your expensive device.
This is why, in part, USB Mini was replaced by USB Micro. ( https://electronics.stackexchange.com/questions/18552/why-wa... )
> Why Micro types offer better durability? Accomplished by moving leaf-spring from the PCB receptacle to plug, the most-stressed part is now on the cable side of the connection. Inexpensive cable bears most wear instead of the µUSB device.
Definitely had an iPhone where the port was worn out and getting it to connect was difficult.
One reason is that Lightning couldn't do the faster speeds or extra modes like USB-C. There were USB3 and display adapters but they were sort of hacks. USB-C was used for MacBooks and iPad Pros. USB-C allows passive adapters to USB2 and USB3.
> I always end up picking a lot of dust out of my usb-c ports on my phones
Lightning has the same issue sadly
The advantage of Lightning here is there is a totally open port, so picking lint out of the port is substantially easier. With Type C you have to work around the 'tab' and it requires much much smaller tools.
For everyone one with issues with lint either in a USB or Lightning port I really recommend an inexpensive can of compressed air.
I have not used lightning but I have found USB C to be much more fragile than USB A, although better than mini and micro. I would really rather have had evey thing be a few mm bigger and stick with A.
A USB-C successor (USB-D?) that's USB-A sized but with the added pins, reversibility, and bidirectionality of USB-C would be neat. But USB-C is “good enough” as a one-standard-to-rule-them-all that I don't think it'd be worth it unless there was a massive benefit (faster data transfer? beefier power lines? optical data lines?).
That's fascinating; I've only had positive experience with USB-C cables and terrible with Lightning. What kind of cables do you commonly use?
Couldn't be further from my experience. They would always eventually stop connecting.
I didn't mention the single cable for everything advantage, that goes without saying.
I've also had basically zero issue with Lightning connectors, but had a constant battle with USB-C of every kind to figure out what's charging, what's data, what's PD, and so much more hassle.
I don't get why Apple was forced to colonize by the EU when they had the market-leading connector in place for significantly longer than USB-C even existed.
"It's only USB2!" Does it have to support the faster USB3 speeds? Not really... we don't have to keep forcing everything to include the latest kitchen sink support.
If apple had made lightning an actual standard everyone was using then the eu might have chosen that instead.
But they didn't. Every single other company/device was using usb(c) and it probably wasn't because of some kind if irrational dislike of words starting with the letter L.
As far as I understand Apple could have still supported an additional lightning port if they really cared about it.
Per gemini for making ligthning accessories you also have to pay 4$ to apple per device that are passed onto the consumer.
I dont know in what way that has to do with colonization.
USB everywhere is nice because you can use the same charger for all kind of devices and dont have to carry multiple with you.
The different kind of specs for usb cables is unfortunate, but you can just buy the highest spec ones and only use them.
It was only 2.5 years between Apple's first device with Lightning (iPhone 5 in September 2012) and their first device with USB-C (12" Macbook in April 2015). It's not like Lightning had a huge track record at that point they just made a decision that they had switched connectors once and didn't want to turn around and do it again. Kind of understandable, but I'm glad to not have Lightning anymore.
Failure to have clear cable capability marking from the start is too bad though, if I needed a high speed USB cable longer than 6" (probably included with a hard drive enclosure or similar) I'm not sure if I own one, and if I do I have no idea which cable it is.
Give it time. I have 10+ year lightning connnectors working great. usb c isn’t quite as sturdy
Pretty good summary. It can be confusing since type C is "just a connector" but it's pretty heavily coupled with the protocol now.
Always found it a bit strange that USB-C is referred to as a "new connector" when it clearly seems to be an entirely new protocol. (Unlike the previous new connectors mini and micro which were just differently-shaped plugs for the same wires)
So is the protocol technically USB 4.0 and USB-C "just" a new connector role defined by that protocol, or did they ditch the versioning and "USB-C" is its own thing?
The guide mentions that USB 4.0 is the first version to require a USB-C connector, but then later refers to the "USB-C protocol". Is that the same as USB 4.0?
USB-C is a connector. Part of the confusion is that USB specification versions have come to be associated with the protocols and speeds defined there. The basic division is between USB2 and USB3 which are separate protocols on different wires. USB-C has multiple high speed lanes.
USB 3.0 defined the SuperSpeed protocol and 5GBps speed. Later versions increased speeds, 10GBps (USB3.1), 20GBps (USB3.2). These were also called Gen1, Gen2, or now just the speeds.
Then, there are alternate modes which run other protocols over high speed lanes. DisplayPort is the most common one.
Next, USB4 defined USB4 protocol which multiplexes SuperSpeed and DisplayPort over two high speed lanes. USB4 requires USB-C. This is basically Thunderbolt standardized. Specification also defines 20Gbps, 40Gbps, and 80Gbps speeds.
Perhaps you will find page 27, "USB signals over USB Type-C®", clears up the strangeness.
At least when you get to the first section, "USB 2.0 Signaling Over Type-C".
Guides like this explain why there are so many broken USB-C devices. The guide mentions that you do not need a PD chip for 5Vs, but then tells you that USB C is a cold connector meaning 0V is on VBUS when nothing is connected and jumps straight into the complexities of the PD protocol running over the CC pins instead of explaining how to get the 5V without the PD chip first.
Then in the section where it tells you how to do that, it fails to properly explain how to connect a load switch (10 cent component at 100 units) to get around the 10uF limit. The vast majority of applications will require less than 15 W and a good chunk of them can't get away with 10uF between VBUS and GND so a schematic how to do it in the lowest cost way would have helped here.
Edit: After reading until the very end I got the impression that this is just an ad for Texas Instruments PD controllers.
Basic 5V devices just need a 5.1k resistor on each CC pin to GND. It is pretty obvious when reading the actual USB-C Connector Specification.
USB-C uses resistors to signal the power level for 5V. There is 5.1k for USB legacy, and I forget for 7.5W and 15W. Lots of cheap devices leave out the 5.1k resistors and depend on the same resistors in the USB-C to USB-A cable.
It is perfectly fine for USB-C device to signal USB Legacy since every charger needs to support it for microUSB to USB-C cables. The other way is for device to dynamically negotiate power level with the charger, but this is different than USB PD for higher voltage.
My phone's USB-C port is worn out, and so now it's a brick if I don't have a wireless charging dock around.
Is it physically impossible to get bandwidth and power out of something as durable as a Magsafe connector, even a larger-scale version?
I wonder if you could bond one of those magnetic USB-C cables onto your port.
like:
https://www.amazon.com/dp/B09P9PNFS6
I generally stick magnetic USB C connectors into things like keyboards, phones, and iPads.
The slight bulge is worth the reduction in insertions. Also is very convenient for snapping when I need to connect.
How do you "wear out" a usbc port? Is this phone like 15 years old? My imagination is boggled.
A year of plugging it in once or twice a day to recharge it, and it blew.
Old rectangular USB-A was only rated for 1500 ideal insertions. USB-C is a big improvement at 10,000 ideal insertions. Most insertions are not ideal, and it is relatively common to have some leveraged pressure trying to wedge the port apart; When my phone bridges the gap between the arm of the sofa and the coffee table while plugged in, for example, it's got a bending moment. USB-C is much thinner in the up-down dimension than USB-A, and it is not designed to safely disengage when side-loaded like Magsafe. If you wanted to break it for some reason, I'm pretty sure you could do it in a few seconds while resting your elbows on the table, on grip strength alone.
Ok I'm not going to try breaking it but my intuition says it would break the cable first, not the port?
It's a narrow connector and sideways force acts like a knife on the shell. blowing out the sides. and then the connector is unreliable. It is better than microusb but worse than usb-a.
So it depends on how you baby it, but a few good accidental tugs can ruin a phone.
I like to run my game controllers wired and ruined one(xbox-one controller) this way when I got a bit agitated during a game, it's replacement(8-bitdo wired) is much better designed where the plug housing goes in a snug inset in the controller. Providing strain relief. I dread having to find a new plug that fits if it goes bad. but a narrow plug should work, granted without the strain relief.
> It's a narrow connector and sideways force acts like a knife on the shell. blowing out the sides.
But the port is contained with any the body of the device and the cord is just dangling so wouldn't that kinda thing break the cord first?
I mean, everything breaks with enough use/bad luck/whatever, I've just never seen a usbc port break like that.
The other day I was using a magnetic usbc connector to a headphone and it broke by ripping the part of the connect that inserts into the port away from the body of the plug, but the port itself was fine.
My old Sony xz2c's USB C port wore out after about three years use. About the same length of time they bothered to update Android. :/
Now I want to know, how to add larger than 10uF cap?
Why? 10uF is already pretty beastly, and the point is to dampen signal verses intermittent drops and drains, not power the backing device for any amount of time.
You need a soft-start circuit between the USB connector and your big cap. When you first connect the USB device, the cap has no charge (0V) so it appears as a short to ground to the host 5V supply. The result is a large current spike which can draw down the host supply below some functional threshold or even damage it. We could oversize the host supply to deal with a 25 A transient and add cost and introduce safety concerns or push the solution to the connecting device where the problem exists. The solution is to ramp the current up "slowly" over several ms using a transistor on the device side. While the transistor is turned on slowly, it isn't fully conducting, acting as a variable resistor. The transistor is dissipating power during this transition so it must be sized correctly and timing controlled deliberately. Hence why we want the same design to contain the cap, transistor, and ramp control. A typical circuit might be: connector->small cap->soft start->big cap->main circuit. The soft start feature is often just built into a voltage regulator since there's already a transistor and control circuitry there but you can also get a dedicated load switch if you only want ~5V. The 10uF requirement is a contractual agreement between host and device that ensures compatibility between devices. If you don't follow it, a sophisticated host may simply cut power when it sees the current spike and that would be the device's problem.
Realistically, most USB devices hiccup when they exceed their current limit, especially in 5V mode. And since caps don’t loose charge that quickly typically, you can usually charge the cap up enough to deal with this transient no matter how big your cap is (unless it’s something absolutely enormous… which wouldn’t be implemented for cost reasons)
I have seen this play out with host devices with robust current limiting outputs. Sometimes it works for the connected device and sometimes the device sabotages itself when its own regulator turns on at say 3.6 V, drawing down the partially charged input cap below the regulator's UVLO and turning itself off again. Then the cap starts charging again and the cycle starts over. Depending on the host implementation, the burp mode may not reset without a full disconnection, at best leaving the connected device to sip a low average voltage and low current or persist in the above loop forever. Making sure this doesn't happen is more difficult than just implementing inrush limiting.
there is a timestamp as parameter, I don't know, what it is good for, but the link works without it as well
Might be for cache busting.
could be, but for pdf documents I would assume that they are not changing this much
TI usually links to chip datasheets, which do tend to change from time to time. Having both a reference to a specific revision and a trivial link to the latest revision is quite handy in practice.
timestamp corresponds to Oct 08 2025, so probably the last time the file was modified
How can I read out the bit error rate?
A helpful guide, but usb c usability from a consumer standpoint is atrocious. From the specs it runs so many modes, PD (at various power levels), classic 5v , alternative modes. Sadly, there’s no way of knowing which mode a device or cable is supporting.
They could have done a better job color coding the connectors like resistors, so you could know the protocols supported by the cables and devices.
I have to label my own cables according to data support, PD, max power, etc. And many of my “usb c” devices only work with usb-A to usb-C cables.
The connector design targeted the industry and not consumers. Hopefully they will improve that.
USB-C reminds me of HTTP: one familiar interface hiding an enormous amount of complexity underneath.
That's great for experts, but difficult for everyone else because the same connector can expose wildly different capabilities depending on the implementation.
The EPR safety design is the part worth highlighting for anyone not deep in USB PD. The handshake is deliberately structured so a single message error can't accidentally push a port into a 100W plus contract, the sink has to actively drive entry into EPR mode and the source verifies cable capability before sourcing anything above 20V. That's a sensible failsafe given how much heat and current you're dealing with at 48V and 5A. The eUSB2 section is also underrated context for why this matters beyond cables. As process nodes shrink below 7nm, the old 3.3V USB 2.0 signaling literally becomes a reliability risk to the silicon itself, which is why chipmakers had to invent a whole lower voltage PHY just to keep USB 2.0 alive on modern nodes.
Not only that, but EPR contracts must be actively maintained in order to remain in effect. The sink needs to send a ping to the source every ~500ms, or the source pops out of EPR mode and forces a renegotiation. This ensures that, if the sink crashes, the source doesn't keep pumping power into a device that can't take it anymore.
Good find!
Nice one. I need to read this later.
I use an Apple Silicon Mac and often use programmable keyboards like the Royal Kludge RK61 via USB C. when I press keys such as A, S, D, F, W, or nearby keys in quick succession, the keyboard stops responding completely until I unplug and reconnect it. I've even replaced the USB C cable with a new store bought cable, but the issue still persists.
Check if your keyboard has a way to enable n-key rollover (NKRO)
https://en.wikipedia.org/wiki/Key_rollover
You are genius! thanks this completely solved my issue, for those curious https://postimg.cc/75hV9tCK
I use usevia, all i had to do was find a keyboard definition file for my keyboard which claude found in 2 minutes!
Usb isn't the issue, you bought an extremely budget mechanical keyboard.
Also avoid Epomaker, had the same issues, but needed a full reflash (every other day), losing all my layers etc. (The import function was broken lol)
turns out it was just me not knowing my keyboard has full qmk support and can be configured via usevia, what N-key rollover (NKRO) is.
my keyboard is actually r65 by royal kludge i got that wrong!
I was gifted this keyboard and i just love its feel.