Does anyone know how to get sink capabilities using the STUSB4710?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-15 8:26 AM
I'm using the evaluation board ISC004V1 and using the GUI STUSB001 I noticed that you can get the sink capabilities when there is a load connected. I suppose that this is done by sending a message to the load and to do that I think you have to write in some register of the STUSB4710 but in the register map I didn't find anything about it. Is there a way to get the sink capabilities by using a Nucleo and the I2C communication?
- Labels:
-
USB-PD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-12-05 6:07 PM
Hello,
There is a code example which show how to perform your request with STUSB47xx, at this link:
- To know which contract has been negotiated between the USB-PD Source and the Sink, use the function:
Get_PD_Contract()
- To know the USB-PD Sink capabilities, use the function:
Get_sink_cap()
Best regards.
