I wish to detect when a USB C PD charger is turned on (i.e. provides power):
CHARGER ---> (DETECTOR)
|
-> Notebook
So I wish to keep it as simple as possible. Charger needs to charge a notebook, so full PD negotiation is needed, as notebook needs 20V3A.
My goal is to have sensor which can detect that charger is connected into mains.
The sensor will provide this information to a microcontroller.
I thought on current sensors, but I don't wish to have that sophisticated information: I only want to know if the charger is on or off.
I also thought on voltage detection on CC1 and CC2 pins (CC and VCONN), which I kindof like, however, as the C cable is reversible, I either need to build or use 2 ADCs, or I must interconnect CC1 and CC2 (with protection).
(How) can I trust on these CC1 and CC2 pins to detect voltage on the charger's output?