2026-04-06 10:31 AM
Hello, we are in the process of developing a BMS using an STM32 and L9961. We were wondering if there was any source or example code of a full BMS we could have access to in order to speed up our development. I am aware of the example code on the product page but was hoping there would be something more fleshed out. In addition, I wanted to know if ST has a vault of cell models that we can use with the BMS for fuel gauging? We use Molicel P50B cells and plan to use Molicel P60B cells in the future.
Thanks,
Jon
2026-04-07 8:33 AM
do u have the example code to get data voltage soc current etc from the ic n does it work with esp32 i tried a lot but couldn't get anything from this chip just i2c add 0x49 n when input is 0x00 it gives reply 0x41 n nothing else worked for me i wanted to use it for monitoring my lifepo4 4s pack can u help a little bit please else i will go back to ina226
2026-04-07 8:34 AM
n thanks ..i am a total noob in this
2026-04-23 5:07 PM
Hi,
The STM32 + L9961 project is available on ST website - https://www.st.com/en/embedded-software/stsw-l9961bms.html
You can import this with STM32 CUBE IDE.
I am unaware of the battery models example for STM32, but there are models developed by 3rd parties.
SoC example using AEK_POW_BMS63EN ( L9963E ) .
This example is based on 14 x Li-ion battery cells LG INR 18650 MJ1.
https://www.aboutenergy.io/stmicroelectronics-model-download
ST has a SoC example using AEK_POW_BMS63EN ( L9963E ) .
This example is based on 14 x Li-ion battery cells LG INR 18650 MJ1.
Lemberg solutions using SPC58 E Line MCUs + L9963 14 Cells BMC IC Evaluation Board and a 4 cell pack for 18650 batteries.
https://lembergsolutions.com/blog/battery-state-charge-explained-soc-algorithm-setup-example
Best Regards
Kong Choy