- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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 ?
Thanks and regards,
Pranay.
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Please let me know if you were able to understand from the attached thread.
Regards,
Abhilash P