cancel
Showing results for 
Search instead for 
Did you mean: 

CRC Algo for BMS L9963E Chip

VP.6
Associate II

Hi Team

I am trying to communicate SPC574 with L9963E BMS IC

Can any one help in updating the CRC calculation for it

I tried some simple calculation with polynomial , but I dont see any response from the BMS IC

#define CRC_POLY (uint64_t)0x0000000000000033 /*CRC Poly:X^6 + X^4 + X^3 + 1*/

#define CRC_SEED (uint64_t)0x0000000000000038

1 ACCEPTED SOLUTION

Accepted Solutions

Point me at some documentation and examples or responses.

Related but shorter

https://community.st.com/s/question/0D53W00001gxfOrSAI/reqeust-for-l9369-crc-calculation-documentation

https://github.com/cturvey/RandomNinjaChef/blob/main/ST_PMIC_CRC5.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

Point me at some documentation and examples or responses.

Related but shorter

https://community.st.com/s/question/0D53W00001gxfOrSAI/reqeust-for-l9369-crc-calculation-documentation

https://github.com/cturvey/RandomNinjaChef/blob/main/ST_PMIC_CRC5.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I was able to build a test case against the "Special Frame" values.

https://www.st.com/resource/en/datasheet/l9963e.pdf

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..