D+/D- line status in CCg3PA ?

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
BhargavGolla
Level 2
Level 2
10 replies posted 25 sign-ins 5 questions asked

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

0 Likes
1 Solution
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

View solution in original post

0 Likes
3 Replies
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

0 Likes
BhargavGolla
Level 2
Level 2
10 replies posted 25 sign-ins 5 questions asked

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.

0 Likes
HmdRahmathulla
Moderator
Moderator
Moderator
100 solutions authored 250 sign-ins 25 likes received

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

0 Likes