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.

CCS/BQ34Z110: I use BQ34Z110. Help me please..

Part Number: BQ34Z110
Other Parts Discussed in Thread: BQEVSW

Tool/software: Code Composer Studio

I'm using Atmega128 and BQ34Z10 and I2C .

I config circuit as "www.mikrocontroller.net/.../339243".

I think, I don't need to connect SRP, SRN in my circuit. so I currently didn't connect SRP, SRN.

I supplied 12V in my circuit.

I changed setting value of BQ34Z110 with measurement voltage range of BQ34Z110 is 14400mv and Battery measurement capacity is 2900mA/H.

I want to read battery voltage.

I followed example 1 in Using I2C Communications.pdf for reading battery voltage.

I sent data as below sequence to BQ34Z110.

Startbit --- 0xAA --- 0x08 --- Repeated START --- 0xAB --- Data Read(LSB) --- Data Read(MSB) --- End I2C

I received LSB is 18(decimals) and MSB is 255(decimals).

I think, Those value is error value.

why do I receive error value?


  • That is the correct series of commands to read the voltage. I assume that the gauge returned the data 12H and FFH. You would convert them as FF12 or 65298mV, which is not correct. Did you calibrate the device? Do you have an EV2300 and the bqEVSW to try working with the device using the TI tools? You will need to use bqEVSW for the design phase if you plan to do anything but read the voltage.
  • When I use BQ34Z110, must I use TI software?

    I don't use TI software because I use Atmega128.

    I sent new setting value for changing block data.

    then I requested chaged block data to BQ34Z110.

    and I checked receiviung block data from BQ34Z110.

    I checked that Block data of BQ34Z110 changed ordinarily.

    I measured battery voltage after that.

    but I received FF12.

    I don't understand this situation

    why do I receive error value?
  • Using the bqEVSW would make it easier to work with the device. The bqEVSW will allow you to export your setup file and I can check it for errors. It is difficult to analyze your problem with just the response from the gauge. Can you send an oscilloscope picture of the waveform, so that I can inspect the bits? Did you calibrate the voltage divider parameter in the gauge? The voltage will not report properly, if the voltage is not calibrated.
  • Can you send an oscilloscope picture of the waveform, so that I can inspect the bits?
    - ummmm.... My company broken oscilloscope so it use to oscilloscope impossible.

    Did you calibrate the voltage divider parameter in the gauge?
    - Do voltage divider parameter among your sentence signify divider register?
    - I checked divider register so divider voltage is 4.8V.
  • Yes, I was referring to the Voltage Divider. This is the parameter that is updated during the voltage calibration. It should be set closer to 37000 for a 6S configuration.