Hi,
We have a custom power management board that has a bq34z100-g1 ic for battery management. We have established connection with the IC and are able to read and write to various configuration registers. The issue we are faced with currently is being able to write the blockdata checksum back to the ic. This is the guide that we are following
According to this manual following is the procedure to read and write to the dataflash
blockdatacontrol write 0x61 00
dataFlashClass write 0x30 0x40 (subclass configuration registers)
dataflashblock write 0x3f 0x00
read 0x40 8 (1 2 3 4 5 6 7 8 bytes of data received)
modify data and calculate newCheckSum
blockdatacontrol write 0x61 0x00
dataFlashclass write 0x30 0x40
dataflashblock 0x3f 0x00
write 0x40 8 (1 2 3 4 5 6 7 8 bytes sent)
writeCheckSum write 0x60 newCheckSum //Error
The device simply does not acknowledge the i2c master start condition when i try do to writeCheckSum. readCheckSum works fine. Please let me know if i am missing some configuration option.
Regards