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: Reading Multiple Data with I2C

Part Number: BQ34Z100-G1
Other Parts Discussed in Thread: BQ34110, BQ35100

I need to read most of the data from the BQ34Z100-G1

If I want to read all 14 bytes of the standard data commands can I read them at one time with a block read?

<S><AA><a><00><a><Sr><AB><a><Control LSB><A><Control MSB><A><StateOfCharge><A>
<MaxError><A><RemainingCapacity LSB><A><RemainingCapacity MSB><A>... <FlagsB MSB><N><P>

Second Question: What about the the Extended Commands can I read them in a Block? 

I am not sure what happens when I read the third byte of the first example. Does it read the StateOfCharge (Standard command address 2) or the DeviceType (Control Subcommand address 2)? 

What is the fastest way to dump all the data or larger chunks of data from the BQ34Z100-G1?

Kip

  • Hi Kipton,

    If the data is located next to each other, they could be read at the same time with a block read. Extended commands are read similarly to standard commands.

    The fastest way to dump data from the bq34z100-g1 while executing firmware is to use the Data Flash Access commands. Example 1 and Example 2 in section 2.4 of the "Using I2C Communications With the bq34110, bq35100, and bq34z100-G1" App Note show how to use the Subclass, Offset, and length to find the and modify the data required. The App Note may be found here: www.ti.com/.../slua790.pdf

    This lengthy thread may also be of some help: e2e.ti.com/.../1172548

    If you have any other questions, please let me know!

    Sincerely,
    Bryan Kahler