Fetching live Dp Dm lines voltages

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
PrRe_3492461
Level 4
Level 4
First like received 50 sign-ins 50 replies posted

Hello community!

I'm using CCg3pa for my custom design.

In our design CCg3pa can only act as BC1.2 and PD SNK/UFP.

We have a requirement here to read the live D+ and D- voltages ( Similar to vbus_get_value(G_PORT0); /*return present VBUS voltage in mV */ ).

As per below snippet captured from CCG3PA Data sheet I can infer that the Dp/Dm lines voltages can be accessed using available ADC. Correct me if I'm wrong.

PrRe_3492461_0-1624877684088.png

So Can anyone please provide me insights to read Dp/Dm live voltages using an API ?

if reading live voltage is not available,

As per below snippet will reading states of Dp/Dm lines using respective structure and tracking if they're in certain range can be done ? will this structure help me achieving our requirement ?

PrRe_3492461_1-1624877866530.png

Thanks and regards,

Pranay.

 

0 Likes
1 Solution
Abhilash_P
Moderator
Moderator
Moderator
50 likes received 500 replies posted 250 solutions authored

Hi,

  Please refer to the following thread,

https://community.cypress.com/t5/USB-EZ-PD-Type-C/CCG3PA-as-a-BC1-2-Sink-Portable-Device/m-p/199678

"As per below snippet captured from CCG3PA Data sheet I can infer that the Dp/Dm lines voltages can be accessed using available ADC. Correct me if I'm wrong."

      Yes, your understanding is correct. Please go through the below image as a reference,

Abhilash_P_0-1624887040299.png

Please let me know if you were able to understand from the attached thread. 

 

Regards,

Abhilash P

 

 

 

View solution in original post

0 Likes
7 Replies