This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear sir/mam
i want to calculate crc function of four byte of BQ76952 IC Four byte . i am working on i2c communication. this is also in example code but calculation of crc is not given in example code . please help me sir/mam.
Hi, Alok
There is no CRC function add to demo code yet.
But there is CRC check API in the demo code already.
Checksum(unsigned char *ptr, unsigned char len) CRC8(unsigned char *ptr, unsigned char len)
Can you try add this function by your self.
Another steps you need to do is enable BQ's CRC via I2C.
Please refer to BQ's datasheet: https://www.ti.com/lit/ds/symlink/bq76952.pdf
This function will be add to SDK in next few month.
If you encounter any problems adding CRC feature, please contact me.
Regards,
Helic