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.

bq34z110 Accesing data flash

Other Parts Discussed in Thread: BQ34Z110, BQ34Z100

Hello 

I am using an application with bq34z110  for monitoring 2 batteries. I use a standard microcontroller for communicating with bq through I2C interface. 

 It is not clear for me how to use extended commands for accesing various data flash locations.

From datasheet, I understand that, for accessing a specific flash data (the datas listed in table 20 Data Flash Summary) , I have to do the following steps:

-write 0x00 to 0x61(which is BlockDataControl() ) (in I2C this looks like : Start  |  Address | W |  0x61 |  0x00 |Stop  ) for enabling accessing of data flash.

-write desired  subclass id( from table 20)   to  0x3e ( DataFlashClass() ) to set the data block which is intended to be accessed (readed /writed)  (   Start  |  Address | W |  0x3e |   subclass id | Stop )

-if the class has a size >32 bytes and the desired data is not within these 32 bytes ; an offset must be written to 0x3f (DataFlashBlock() ), offset ( Start | Address | W | 0x3f | offset  | Stop )

-read or write desired data from addresses 0x40 thorugh 0x55. (e.g. Start | Address | R | 0x40 | ....<wait for data> ...| Stop )

Is that correct? 

I have tried these steps for reading some data with a specific default value in order for me to be able to compare the corectitudeness of data flash access. No success yet.

Also there are some errors in datasheet: when describing accesing data flash class ; it is given an example for accesing Terminate Voltage   which is said to have an offset of 48. In Table 20 there is not any location named Terminate Voltage((perhaps Cell Termination Voltage ?)) or an offset of 48 in Gas Gauging class.

Another issue : how are the data fllash locations : R , W or R/W ?

What is the device type of bq34z110 ( in datasheet says  DEVICE_TYPE should return 0x0541 but here,  on forum someone said this number ,0x0541, is an error in datasheet)