Hello,
What is the most reliable way the TPS65988 can tell me if a phone is plugged in? USB-C to USB-C device attachment is working well using only register 0x1A because the basic c-c cable doesn't do anything to the CC lines so the plug detect bit works. However, USB C to micro USB and USB C to Lightning cables both pull down the CC line, triggering the plug detect bit. Then when I plug in a legacy device to either cable I see no change in register 1A , 3F or the others I've looked at. I've also dumped the full register snapshot and compared the empty cable to when a legacy device is attached and I see no real difference between the tps65988 device registers in those two conditions.
Are there other registers I can look at or will I need to resort to measuring vbus current to determine if a device is attached and charging? Unfortunately I have to report (attached & charging) and (attached & not charging) as separate states, so I'm using a 5mA Vbus current threshold to determine if a device is attached and charging or attached and not charging. I was hoping I could lean on "Charger Detect Status" but like I said - the empty cables report the same register values as when I add on a legacy charging device.
I'm open to other suggestions and appreciate your help!
Adam