This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ34Z100-G1: Data Flash writing problems

Part Number: BQ34Z100-G1

Hi,
I'm using a BQ34Z100-G1 on a custom board, with a microcontroller as a host, communicating via I2C. I am trying to set the current sense resistor value to CC Gain and CC Delta. The writing procedure seems ok, but when I read the values back I always get the defaults values.
This is the command sequence I am using:

Wr 0x61 0x00
Wr 0x3E 0x68
Wr 0x3F 0x00
Wr 0x40 0x7F,0x74,0x1F,0x21,0x92,0x38,0xD0,0x0B,0xFB,0x50,0x00,0x00,0x00,0x00,0x13,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
Wr 0x60 0x41

Wr 0x61 0x00
Wr 0x3E 0x68
Wr 0x3F 0x00
Rd 0x40 0x7F,0x71,0x20,0x5C,0x94,0x08,0x98,0xC0,0xFB,0x50,0x00,0x00,0x00,0x00,0x13,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
Rd 0x60 0xB9

I am using 30ms delay between commands and 500ms delay between the writing sequence and the reading sequence. I also tried longer and shorter delays with the same result. The Flash Update OK Cell Volt is 2.8V by default, and I'm powering with a 3.6V power source for testing, so I don't think it's a voltage issue. Also I checked that the CAL_EN bit is enabled because I read in the forum that this would ignore the voltage limitation.
Am I missing something?

Thanks!