Hello,
I am currently designing a board with the TPS65981 and I wanted to know if this setup was possible before going further.
Here is how it should work: When first connecting a USB device (smartphone to be precise), TPS65981 negotiates a DFP data role contract. After enumeration by the AM335x processor, the VID and PID are checked. If they match a list of pre-determined IDs, the processor pulls-up a GPIO pin on TPS65981 to initiate a data role swap to become a UFP. When contract negotiation is over, a UFP/DFP GPIO event is triggered to change the state of the ID pin on the AM335x which then acts as a peripheral. It switches back to host when the device is unplugged.
Power role is always source.
Can I connect the usb_p and usb_n lines from the connector directly to the AM335x?
Can TPS65981 be powered only from PP_CABLE pin?
Thanks.