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.

BQ25120A: We encountered the following questions when using "BQ25120A", please help analyze and answer!

Expert 2630 points
Part Number: BQ25120A
Other Parts Discussed in Thread: BQ25120
We encountered the following questions when using "BQ25120A", please help analyze and answer!
1. How does the master control get the charger inserted in time?
Above the specification, you can see that the "PG" foot may meet the needs:
When the charging is inserted and the charging voltage is within the specified range, "PG" will be pulled low; but the charging voltage is not within the range.
"PG" is pulled up by the outside to wake up the earphone, which will cause the earphone to be turned on before charging (not allowed to plug in the charger)
2. When the main control is turned off, if the charger is disconnected, how is the master controlled by "BQ25120"?
(Preliminary judgment, when the "PG" is high impedance when unplugged, the circuit will pull up the "PG", then the "PG" is high to wake up the master)
3. Charging is inserted into the main control to shut down, only one "IO" can wake up the main control (if left to "PG");
Then INT can only be connected to the normal "GPIO" of the master, that is, "INT" cannot wake up the master.
I2C can't communicate. BULT25" has FAULT "(Safety Timer fault, VIN_UV, BAT_UVLO, BAT_OCP, TS Fault)". If I2C does not communicate, FAULT can't be cleared. What effect will it have on charging and power supply?
4. The "RESET" foot will only operate when "MR" is active? We have no buttons to connect to "MR", can we ignore the "RESET" signal?
5. The “CD” pin is connected to the main control. When the charging is not inserted, the main control will “CD” high to ensure “I2C” communication;
After inserting the charge, the main control high-resistance pin, "CD" is pulled down to GND through "BQ25120A", and the charging is turned on; is this correct? Is it possible to communicate with "I2C" because "CD" is low during charging?
  • We encountered the following questions when using "BQ25120A", please help analyze and answer!
    1. How does the master control get the charger inserted in time?
    Above the specification, you can see that the "PG" foot may meet the needs:
    When the charging is inserted and the charging voltage is within the specified range, "PG" will be pulled low; but the charging voltage is not within the range.
    "PG" is pulled up by the outside to wake up the earphone, which will cause the earphone to be turned on before charging (not allowed to plug in the charger)
    2. When the main control is turned off, if the charger is disconnected, how is the master controlled by "BQ25120"?
    (Preliminary judgment, when the "PG" is high impedance when unplugged, the circuit will pull up the "PG", then the "PG" is high to wake up the master)
    3. Charging is inserted into the main control to shut down, only one "IO" can wake up the main control (if left to "PG");
    Then INT can only be connected to the normal "GPIO" of the master, that is, "INT" cannot wake up the master.
    I2C can't communicate. BULT25" has FAULT "(Safety Timer fault, VIN_UV, BAT_UVLO, BAT_OCP, TS Fault)". If I2C does not communicate, FAULT can't be cleared. What effect will it have on charging and power supply?
    4. The "RESET" foot will only operate when "MR" is active? We have no buttons to connect to "MR", can we ignore the "RESET" signal?
    5. The “CD” pin is connected to the main control. When the charging is not inserted, the main control will “CD” high to ensure “I2C” communication;
    After inserting the charge, the main control high-resistance pin, "CD" is pulled down to GND through "BQ25120A", and the charging is turned on; is this correct? Is it possible to communicate with "I2C" because "CD" is low during charging?
  • Hello,

    1) /PG is open drain output so it will be pulled low when VIn > VBAT + 65mV. When you say charging voltage is not within specified range do you mean VBAT? What is your VBAT outside the specified range? If VIN is below that threshold, /PG will be high impedance. 

    2) If VIN is absent, you need to set /CD high to place the device in Active BAT mode to enable I2C communication.

    3) /INT only send interrupts to the MCU and is not intended to wake up the device. If the device is in shipmode, you need to use /MR or VIN to exit shipmode. Faults dont prevent I2C communication. Most likely the cause of the fault is preventing charging and not the fact that the fault has not been cleared due to I2C read.

    4) You can ignore RESET if you dont intend to use it. You need /MR if you intend to use the shipmode function unless you intent to exit shipmode only by VIN plugin.

    5) That is correct. You should be able to communicate with the charger during charging.

  • Hello Raheem,

    Thanks for your support; Let me input more detail about our product requirement;

    There is a charger case supply VIN power supply to the product if product in case;And the charger case is powered by battery,so we need make sure the power consunption is very low during charger connect;

    The product uses BQ25120A  as a charger and supply 1.8V to the other chips; And there is a host controller connected to BQ25120A,they can communicate by I2C and GPIOs;

    The host controller need to enter power down to cust low power during VIN connected(in case);And power on (wake up)  to work normal after VIN disconnect(out of case);

    The host only provides one GPIO which can wake the host controller,so we intend to use /PG connecting to host which will wake up host if charger disconnect, and notify host to power down when charger connect;

    During power down,the functions of host almost shut down,I2C will not work, host can only be wake up by the only one wake up pin, can not be notified(interrupt) by the other normal GPIO;

    1) /PG is open drain output so it will be pulled low when VIn > VBAT + 65mV. When you say charging voltage is not within specified range do you mean VBAT? What is your VBAT outside the specified range? If VIN is below that threshold, /PG will be high impedance. 

    -->Seems /PG could notify the host controller when VIN plugin,and wake up the host controller when VIN disconncet;  We are worry about when VIN is abnormal and not within the specified limits(in datasheets),the /PG will be pulled high by external pull up resistor, and this will wake up the host controller to power on; It means that the power consumption may high during VIN inserted in abnormal situation;

    2) If VIN is absent, you need to set /CD high to place the device in Active BAT mode to enable I2C communication.

    -->Yes,Seems /PG could notify the host controller when VIN plugin,and wake up the host controller  when VIN disconncet; The host will set /CD high after wake up to have communication with BQ;

    3) /INT only send interrupts to the MCU and is not intended to wake up the device. If the device is in shipmode, you need to use /MR or VIN to exit shipmode. Faults dont prevent I2C communication. Most likely the cause of the fault is preventing charging and not the fact that the fault has not been cleared due to I2C read.

    -->Based on 1) and 2),the host controller can only wake up by /PG;so the host can not clear the faults during VIN in and host power down,since /INT just connected to the normal GPIO which can not wake up the host and I2C function of the hsot can not work during power down;Do you mean that charging will recover if the fault cause is gone so the host controller can ignore the fault during VIN connceted? Is there a need to clear the faults when I2C recovered after VIN disconnected?

    4) You can ignore RESET if you dont intend to use it. You need /MR if you intend to use the shipmode function unless you intent to exit shipmode only by VIN plugin.

    -->Yes ,the product only exit shipmode by charger connected;

    5) That is correct. You should be able to communicate with the charger during charging.

    -->OK.

  • Hello,

    1) Note that /PG will only pull low if VIN is within proper input range stated in the datasheet.

    3) Not all faults prevent charging. However, if they're cleared, charging will be resumed without any intervention from host.