Hi,
I've been trying to design a BMS board using BQ76940 for a while now! Since I am new to designing power electronic boards, so I don't have that much confidence in my design to connect the board directly to a Li-Ion battery pack. I made a resistor array of 75Ohm resistors and somewhat made a model of a 48V battery pack. I am not drawing any current from the board and the charge/discharge FETs are not soldered to the board yet just to make sure if something goes wrong there is no unfixable damage done to the board.
I am using an STM32F407 microcontroller and I translated the SparkFun library for BQ769x0 which is originally coded for Arduino into an ARM-compatible library. I don't think that there is a problem with this part. The actual issue is the "Device X-ready" fault that the microcontroller is not able to clear. I searched the questions asked about this problem and still, I couldn't make the board work:
1- The cap1, cap2, cap3 voltages are almost equal to 3.3.
2- The BAT+ to VC10X = VC10X to VC5X = VC5X to BAT- = 16.
3- I changed the BQ chip just in case but the newly soldered chip didn't work too.
4- I don't think that there is a problem with the connection of the simulated battery pack to the board.
5- The TS1, TS2, TS3 are connected to their respected references (GND, VC5X, VC10X).
What else can cause the problem? Does the fact that I'm using the resistor array instead of a real battery pack has anything to do with the problem? Are the charge/discharge FETs a necessary addition to the board in order to avoid the "Device X-ready" fault?
Any clues can be helpful because I am really out of ideas now and I don't know what else can be done. I attached the board design and codes in the following in case you would want to check them.
Thanks for your concern,
Arash.
P.S. 1: When I plug the board to the power supply the chip doesn't automatically start working and I have to boot it manually with the onboard pushbutton, but after that, it starts communicating with the microcontroller just fine.
P.S. 2: Sorry I didn't know how else should I attached the files...