Other Parts Discussed in Thread: BQSTUDIO
Hello All,
I am trying to write the values of CC Gain and CC Delta to my chip but somehow it is not getting written.
I have converted the values to floating point using the function defined in "http://www.ti.com/lit/an/slva148a/slva148a.pdf".
Values I got are,
CC Gain → 0.1766 → 7E34D6A1
CC Delta → 210650 → 924DB680
I am trying the write the values using below commnd,
Before firing commnds, I follow the procedure to write (Unseal, full access, CFG Update, checksum, etc...)
i2cset -f -y 0 0x55 0x40 0x7E34 w
i2cset -f -y 0 0x55 0x41 0xD6A1 w
After writing if I read the values using i2c get, I always get the same default values (Note: For other values like board offset, cc offset and EDV* I am able to write and read the same after writing using i2c set and i2c get).
Can anyone help me with Floating point read and write using i2c get and set?
Thanks,
Karan