Other Parts Discussed in Thread: BQ25895
Hi!
I'm trying to manage a system that can either be battery powered or USB powered.
On boot, I'm able to determine if USB is plugged in via VBUS_STAT = 0x0B
If no USB is plugged in, I set the OTG bit for the boost.
Once this happens, I no longer get interrupts on USB insertion or removal.
If USB is plugged in, I leave the boost alone.
I get an interrupt on USB removal, my firmware turns on the boost, and I'm stuck in the previously mentioned situation.
When you're using the boost with a battery, is there any way to tell if USB has been inserted or removed?
Thanks.