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.

how can I read data from bq34z100 I2C_write,I2C_read ?

Other Parts Discussed in Thread: BQ34Z100, BQEVSW, EV2400, BQ34Z110, BQ24450, BQ34Z100-G1, BQMTESTER, BQSTUDIO, BQPRODUCTION, GPCCHEM

Hi

Question:

Average current value of BQ34z100 from I2C - 1 byte data reads
Iteupnida very well.

CURRENT: 0x0018 -> olryeogo to read the current value

Returns the instantaneous current measured by the gauge

Source program I2CCOMMAND (); Public get down Where Have
Questions Olympique stuffy feeling.
To a communication control microcomputer ATMEGA 128 reads the instantaneous value of current
Control () Subcommand address 0018 Read (); value 0xffff comes.
Dream, please let me know how to get favor.

Thank you very much.

 Example 1:

/ ------------------------------------------------ -----
/ / Pack_Voltage Reading
/ / ------------------------------------------------ -----
I2C_start ();
I2C_write (0xaa);
I2C_write (0x08);

I2C_start ();
I2C_write (0xab);
vt_l = I2C_read (1);
I2C_stop ();

I2C_start ();
I2C_write (0xaa);
I2C_write (0x09);

I2C_start ();
I2C_write (0xab);
vt_h = I2C_read (1);
I2C_stop ();

Tx_Pack [0] = vt_h;
Tx_Pack [1] = vt_l;

 

 / ------------------------------------------------ -----
/ / Pack_Current Reading
/ / ------------------------------------------------ -----
// Current 0x0018 Read       0X0000    ----- ?



I2C_start ();
I2C_write (0xaa);
I2C_write (0x00);
I2C_write (0x18); / / current
I2C_stop ();

I2C_start ();
I2C_write (0xaa);
I2C_write (0x01);
I2C_write (0x00);

I2C_stop ();


I2C_start ();
I2C_write (0xaa);
I2C_write (0x00);
I2C_write (0xab);
I2C_write (0x00);
ac_l = I2C_read (1);  --> Not  Read_Data  ?
I2C_stop ();


I2C_start ();
I2C_write (0xaa);
I2C_write (0x01);
I2C_write (0xab);
I2C_write (0x18);
ac_h = I2C_read (1);    --> Not  Read_Data  ?
I2C_stop ();

  • Kindly reply to the above and some of the queries below,

    1) During optimization cycle,Whether  the update status value need to be changed manually after the relaxation period.

    2) I am attaching .gg file which is obtained after optimization cycle. Can you check the Ra table and OCV table values are fine or not.

    Golden df.zip

    Regards,

    Arun Dev

  • You do not have to change the Update Status manually during the optimization cycle. Your gg file shows Update Status = 02, which means that Impedance Track is not enabled. It should be set to 04. It will then change to 05 after Qmax updates and 06 after the Ra table updates. Your Ra headers show that the Ra table has started updating, but I doubt that Qmax has updated. It is currently set to 5000. I would change Update Status to 00 and the Ra header from 0555 to FF55 and import it back into the device. Then send the IT Enable command and check the data flash to see whether they have updated to the proper values. Update Status = 05 and the Ra headers = FF55 and FFFF. You can restart the optimization cycle if they are at the proper values.
  • Tom,

    Thank you so much,

    1. How much is the maximum current that can be drawn from battery during relaxation time. ( After Full Discharge).

    2. During relaxation any drain current is allowed?.

    3. During optimization cycle,first update status become 04 when IT Enable command is send, After fully discharging and relaxing the battery next charging cycle has to happen only if update status becomes 05  or not? 

    4. Shall we Stop optimization only if update status becomes 06.?

    kindly do the needful.

  • Tom,

    We have finished one optimization cycle for Our 5Ah Battery.

    1) The Q max value updated to 5838, Our battery is 5Ah. Is it correct?

    I am attaching the .Rom file , log data, and gg file along with this.

    Kindly check and confirm this .Rom is ok for production.30.09.zip

  • Arun,
    Qmax should be 5838, based on the passed charge and DOD after discharge.
    Tom
  • TOM,

    Thank you for your support,

    We are facing one critical issue with respect to SOC of bq34z110,

    1.  SOC is going to 0% from 80%.

    2. Our application of use is Defibrillator.

    3. I am attaching the current and Voltage waveform pattern of our application. ( Charging the capacitor from battery)

    4. Our requirement is 100 Charge from 5AH battery.

    5. Did we need to do optimization cycle based on the application load.

    6. During Discharging in optimization cycle, real load has to be given or not?

    7. Based on the load pattern, suggest us the register configuration for Load mode and load select.

    V I chara of battery.docx

    kindly do the needful.