- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a CCG3PA CYPD3175 for a 18W power adaptor port. I need to be able to detect when a device is plugged in and unplugged from the USBC port regardless if it is a PD or non-PD. I am programming with PSoC Creator. What commands do I use to read the status of HPD? So, I need to know connect, disconnect, and contract established.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Allen,
CCG3PA firmware project file app.c, function void app_event_handler(uint8_t port, app_evt_t evt, const void* dat)
1. Plug in -- case APP_EVT_TYPEC_ATTACH:
2. Plug out -- case APP_EVT_DISCONNECT:
You could take action under those cases.
Best Regards,
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Allen,
CCG3PA firmware project file app.c, function void app_event_handler(uint8_t port, app_evt_t evt, const void* dat)
1. Plug in -- case APP_EVT_TYPEC_ATTACH:
2. Plug out -- case APP_EVT_DISCONNECT:
You could take action under those cases.
Best Regards,
Lisa