I'm trying to reliably detect a VBUS disconnect, and I'm having trouble understanding the intended behavior.
The datasheet states that INT should be asserted in the following cases:
• USB/adapter source identified (through PSEL or DPDM detection, with OTG pin)
• Good input source detected
– VBUS above battery (not in sleep)
– VBUS below VACOV threshold
– VBUS above VVBUSMIN (typical 3.8 V) when IBADSRC (typical 30 mA) current is applied (not a poor source)
• Input removed
• Charge Complete
• Any FAULT event in REG0C
I'm receiving the interrupt as expected when I connect an input source, and can see that VBUS_GD has been asserted. But if I disconnect the input source while VBUS_STAT is still 000, I'm not receiving any interrupt. Is this expected behavior?
Thanks,
Marcus