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.

BQ24292I: BQ2429

Part Number: BQ24292I


Hello Everyone,

                          I am new to using this product BQ24292IR. I have downloaded some sample code from github "github.com/.../bq24292i" and "github.com/.../bq2429x". But I am confused about its working. My goal is to interface BQ24292I with my master controller and configure the Input current,charging current,battery voltage. Is there any application example which shows how to use these libraries from Github??

Your help will be appreciated.

Thanks & Regards,

Snehal.

  • Hi Snehal,

    The code from github is a driver subroutine that you can include in your code.  The charger itself does not have a processor, only an asynchronous state machine that makes decisions based on I2C register settings and also reports status and faults in other registers.  The driver is intended to make reading and writing to those I2C registers easier.  The registers all have default values so the charger will function without changing any registers.    For example, the default battery regulation voltage is 4.112V.  The input current limit should be set to maximum current that your input source can provide.  The PSEL pin autosets the input current limit register to one of two settings.  The actual input current will be the lower the value set by ILIM resistor or the input current limit register.  The charge current default is 1A but you can change to battery's recommended max charge current (typically 1C).

    I am not aware of code examples and TI does not provide them for legal reasons.

    Regards,

    Jeff

  • Hi Jeff,

              Thank you for your reply. If I want to configure Input current = 4.5A, Charging current = 4.5A &battery voltage =4.2V what settings do I need to do? Battery voltage by default is 4.112v I understand but for Input current & charging current what changes do I need to do?? 

    Thanks & Regards,

    Snehal.

  • Hi Snehal,

    I suggest writing the following

    REG0x04b7:2 = 100110 for BATREG=4.2V

    REG0x00b2:1 = 111 for max input current limit = 3A also ensure that the ILIM resistor is 176 ohms to prevent it from clamping the input current limit lower than 3A.

    REG0x02b7:2 = 111111 to set charge current to 4.544A.

    Please note, as shown in the efficiency curve below, that with input current set 3A max, VBUS must be higher than 7V when VBAT>3.8V in order to get >4A charge current.  Also, the charger has thermal regulation that reduces charge current if the die temp gets above 120 C.  So, having the IC ground pad connected through to as much copper as possible is critical.

    Regards,

    Jeff