- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi community ,
I am using CCg3PA in my project, is there a way to read D+ /D- line status or voltage from we as source and DUT as sink. Is there a specific function for this requirement.
thanks
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 BhargavGolla,
Thank you creating case in infineon community.
chgb_dp_status(portnumber) is the function to check the states of D+ line
chgb_dm_status(portnumber) is the function to check the states of D+ line
if it is High, return will be True, otherwise it will be low.
Regards,
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BhargavGolla,
Thank you creating case in infineon community.
chgb_dp_status(portnumber) is the function to check the states of D+ line
chgb_dm_status(portnumber) is the function to check the states of D+ line
if it is High, return will be True, otherwise it will be low.
Regards,
Mohamed Rahmathulla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mohamed Rahmathulla,
Thankyou for the reply, But there was no such function as 'chgb_dp_status' in Api guide or the reference code i downloaded from website, can you provide more information about that specific function in detail.
Thankyou.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BhargavGolla,
You can find this function in Power SDK which will get it in below mentioned site.
https://softwaretools.infineon.com/tools/com.ifx.tb.tool.ezpdpowersdk
please do check in pdss_mx_hal.c file for respective api.
Thanks & Regards
Mohamed Rahmathulla