cancel
Showing results for 
Search instead for 
Did you mean: 

STUSB4700 - Define USB communication

RenanTesch
Associate

Hello, I implemented a project using STUSB4700 to provide a charge to an Android tablet, the power interface is resolved using this topic https://community.st.com/t5/others-hardware-and-software/stusb4700-constant-output-switching/m-p/734155  because I had the same problem in the first time because I used some 5v for source, but now the power is resolved and I've the second issue, in parallel I use the USB C to communication by USB-serial converter by Android Tablet, but the converter isn't recognized by android, I try found in this document: https://community.st.com/t5/interface-and-connectivity-ics/stusb4700-4710-i2c-register-details/td-p/234334?attachment-id=8852 the register to set the accessory interface in negotiation by CC channel but I didn't have success, can you help me?

In attach my schematic.

 

Best Regards.

2 REPLIES 2
Didier HERROUIN
ST Employee

Dear customer,

In your use case, the "Nigro" device will be the power SOURCE and the Tablet will be the SINK. 

Then, on a data point of view, at connection the data roles must be aligned with the power roles (this is specified by the USB standard): the SOURCE must be the Host (or DFP) and the SINK must be the Device (or UFP).

In your application, could you confirm if the tablet is supposed to be the Host or the device ?  If the power and data role are not aligned, you must proceed to a data role swap, which would require another solution, based on a MCU.

Regards,

Didier

 

Hello Didier, thank you for your response.

Yes, nigro is my hardware and this is the SOURCE and tablet Sink, but the tablet could it be a Source or Sink, I can't define it by Android, it's automatic, and this can be a problem in defining data communication?

Best Regards