I have all sorts of USB power adapters to power/charge cell phones, lap tops and such. The device and the power supply negotiate voltage and amperage and settle on something they both can supply and use. Can I use those power adapters with RPI4? Will it negotiate what it wants? Or do I need to use the power supply developed by the foundation which provides the "right" power?
Bill
Re: RPI4 USB C Power Delivery negotiation
I am gonna second this on the question. If Pi 4 can negotiate properly over USB-C, it means for people that have difficulty buying official Raspberry Pi accessories, the power adapter and charging cable for Apple Retina MacBook or iPad Pro can be used as an alternative.
p.s. Suggestion: is it possible to implement 9V 3A over USB-C down the road? This allows the Pi to draw up to 27W from said Apple MacBook power adapter, allowing a total of 15W to go to the USB ports.
p.s. Suggestion: is it possible to implement 9V 3A over USB-C down the road? This allows the Pi to draw up to 27W from said Apple MacBook power adapter, allowing a total of 15W to go to the USB ports.
Re: RPI4 USB C Power Delivery negotiation
I don't think there is any negotiation but if you watch this review from 11:20 powering with a phone charger is mentioned, but its still only 5v at 3A phone charger.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported
The use of crystal balls & mind reading are not supported
- RattusRattus
- Posts: 110
- Joined: Sat Sep 29, 2018 11:27 am
Re: RPI4 USB C Power Delivery negotiation
Hi there
Looking at the reduced schematics provided publicly for the RPi4 [1] we can see that there USB-C power pin (J1.VBUS) is directly connected to the primary 5V power rail.
This means that the Pi4 can ONLY accept 5V input from your power supply. There will be NO higher voltage negociation.
USB-C uses the Power Deliveray Specification to negociate for anything over 5V [2], but with connector pins J1.CC1 and J1.CC2 commoned togeatherthere can be no negociation taking place so the power supply is only allowed to give 5V (technically up to 2.1A max, 3A is supposed to be negociated for - but I don't see many people enforcing that limit)
USB-C has already been bastardised by some vendors - for example adding in Qualcomm's quickCharge 2 or 3 protocols. These not use the Power Delivery Specification, instead they use the D+/D- lines of the USB 2.0 port to negotiate the voltage [3]
So to sumerise:
NO. A USB C power supply will only provide a maximum of 2.1A @ 5V DC to a RPi4 whilst remaining fully compliant to USB-C specs. Some (most?) will let you have upto 3A @5V....
Regards
/RattusRattus
[1] https://www.raspberrypi.org/documentati ... educed.pdf
[2] http://www.ti.com/lit/an/slva842/slva842.pdf
[3] As the RPi 4 has populated USB2 on the J1 socket it is possible that malicious code running on your Pi *could* negociate for and receive a higher voltage whether or not this would be enough to take out the over voltage protection on a Pi remains to be seen...
Looking at the reduced schematics provided publicly for the RPi4 [1] we can see that there USB-C power pin (J1.VBUS) is directly connected to the primary 5V power rail.
This means that the Pi4 can ONLY accept 5V input from your power supply. There will be NO higher voltage negociation.
USB-C uses the Power Deliveray Specification to negociate for anything over 5V [2], but with connector pins J1.CC1 and J1.CC2 commoned togeatherthere can be no negociation taking place so the power supply is only allowed to give 5V (technically up to 2.1A max, 3A is supposed to be negociated for - but I don't see many people enforcing that limit)
USB-C has already been bastardised by some vendors - for example adding in Qualcomm's quickCharge 2 or 3 protocols. These not use the Power Delivery Specification, instead they use the D+/D- lines of the USB 2.0 port to negotiate the voltage [3]
So to sumerise:
NO. A USB C power supply will only provide a maximum of 2.1A @ 5V DC to a RPi4 whilst remaining fully compliant to USB-C specs. Some (most?) will let you have upto 3A @5V....
Regards
/RattusRattus
[1] https://www.raspberrypi.org/documentati ... educed.pdf
[2] http://www.ti.com/lit/an/slva842/slva842.pdf
[3] As the RPi 4 has populated USB2 on the J1 socket it is possible that malicious code running on your Pi *could* negociate for and receive a higher voltage whether or not this would be enough to take out the over voltage protection on a Pi remains to be seen...
Re: RPI4 USB C Power Delivery negotiation
A USB Type C power supply( or Source which could be a computer) has two possible ways to negotiate power. The simplest method is a resistor in the PSU to tell the device how much current it can supply at 5v, this is known as Rp.
Summary of table 4.24 from Universal Serial Bus Type-C Cable and Connector Specification
There is no reference to 2.1A in the specification.
The Raspberry Pi 4 official PSU has a 10K resistor in it to signal to the device it is capable of supplying 3A
Summary of table 4.24 from Universal Serial Bus Type-C Cable and Connector Specification
Code: Select all
Rp( to +5v in PSU) Current available at +5v
56K Default USB power ( if the port is USB 2 then it is 500mA , if USB3.0 then 900mA )
22K 1.5A
10K 3.0A
The Raspberry Pi 4 official PSU has a 10K resistor in it to signal to the device it is capable of supplying 3A
Re: RPI4 USB C Power Delivery negotiation
So, bottom line, is it likely to work with, say, an Apple MacBook's 29W power supply?
Or a generic USB C 3.0A charger?
Or a generic USB C 3.0A charger?
Re: RPI4 USB C Power Delivery negotiation
My Pi4 is running off an Inateck device with no problems, and we did test a number of different supplies during development. So I see no reason why other devices would not work. Try it and see!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: RPI4 USB C Power Delivery negotiation
Any 15Watt or greater TypeC charger that meets the USB specification should be fine. If your charger has a socket it is important that a good quality USB cable is used.
Re: RPI4 USB C Power Delivery negotiation
My RPi4 4GB arrived today (yay!!), but it seems I have nothing to power it with yet (boo) as the official PSU is due to arrive from another supplier later this week.
Based on comments in this thread, I tried to power the Pi using my MacBook Pro 87W USB-C Power Adapter with the Apple USB-C cable, but nothing happened on the Pi - no lights of any sort.
Should this PSU work? It's output rating does include 5.2V, 2.4A (along with 9V 3A and 20.2V 4.3A)
TIA
Based on comments in this thread, I tried to power the Pi using my MacBook Pro 87W USB-C Power Adapter with the Apple USB-C cable, but nothing happened on the Pi - no lights of any sort.
Should this PSU work? It's output rating does include 5.2V, 2.4A (along with 9V 3A and 20.2V 4.3A)
TIA
Re: RPI4 USB C Power Delivery negotiation
Interesting - just tried a Dell USB-C power supply (actually from my docking station, which in turn is from a barrel connector) and that didn't work either. Obviously doing some sort of weird negotiation (AKA vendor lock-in).quavoce wrote: ↑Tue Jun 25, 2019 10:52 amMy RPi4 4GB arrived today (yay!!), but it seems I have nothing to power it with yet (boo) as the official PSU is due to arrive from another supplier later this week.
Based on comments in this thread, I tried to power the Pi using my MacBook Pro 87W USB-C Power Adapter with the Apple USB-C cable, but nothing happened on the Pi - no lights of any sort.
Should this PSU work? It's output rating does include 5.2V, 2.4A (along with 9V 3A and 20.2V 4.3A)
TIA
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: RPI4 USB C Power Delivery negotiation
Maybe the issue is that it lacks the 15W (5V, 3A) profile? I just checked my Apple 29W and 61W USB C chargers and they also don't list the 15W profile.quavoce wrote: ↑Tue Jun 25, 2019 10:52 amMy RPi4 4GB arrived today (yay!!), but it seems I have nothing to power it with yet (boo) as the official PSU is due to arrive from another supplier later this week.
Based on comments in this thread, I tried to power the Pi using my MacBook Pro 87W USB-C Power Adapter with the Apple USB-C cable, but nothing happened on the Pi - no lights of any sort.
Should this PSU work? It's output rating does include 5.2V, 2.4A (along with 9V 3A and 20.2V 4.3A)
TIA
Apparently the 18W Apple power supply does support the 15W profile. See:
https://www.chargerlab.com/apple-18w-us ... e-and-out/
I'm not sure if that's the issue, though. I don't expect to receive my PI4 until Sunday, so won't be able to try with the 29W and 61W Apple power supplies until then.
In the meantime, anyone else who can shed further light on the matter would be doing a great service to the community.
Re: RPI4 USB C Power Delivery negotiation
There's also a relevant discussion near the end of this article comparing the various Apple USB C chargers and their levels of standard's compliance:
https://switchchargers.com/apple-61w-review/
https://switchchargers.com/apple-61w-review/
Re: RPI4 USB C Power Delivery negotiation
Thanks, must be a vendor lock in as suggested.
I have an Anker 15W adapter arriving tomorrow so will report back if that works.
Anker USB C Wall Charger, 15W 5V/3A PowerPort C 1 Type C Charger, Super Compact with LED Indicator, for iPhone XS/Max/XR/8, Pixel 3/2/XL, iPad Pro, Galaxy S9/S8/Plus, and More https://www.amazon.co.uk/dp/B07HFNC9Z3/
I have an Anker 15W adapter arriving tomorrow so will report back if that works.
Anker USB C Wall Charger, 15W 5V/3A PowerPort C 1 Type C Charger, Super Compact with LED Indicator, for iPhone XS/Max/XR/8, Pixel 3/2/XL, iPad Pro, Galaxy S9/S8/Plus, and More https://www.amazon.co.uk/dp/B07HFNC9Z3/
Re: RPI4 USB C Power Delivery negotiation
Quick update. I tried both the 29W and 61W Apple USB C power adapters and they didn’t work. Until I get hold of a suitable USB C charger, I’m using the Pi3 charger with a micro-usb to type C adapter. So far it seems fine.
Re: RPI4 USB C Power Delivery negotiation
I would expect that any vendor restrictions on Type-C charger capabilities would be at the power delivery stage (which the Pi doesn't look to do) as there isn't much scope for communication between charger and device before that. I suspect the issue is a result of the pi only having a single cc pulldown resistor (there should be two) on the USB connector on the pi. I have stared a discussion on this here https://www.raspberrypi.org/forums/view ... 3&t=243875 were there is also a technical write-up for those interested in the specifics.
Re: RPI4 USB C Power Delivery negotiation
Interesting article @scorpia!
I too have a MacBook Pro 87W adapter and Apple USB-C cable that didn't work on my Pi4, but I tried another USB-C cable I had lying around and it worked with the Apple adapter! So, the Apple adapters are fine, it was just the cable!
I too have a MacBook Pro 87W adapter and Apple USB-C cable that didn't work on my Pi4, but I tried another USB-C cable I had lying around and it worked with the Apple adapter! So, the Apple adapters are fine, it was just the cable!
Re: RPI4 USB C Power Delivery negotiation
My Samsung Galaxy S8 charger runs well in RPI4, 3 days of continous use.
Re: RPI4 USB C Power Delivery negotiation
Interestingly, I tried my MacBook Pro 61W USB-C power supply on my PI4 yesterday and it WORKED! I installed the Raspbian system and everything went fine. I shutdown the system and unplugged the power supply......and it won't boot today..... no LED blinking, nothing happens when I plug the power supply. I reformatted the micro SD card and copied NOOBS files but still nothing happens...jrodin wrote: ↑Tue Jun 25, 2019 11:33 amMaybe the issue is that it lacks the 15W (5V, 3A) profile? I just checked my Apple 29W and 61W USB C chargers and they also don't list the 15W profile.quavoce wrote: ↑Tue Jun 25, 2019 10:52 amMy RPi4 4GB arrived today (yay!!), but it seems I have nothing to power it with yet (boo) as the official PSU is due to arrive from another supplier later this week.
Based on comments in this thread, I tried to power the Pi using my MacBook Pro 87W USB-C Power Adapter with the Apple USB-C cable, but nothing happened on the Pi - no lights of any sort.
Should this PSU work? It's output rating does include 5.2V, 2.4A (along with 9V 3A and 20.2V 4.3A)
TIA
Apparently the 18W Apple power supply does support the 15W profile. See:
https://www.chargerlab.com/apple-18w-us ... e-and-out/
I'm not sure if that's the issue, though. I don't expect to receive my PI4 until Sunday, so won't be able to try with the 29W and 61W Apple power supplies until then.
In the meantime, anyone else who can shed further light on the matter would be doing a great service to the community.
I'm wondering if the 61W USB-C power supply was harming my PI4? Should I buy a 15W power supply instead?
Re: RPI4 USB C Power Delivery negotiation
Hi there,jay_rious wrote: ↑
interestingly, I tried my MacBook Pro 61W USB-C power supply on my PI4 yesterday and it WORKED! I installed the Raspbian system to[tasks and everything went fine. I shutdown the system and unplugged the power supply......and it won't boot today ...... and no LED blinking, nothing happens when I plug the power supply.
I reformatted the micro SD card and copied NOOBS files but still nothing happens...
I'm wondering if the 61W USB-C power supply was harming my PI4? Should I buy a 15W power supply instead?[/color]
I tried the 61W and 29W Apple USB C power adapters, but both didn't work with Pi4. I also tried to connect the Pi to one of the Macbooks USB C ports - it worked. Have you already tried the 15W power supply?
- HawaiianPi
- Posts: 7842
- Joined: Mon Apr 08, 2013 4:53 am
- Location: Aloha, Oregon USA
Re: RPI4 USB C Power Delivery negotiation
The Pi4 does not work correctly with most power supplies or cables with an eMark chip, due to a missing resistor causing misidentification. If your Charger/PSU uses a separate USB-C cable, the solution is to get a cable with no eMark chip. If your PSU has a built-in cable you may be out of luck (I suppose you could try a non-chip F-M extension cable).
Or just get the official PSU (which costs less than many USB-C cables).
My mind is like a browser. 27 tabs are open, 9 aren't responding,
lots of pop-ups, and where is that annoying music coming from?
lots of pop-ups, and where is that annoying music coming from?
-
- Posts: 27225
- Joined: Tue Mar 25, 2014 12:40 pm
Re: RPI4 USB C Power Delivery negotiation
HawaiianPi wrote: ↑Fri Sep 06, 2019 7:50 amThe Pi4 does not work correctly with most power supplies or cables with an eMark chip, due to a missing resistor causing misidentification. If your Charger/PSU uses a separate USB-C cable, the solution is to get a cable with no eMark chip. If your PSU has a built-in cable you may be out of luck (I suppose you could try a non-chip F-M extension cable).
Or just get the official PSU (which costs less than many USB-C cables).
RPT / RPF Official Power Supply is a great price for a very good product:
https://www.raspberrypi.org/products/ty ... er-supply/
Take what I advise as advice not the utopian holy grail, and it is gratis !!
-
- Posts: 1
- Joined: Sun Oct 13, 2019 11:27 pm
Re: RPI4 USB C Power Delivery negotiation
I've only had my 4b for a day or two but I've found, if I plug it into my Nexus 6p and it says charging rapidly, its able to run my pi. A little fan, Logitech dongle, and the TV are the only things plugged in though.
I have been wondering (since i read many problems are power consumption related) if there is a way to get a hold of a C cable that has more than 3 amps of capacity? Maybe a more complicated dedicated rail structure that could then be plugged into the main board? Allowing for more power with even distribution?
Might be useful to know and use in conjunction with the ups adafruit for quick battery pack swapping
I have been wondering (since i read many problems are power consumption related) if there is a way to get a hold of a C cable that has more than 3 amps of capacity? Maybe a more complicated dedicated rail structure that could then be plugged into the main board? Allowing for more power with even distribution?
Might be useful to know and use in conjunction with the ups adafruit for quick battery pack swapping
Re: RPI4 USB C Power Delivery negotiation
No, 3A is the maximum power a USB C cable can deliver.
https://en.wikipedia.org/wiki/USB_Power_Delivery#Power
Anything more than that requires USB-PD, which the Pi4 is unlikely to support as that would increase cost and it is adequately powered by 3A.
https://en.wikipedia.org/wiki/USB_Power_Delivery#Power
Anything more than that requires USB-PD, which the Pi4 is unlikely to support as that would increase cost and it is adequately powered by 3A.
Pencoed-made Model 1B, Samsung memory
2B 1.1
3B
3B+
4B 2GB
2B 1.1
3B
3B+
4B 2GB
-
- Posts: 2
- Joined: Fri Jun 12, 2020 9:58 am
Re: RPI4 USB C Power Delivery negotiation
Has any of the behaviour with respect to Power input changed with RPI4 Model B (8GB)?
Does RPI4 Model B (8GB) support Macbook and other USB-C compliant chargers?
Does RPI4 Model B (8GB) support Macbook and other USB-C compliant chargers?
Re: RPI4 USB C Power Delivery negotiation
Yes. Rev. 1.2 boards and newer have the USB power improvement.jaykumar2005 wrote: ↑Fri Jun 12, 2020 10:01 amHas any of the behaviour with respect to Power input changed with RPI4 Model B (8GB)?
Does RPI4 Model B (8GB) support Macbook and other USB-C compliant chargers?
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.