Other Parts Discussed in Thread: BQ27501
Hi,
I am trying to write CC Gain and CC Offset values for bq27501 fuel gauge IC. As per the data flash summary, CC gain Data Flash to EVSW Conversion is EVSW=4.768/DF
So for example, I want EVSW value=10.021
My DF=4.768/010.021=0.4759
Hence I tried to write the 0.4759 using I2C mode and checked the same in bq evaluation software whether write was successful or not.
The software throws error as "The value you entered is not allowed because it results in code(decimal) 11 Division by zero."
Similar is the issue with the CC Offset. Kindly help if anything related to data types has to be taken care while writing.