Enable power out to debug accessory using CYPD5225_notebook_tbt project

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
KiLe_4629881
Level 3
Level 3
25 sign-ins 10 replies posted 10 questions asked

Hi, 

I have a debug accessory I have created that pulls both CC1 and CC2 to ground through 5.1k resistors.

This is correctly recognized as a debug accessory by the PD controller and I can configure the mux to my specifications to send debug signals out. However I would also like to supply 5V on VBUS (enable psrc) to the debug accessory so it can be powered from the host at the same time. Looking through the source to the project I am not sure how to do this, as I think this is done by the DPM. 

Is this possible?

Thanks for your help

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

To turn on the source path , please try calling the psrc_enable() function which turns on the VBUS provider FETs after checking for debug accessory connection in the APP_EVT_CONNECT event in app_event_handler().

Best Regards,
Sananya

View solution in original post

0 Likes
5 Replies