Hi,
I’m using MP2667 in multiple project that are going soon into production.
One of them:
AC-Supply using MP176A
Battery charger using MP2667
A battery on the Batt pin’s
A Super cap on the VSys
By making some final Software tests, we have a problem with detection of mains failure.
Vin_Min is set to 4.76V, Iin_Lim to 993mA.
It seems to works fine, except detecting mains power failure.
We are reading the Vin_Fault, expecting it to switch to “1” if mains is failing.
This also seems to work if battery is connected in application.
BUT in case there is no battery:
We disconnect Mains supply
→ Vin goes rapidly down
→ Vsys is still high (thanks to SuperCap
But Vin_Fault bit is still reading “0”…
How to get around this?
Reading PG_STAT bit is NOT satisfying, as the VSys voltage decreases too slowly due to SuperCap
P.S.: SuperCap can NOT be connected on Batt pin, as it will not discharge battery even if in transport mode.
Thanks in advance,
Alexandre