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.

BQ76942: Writing values to CC gain and capacity gain register via I2C

Part Number: BQ76942

We need to write 27.432 to the CC gain register in the BQ76942 chip. In your documentation it says that it needs to be in the 32bit IEEE-754 Floating Point format which comes out to 0x41db74bc. Then this is converted into little endian format giving a final value of 0xbc74db41. However when that value is written to the register the register ends up reading a value in the -500’s. Are there any extra steps required to accurately write 27.432 to the CC gain register?

We've checked previous forums posts and none of them seemed to have worked or had definitive answers for this specific chip.

 

Also, using the BQ Studio application is there a way to easily see the raw hex value that is stored in a register that is represented by a numerical value on the software?

Thanks in advance,

Rhys Phillips