2023-08-18 05:20 AM
Hello
I have tried using the send command functionality on the I2C interface of the STUSB4500
to issue various command messages to the source,
in an attempt to poll information from an attached source.
My code uses a slightly modified version of the Send_Soft_reset_Message function
from the STSW-STUSB003 source code to send other commands available in the USB PD specification,
one such command is Get_Source_Cap (7), which is even defined in the STSW-STUSB003 code,
but I am not getting a positive result.
Sending Get_Source_Cap results in receiving the source capabilities followed by a hard reset
and other commands give various unexpected results.
So on to my questions...
Am I breaking the flow of messages allowed by the USB PD standard by adding a control message that is not a Soft_Reset?
Is the STUSB4500 not able to handle a Source_Capabilities message after the initial configuration is completed?
Is the STUSB4500 capable of relaying any command message that is not a Soft_Reset,
what should happen when I send Get_Status, Get_PPS_Status, Get_Country_Codes or Get_Source_Info control messages?