Value of Rshunt is 0.75mohm. then as per TRM CCgain = 7.4768 /(Rshunt) = 9.96
Converting this gain value to IEEE754 format referring from the website IEEE-754 Floating Point Converter (h-schmidt.net) = 0x411F5C29.
converting this value in little endian format from this website Litte Big Endian Converter - Blockchain Academy (hs-mittweida.de) = 0x295C1F41.
I will do same process for capacity gain = (cc gain * 298261.6178) as per TRM .
I set these values in code
BQ769x2_SetRegister(CCGain ,0x295C1F41,4);
BQ769x2_SetRegister(CapacityGain,0xF750354A,4);
but when I read the CC3 current by DASTATUS5 via subcommand the read value is 0 but the current is flowing as verified using clamp meter.
Please guide me
How to set the value of CC Gain register and the capacity gain register?