Tool/software:
I am trying to get my battery pack to work, but I cannot manage to get the bottom MOSFETS to go into conduction, connecting the negative battery terminal with my system ground.
I have done everything I could imagine to isolate all signals between the "battery pack" part of my circuit and the rest of the circuitry, but it seems like I missed something on this.
Here is my battery management circuitry:
Here is my levelshifting between the BMS IC and the microcontroller:
I have used the following circuitry to use for the battery charger. I have conencted it to the system GND so that the BMS can disable the charging by opening one of the MOSFETs.
I have spent a lot of time debugging these issues, but so far to no avail.
Some interesting things I found so far are:
-All other circuits on the board work fine when the battery cells are not conencted
-once the battery cells are inserted, some of the devices connected to the I2C bus are not responsive anymore, suggesting that the circuits are not totally floating with respect to another.
The positive battery terminal is conencted to two other poinst:
-The battery level measurement circuitry:
-and the input voltage source selector:
Does anyone have an idea on what I am doing wrong? Or have an idea on what steps to tkae from here on? I will continue working on this and proceed to make scope images to further investigate this issue.