Other Parts Discussed in Thread: BQSTUDIO
Hi all, I'm trying to integrate this fuel gauge into our product and am having trouble with writing to the data flash region. I am able to read values and they are as expected but writing has no effect. For example for register 0x4600 (FET Options) I do the following to read:
[Start Condition] [I2C Write] [0x3E, 0x00, 0x46] [I2C Read] [0x20]
Which reads 0x20 as is the default value. Then I attempt to write the value:
[Start Condition] [I2C Write] [0x3E, 0x00, 0x46, 0x00]
However when I read the value back again I still read 0x20. Am I missing something? Does something need to be enabled to allow me to write?