Could someone please check solution and give hints can this be working or not?
There will also be MCU that will talk to bq40z80 and charger through SMB and switch on/off M2 and M4. Idea is that everything is inside the battery charger, mcu. When battery starts talking to outside host (here is not drawn) and decides that charging can be started, M4 turns on and M2 off. During other states M2 follows M1.
Will this work? My concerns is can this not break some bq40z80 internal logic regarding different potentials on BAT, VCC, PACK during charge?
Maybe there are better charger commutation ideas than this?
THX
Ivo