Other Parts Discussed in Thread: BQ25703A, BQ25895, , TPS65987D, TPS65987, BQ25703
I’ve been reading the SLVAE18 application report for using the TPS65987DDJ as an I2C master to control the BQ25703A and I think the method should work for controlling the BQ25895.
The problem I’m looking for some support with is integrating that solution with a second charging power source. We would like to support the ability to charge and run the product off of POE as well as USB-C. In our case, POE power will only be available when the device is powered on and booted, so the host processor will be available to step in and configure the TPS65987DDJ and BQ25895 as necessary. My thought is to use the method described in SLVAE18 when the product is powered off, then, when the product is powered on the host processor can disable that method and control charging from USB-C and POE directly. The issue with this is making sure that the SLVAE18 method gets re-enabled when the product is shutdown, even if the shutdown is not graceful. One solution would be to reset the TPS65987DDJ and BQ25895 when the product powers off, but that doesn’t seem particularly great.
Is there a better way to do this? Is it possible to have the TPS65987DDJ configure the BQ25895 when POE power is available somehow? If I go down this path, what is the best way to disable the I2C master functions when the product is booted?
Thanks!
Lauren