Other Parts Discussed in Thread: TPD6S300
Dear TI Representative -
I'm using multiple TPS65988's to control a bunch of charging ports. I have a couple questions about how I should achieve various functions, which I'm confident are all possible. My host processor is maxed out, so I would prefer not to run additional IO back to the host and instead achieve these goals over I2C1. However, if it will be cumbersome to do this via software using the I2C port, I will add a port expander to my board so that I can check the GPIO events for each function instead. Right now, only I2C1 is connected between the host and the TPS65988's. I need to signal when a device has been attached, when it has been removed, what power profile is in use, and how much charging current is being delivered. I measure the current myself and route it through my host's ADC. I am hoping to glean the power profile and attach/detach events using the I2C bus instead of using GPIO events. As a backup I can read the PDO0 and PDO1 outputs to glean the power profile and I can push the cable attach/detach events to GPIO's as well (or so it seems. Please tell me if I'm wrong.) However - I'm out of I/O and I'm wondering if I2C1 could generate an interrupt when a cable is attached or removed. I'm sure I can read the PDO0 and PDO1 outputs from a register - but I didn't see it after a couple passes through the TRM. I can find that info, but if you are able to quickly point out which registers hold that info it would be very helpful.
One other question... In my application I can only allow one of the two charging ports to be used at a time. I would approach this by disconnecting the power path (PPHV2, for example) on the other port/connector, but I also need to detect whether a device has been attached or removed. This info prompts the user that they can't connect multiple devices. Is there something I can do in the TPS65988 to tell it that once a device is charging, it must not charge a second device? (While still telling me if something has been attached or detached?) I'm also wondering... if I need to achieve this by disconnecting the second PPHV path, do I also need to disconnect the other port's PP_CABLE? If I do that, would I see if a second port has a device attached?
Thank you for help,
Adam