Author Topic: Is there a human readable USB PD 3.0 specs somewhere, or PD 3.0 trigger chip?  (Read 497 times)

0 Members and 1 Guest are viewing this topic.

Offline LinuxHataTopic starter

  • Frequent Contributor
  • **
  • Posts: 414
  • Country: us
I found this document: https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/138/USB_5F00_PD_5F00_R3_5F00_0-V1.1-20170112.pdf

But it is very large and contains huge amount of "noise" data.

All I want is something like that:

To receive, say, 12.5 volts from USB PD 3.0 charger, you need to send the following packet(s) of data via this pin at that level.

Any ideas?

I want to have my own USB PD 3.0 trigger, with adjustable voltage and I don't need LCD screens and extra bells and whistles of USB power meters.

For USB PD 2.0 There's an excellent chip by Injoinic - IP2721. It has one set pin, and whenever you leave it float, pull high or pull down, output voltage changes to 5, 12 or 20 volts. But this is PD 2.0 I'd like to have something like that, with PD 3.0 suppoty.
 

Offline Jwillis

  • Super Contributor
  • ***
  • Posts: 1727
  • Country: ca
 

Online thm_w

  • Super Contributor
  • ***
  • Posts: 7643
  • Country: ca
  • Non-expert
There are plenty of simple USB trigger boards available. You can either get one for each voltage, or one with switches.

https://www.aliexpress.com/item/1005006997248362.html
https://www.aliexpress.com/item/1005006179191517.html
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline LinuxHataTopic starter

  • Frequent Contributor
  • **
  • Posts: 414
  • Country: us
IP2721 supports PD 3.0, but it still triggers only fixed available voltages, like 5-12-20 volts, it does not allow for fine voltage setting.
Same for aliexpress boards, they also only switch in PD 2.0 range.
 

Offline ksjh

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
Have you already found the CH32X035?
I have a few of those at home, but had no time to play with them so far.
There are some projects on github (incl. source code) how to use the CH32X035 for PD PPS, e.g., https://github.com/wagiminator/CH32X035-USB-PD-Adapter
« Last Edit: January 15, 2025, 07:36:21 pm by ksjh »
 

Offline LinuxHataTopic starter

  • Frequent Contributor
  • **
  • Posts: 414
  • Country: us
It sounds interesting, but looks overkill, and I don't need that OLED screens, etc.
I only need simplified protocol description, so I can implement it on my side.
 

Offline LinuxHataTopic starter

  • Frequent Contributor
  • **
  • Posts: 414
  • Country: us
By the way, I think I've found the required chip- AP33772, but it is NRND...
 

Offline langwadt

  • Super Contributor
  • ***
  • Posts: 4883
  • Country: dk
 
The following users thanked this post: ksjh

Offline ksjh

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
Yes, you are right, the complete CH32X035 USB-PD adapter would be overkill, but I think it would be relatively easy to use the CH32X035 MCU (just the chip, e.g., in TSSOP20) in your own projects and PCB designs, since it already contains the PD PHY and provides a simple way to handle the protocol negotiations for PPS between your sink and the source (power supply). It is also quite cheap. You can look into the source code in the github repo and re-use some code. The toolchain is open and available for various operating systems. You do not need a separate programmer for the MCU, you can upload your firmware via USB. But, as mentioned earlier, I have not tried this myself, yet.
 

Offline ksjh

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
https://www.g3gg0.de/esp32/esp32-pd-usb-pd-using-esp32-zigbee-crib/ ?

Very nice, but I have seen they use a CH224K for the PD trigger. As far as I have read in the datasheet, this chip does not support PPS, just fixed PD voltages.

EDIT: Now I see they created a new version where the ESP32 handled the PD protocol in software, even PPS. This is great. Thanks for the link.
« Last Edit: January 15, 2025, 09:11:03 pm by ksjh »
 

Offline ksjh

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
By the way, I think I've found the required chip- AP33772, but it is NRND...
But the AP33772S still is.
It provides some nice features. On the other hand, it costs twice as much as the CH32X035 when you buy in volume and is no smaller either (and does not provide a RISC-V core).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf