Greetings.
My company currently manufactures a USB data collection device that talks to a Samsung tablet via its micro USB OTG port. Our device is also responsible for charging the tablet, so it behaves similar to a docking station (i.e. Tablet behaves as USB host, but our device provides power to the tablet for charging instead of the tablet providing power to our device).
We enable this behavior by tying a 73K resistor from the OTG ID pin to ground, as per Samsung’s spec.
Unfortunately (for us), the new Samsung tablets now have a USB type-C connector, so we need to be able to support this same behavior with the type-C connectors.
As far as I can tell, this means we will need to (and correct me if I’m wrong):
- Present our device as a UFP device
- Connect our device to the tablet (which defaults our device to being a power sink)
- Use PD to power-swap ourselves from a power sink to a power source so that we will become a UFP that provides power.
Or, alternately:
- Present our device as a DFP device
- Connect our device to the tablet (which defaults our device to being a power source)
- Use PD to do a data swap so that we will become a UFP that provides power.
It looks like the TUSB422 is probably the best choice for this, but figuring out the steps I need to go through to make this happen seems daunting. I have an MCU with I2C so I can talk to the TUSB422, but I’m not sure what I need to tell it to do the power/data swap.
I submitted a request for the TI TUSB422 software (which I’m assuming is the TCPM) a couple of weeks ago, but never got a response other than “If it’s approved, we’ll send it to you in a few days”. I re-submitted the request yesterday, so maybe I’ll have better luck this time.
So I guess my questions are:
- Is there a simpler way for me to do what I want to do (e.g. some simple Rp/Rd combination instead of the TCPM to do what I want)?
- Is the TUSB422 software the TCPM
- Is the TUSB422 software a library, or is it source code?
- Will the TUSB422 software provide me with the functionality that I require.
Thank you
Scott