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.

BQ28Z610: BQ28Z610 battery charging

Part Number: BQ28Z610
Other Parts Discussed in Thread: BQ25892

Hi, 

Do you have a coding example for BQ28Z610 ? 

I am working on a advanced charging algorithm by using gauge ( BQ28Z610 ) in order to drive BQ25892 for charging a battery. 

In addition to datasheet, is there a reference design to see sample code examples ? 

First, I would like to initialize BQ28Z610  and BQ25892 . 

Second based on given battery charging profiles, I would like to charge the battery based on current, voltage and age as shown in the following application document : 

But I don;t see any coding example. There are only datasheets. 

Is there a reference design based on a sample battery  charging profile which shows the optimization of charging time while keeping the lifetime of battery the longest possible  with the addition of battery age information which comes from Battery Gauge similar to BQ28Z610 ?

Thanks and best regards, 

 

  • Hi Redwood,

    We don't offer code samples for charging or discharging. The gauge will take whatever voltage and current provided by the charger within safety limits and use that to charge the battery.

  • I am looking for a document which shows gauge and charger together. Ideally the document should show the interaction. The documents I found shows individual behaviour of the chips but not together. How should I proceed?

  • Hi Redwood,

    I'm sorry, we don't have documents that show the behavior together. The gauge is a slave and will accept whatever voltage and current is supplied by the charger.

  • Hi, 

    I would like to escalate this case to your management. Sorry, this does not make sense. 

    I am trying to figure out how to use BQ28Z610 . There is no application note, There is no coding example. What I hear is that there is only datasheet. I am looking HOW to use not WHAT it is. 

    Second, I do not like the way my questions are answered in this case and the other case. 

    Regards, 

  • Hi Redwood,

    I'm sorry but unfortunately we don't have examples, you can find drivers here, https://github.com/tibms/kernel-4.4/tree/release/drivers/power/bq28z610

    This is a gauge forum, for charger questions, please post in the charger forum or select the appropriate part.

  • Hi, 

    Please see the reference design provided by Texas Instrument.

    QUESTION:  Could you provide the source code(FIRMWARE) which comes with this reference design?   iN ORDER TO SET VOLTAGE AND CURRENT IN GAUGE BASED ON TEMPERATURE AND BATTERY VOLTAGE RANGES BASED ON BATTERY SPEC, WHAT ARE THE STEPS WHICH ARE TAKEN BY THE PROCESSOR BY CHANGING THE REGISTER SETTING IN GAUGE( SUCH AS BQ28Z610)  AND CHARGER ( SUCH AS BQ25892)? My end goal is to follow the firmware and battery spec which you used in your reference design to understand the bq25892 and bq28z610 .

            (****) Please note that I am looking for the firmware which you are used in the block called "HOST" in the block diagram given below. 

    I am not only looking for charger but also gauge related firmware which comes with this reference design. 

  • Hi, 

    Please see the reference design provided by Texas Instrument.

    QUESTION:  Could you provide the source code(FIRMWARE) which comes with this reference design?   iN ORDER TO SET VOLTAGE AND CURRENT IN GAUGE BASED ON TEMPERATURE AND BATTERY VOLTAGE RANGES BASED ON BATTERY SPEC, WHAT ARE THE STEPS WHICH ARE TAKEN BY THE PROCESSOR BY CHANGING THE REGISTER SETTING IN GAUGE( SUCH AS BQ28Z610)  AND CHARGER ( SUCH AS BQ25892)? My end goal is to follow the firmware and battery spec which you used in your reference design to understand the bq25892 and bq28z610 .

            (****) Please note that I am looking for the firmware which you are used in the block called "HOST" in the block diagram given below. 

    I am not only looking for charger but also gauge related firmware which comes with this reference design. 

  • Hi Redwood,

    The gauge fw is available on the bq28z610 page. For the charger questions, this thread has been transferred over to the chargers forum.

  • Hi, 

    The firmware example I am looking is not the one used by your software GUI. 

    I am looking for the software(firmware) used in battery management systems microcontroller (processors). 

    Regards,

  • Hi,

    Please refer to https://github.com/tibms/bq2589x for sample BQ2589x charger driver.

    Thanks,

    Ning.