Would you happen to have any recommendations for situations where battery charging and application data is needed from the same port?
I'm considering
connecting the usb port data lines to a micro controller
leaving the BQ25792 data pins floating
using ILIM_HIZ to clamp current to 500mA
running the current capability detection on the micro controller (possible more limited then the BQ25792 capabilities)
Setting IINDPM to the detected limit
then setting EN_EXTILIM to 0 to bypass the ILIM_HIZ limit.
Alternatively, I've considered using a USB Mux to connect the data lines to the BQ25792, running detection on the BQ25792 and then swapping the lines over to the microcontroller.
What would you recommend? Am I missing any options or limitations?
Thanks for your help