- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Working with the CYPD3125 and SDK Version 3.0.2 (build 905), just implemented a I2C slave which will be used with an external controller. Can somebody explain where the active PD voltage can be found with the API. Tried dpm_status_t and app_status_t structs but seem to find the correct info?
Any help would be appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi M Vissers,
Ops, I should say contract.field.max_volt. CCG3 will set voltage with this parameter.
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi M Vissers,
The relevant variable for your check current of PDO contract is:
Check the current of contract: contract.field. cur_pwr.
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already looked into this value. For a contract this only gives me the Operational current (mA) as specified in the Sink PDO in the EZ-PD configuration utility. Is it also possible to get the Voltage (mV)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was not clear to me that the cur_pwr field is in 10mA units and the max_volt and min_volt fields are in 50mV units
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi M Vissers,
Ops, I should say contract.field.max_volt. CCG3 will set voltage with this parameter.
Best Regards,
Lisa