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.

BQ40Z50: Do we have example C code for BQ40Z50?

Part Number: BQ40Z50
Other Parts Discussed in Thread: EV2400, BQSTUDIO

Tool/software:

Hi TIer

I have multiple customers using the BQ40Z50, please give some advice, thank you.

Do we have example C code for BQ40Z50? I have a customer who has just started using the device, is there an example development project available?

Another customer is already in the test phase: 

Does our fuel gauge have a logging capability and customers want to get the number of overcharges, overruns, overtemperatures, Number of cell mismatch events (inconsistent capacity, voltage), etc.

Can you recommend some commonly used registers to help customers monitor batteries? Which registers are often used as security monitors.

  • Hi Tony,

    I do not believe that we have example C code, but the document below could provide useful. This document is for I2C communication so please take the right SMBus precautions:

    https://www.ti.com/lit/pdf/slua801

    If bqStudio and EV2400 are being used, then there are logging capabilities for all register actions that can be taken. If they are looking for logging while the device is in application, we have Lifetime values that can provide certain parameters and information throughout the gauges use. This can be found in Section 9 of the bq40z50TRM below:

    https://www.ti.com/lit/pdf/sluua43 

    For individual registers, the ones below are very commonly used to tell what is going on within the gauge during application:

    For measurement registers, the most common are Voltage(), Current(), Full Charge Capacity(), Remaining Capacity(), SOC(), SOH(), among others.

    Regards,

    Anthony Baldino