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.

BQ25890: Why suddenly into HIZ mode

Part Number: BQ25890

Dear Engineers,

There is a question about BQ25890. During charging, Reg00 BIT7 suddenly jumps to 1, then it get into HIZ mode. And the conditions are ALL valid.

Looking forward to your kind reply!

Thanks,
Robin

  • Hi,

    The device will not set REG00[7]=1 by itself. Please double-check your I2C communication and code.

    Thanks,

    Ning.
    Please click "This Resolved my issue" button if this post answer your question.
  • Hi, Ling,

    I have tried to change usb supply to DC power supply, and it still get into HIZ mode. Could you please help check the registers as below?

    [ 5238.203542] REG0 :5c
    [ 5238.203642] REG1 :74
    [ 5238.203702] REG2 :cd
    [ 5238.203752] REG3 :10
    [ 5238.203800] REG4 :13
    [ 5238.203904] REG5 :11
    [ 5238.203958] REG6 :6a
    [ 5238.204003] REG7 :8d
    [ 5238.204086] REG8 :d7
    [ 5238.205095] REG9 :44
    [ 5238.205190] REGa :71
    [ 5238.205972] REGb :9e
    [ 5238.206776] REGc :0
    [ 5238.207029] REGd :d
    [ 5238.208414] REGe :57
    [ 5238.209136] REGf :58
    [ 5238.210112] REG10 :5d
    [ 5238.210893] REG11 :de
    [ 5238.211580] REG12 :0
    [ 5238.212357] REG13 :1c
    [ 5238.213232] REG14 :1d
    [ 5238.213981] xiehaojian: drivers/power/bq25890_charger.c 966 bq52890_get_charge_type chg_type=4 g_charger_type=1
    [ 5238.214094] jia 879 bq25890_battery_level_smooth_deal g_charger_type 1
    [ 5238.218769] xiehaojian: drivers/power/bq25890_charger.c 966 bq52890_get_charge_type chg_type=4 g_charger_type=1
    [ 5238.219556] xiehaojian: drivers/power/bq25890_charger.c 966 bq52890_get_charge_type chg_type=4 g_charger_type=1
    [ 5238.222089] xiehaojian: drivers/power/bq25890_charger.c 966 bq52890_get_charge_type chg_type=4 g_charger_type=1
    [ 5238.222813] xiehaojian: drivers/power/bq25890_charger.c 966 bq52890_get_charge_type chg_type=4 g_charger_type=1
    [ 5238.223416] healthd: battery l=100 v=4044 t=0.0 h=2 st=5 c=0 chg=a
    [ 5298.201127] xiehaojian: drivers/power/bq25890_charger.c 1008 bq25890_get_charge_status g_charger_status=3
    [ 5298.202553] xiehaojian: drivers/power/bq25890_charger.c 790 bq25890_get_battery_level vbat=4044000 SHUTDOWN_VOL=3200000 low_power_flag=0 g_vreg=4256000 g_ichg=1216000
    [ 5298.202650] debug0110 846 bq25890_get_battery_level vol 4044000 bat_level 68 ret 0
    [ 5298.202728] debug0110 857 bq25890_battery_level_smooth_deal bat_cur_level 68 bat_old_level 100 cmp_val -32
    [ 5298.203351] REG0 :c4864410
    [ 5298.203504] REG1 :74
    [ 5298.203592] REG2 :cd
    [ 5298.203687] REG3 :10
    [ 5298.203741] REG4 :13
    [ 5298.203787] REG5 :11
    [ 5298.203864] REG6 :6a
    [ 5298.203910] REG7 :8d
    [ 5298.203953] REG8 :d7
    [ 5298.204973] REG9 :10
    [ 5298.205121] REGa :71
    [ 5298.206201] REGb :86
    [ 5298.207019] REGc

    Thanks,
    Robin
  • Hi,

    The sample BQ2589x code is located at github.com/.../bq2589x. Please feel free to use it as references.

    Thanks,

    Ning.
    Please click "This Resolved my issue" button if this post answer your question.