- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working with the CCG3 dev-kit. I have a project that resembles a power brick and it advertises a certain set of PDOs. Once some communication with the sink was done, I would like to send another "Source Capabilities" message to renegotiate the voltage (need to do that to work around an issue of the sink device).
I already found out how to toggle which PDOs to send (dpm_update_src_cap_mask(port, mask)) but I haven't figured out how to make the stack send out another "Source Capabilities" message. Is there a way to do that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Typical process to renegotiate the voltage:
1) GET_SINK_CAP by send handle_pd_command (DPM_CMD_GET_SNK_CAP, NULL, NULL);
2) Enable SOURCE_CAP by source cap mask register by send (dpm_update_src_cap_mask(port, mask))
3) Resend SOURCE_CAP by send handle_pd_command (DPM_CMD_SRC_CAP_CHNG, NULL, NULL);
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Typical process to renegotiate the voltage:
1) GET_SINK_CAP by send handle_pd_command (DPM_CMD_GET_SNK_CAP, NULL, NULL);
2) Enable SOURCE_CAP by source cap mask register by send (dpm_update_src_cap_mask(port, mask))
3) Resend SOURCE_CAP by send handle_pd_command (DPM_CMD_SRC_CAP_CHNG, NULL, NULL);
Best Regards,
Lisa