Reference - https://github.com/nseidle/BMS . I was able to get the cell voltages and set some system registers.I am not able to enable balancing registers, the BQ76940 doesn’t seem to respond as it should. I am attaching the code and schematics for reference.
SparkFun_bq769x0.rar (41.5 KB)