Other Parts Discussed in Thread: BQSTUDIO, EV2400
We have completed a learning cycle on the BQ28Z. Everything I've read indicates that the new parameters should be written to data flash. I am using the reference manuals section 12.2.45 (included below) but am unable to affect any values in the dataflash. I am able to read them without issues. I am monitoring the I2C traffic and it is as described in the reference manual. What's going on?
12.2.45 Data Flash Access() 0x4000–0x5FFF
Accessing data flash (DF) is only supported by the AltManufacturerAccess() by addressing the physical
address.
To write to the DF, send the starting address, followed by the DF data block. The DF data block is the
intended revised DF data to be updated to DF. The size of the DF data block ranges from 1 byte to 32
bytes. All individual data must be sent in Little Endian.
I2C Commands
Assuming: data1 locates at address 0x4000 and data2 locates at address 0x4002.
Both data1 and data2 are U2 type.
To update data1 and data2, send a block write with command = 0x3E
block = starting address + DF data block
= 0x00 + 0x40 + data1_LowByte + data1_HighByte + data2_LowByte + data2_HighByte