Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5151

General discussion • Re: Raspberry Pi5 USB-C PD

$
0
0
The Pi 5 does not "ask" as it is the sink. The source offers (advertises) available modes and the sink selects from the offered modes.
I think it's mostly an issue of semantics. It is as you describe but some would deem the selection from modes being offered as requesting what it wants or asking for that.

But yes, it starts with the supply announcing what it can provide, and the Pi replying to indicate what it would like, rather than the supply being silent until the Pi asks for what it would like.

What's not clear to me is exactly what happens when a supply doesn't offer 5V@5A, and I saw something when skimming some article which suggested the supply still doesn't have to deliver what the sink may ask for but it wasn't clear to me what the full picture is, and I guess most people don't know either.

What we ideally need is someone who is fully knowledgeable about PD who can detail exactly what does happen with respect to PD negotiation, and how the Pi regulator, power button, and down-stream USB current and software interactions are in all scenarios. That could be one or more flowcharts, state diagrams, or 'If-Then-Else' lists. That might be a lot of work but would help explain what we have and the various behaviours seen.
The USB-PD spec is published in all is many hundred page glory... no need to guess or speculate... just read the spec. The readers digest version is at section 2.1.1 Power Delivery Contracts.

You start in a default contract where the source comes up and provides vSafe5V. This exists until an explict contract can be negotiated.

If you plug a Pi 5 into a USB-PD source that does not have the 5V@5A mode, the source will stay in the default contract mode and provide vSafe5V, which will most likely be 5V @3A. This can be confirmed by further reading of the USB 2.0, USB 3.2, and USB Type C 2.2 specs.

I agree that it would be useful for RPL to detail the power up sequence and how the power button comes into play if the Pi fails to negotiate an explict contract for the 5V@5A mode.

Statistics: Posted by bjtheone — Sun Apr 07, 2024 8:14 pm



Viewing all articles
Browse latest Browse all 5151

Trending Articles