Tool/software:
I have the code to drive bq76972 without CRC. But how do I use CRC for example in the code abow?
First make sure your Settings:Configuration:Comm Type Register is set to either 0x11 for I2C with CRC for 100kHz bus speed or 0x12 for I2C Fast with CRC for above 100kHz bus speed.
There is a CRC software coding example in the BQ769X2 OTP Program Example Guide With Sealed Configuration App Note.
The BQ769x2 Software Development Guide also talks about the I2C CRC configuration and more code examples using CRC.