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.

BQ40Z80: BQ40Z80 calibration data

Part Number: BQ40Z80

I need assistance reading and interpreting information read from this chip.

How do i convert a decimal value for CC Gain(F4) and Capacity gain(F4) to 4 byte hex data that is to be written back to the bq40z80 for calibration? Also how to go from the 4 byte data for both to a number?

examples:

cc gain: 99FC(hex) = ?

capacity gain: E022(hex)= ?

CC gain: 1.976 = ? (4 byte conversion)