Other Parts Discussed in Thread: EV2400, BQSTUDIO
I am trying to change the design capacity from 2200 to 2600. However it doesn't seem to work.
I have written my own code to send commands via i2c from a stm32. I did try to write and read flash data by using the flash addr 0x4060. This is the device name. default is 'bq35100' . i could read and write what ever i wanted to this 8byte flash addr. So i assume my flash write and read works. also i can change the gauging mode [EOS, ACC, SOH] at will. this is done by flipping specific bits in the flash addr: "Config_a 0x41b1".
So i can write and read one byte in flash and write/read multiple bytes.
However if i want to write the design cap to 2600 it does not stick. i can read the design cap in i2c register (0x3c) and it stays at 2200. I am in ACC mode and the bq is UNSEALED. If i read the design cap from flash addr 0x41fe it says the correct capacity.
What am i doing wrong?
Also when ever i set GE to LOW and then after a while to HIGH the security mode is set back to sealed and i have to set it back to unsealed.
