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.

BQ25895: REG12 (ADC conversion of Charge Current) Seems flakey and unreliable

Part Number: BQ25895
Other Parts Discussed in Thread: BQ25792

I'm using the BQ25895MRTWR on a custom board.  It's taken a while to get to a point where I can continuously monitor the chip regs.  I'm now able to monitor every 10 seconds without interfering with chip or overall system operation.

I find that REG12 (ADC conversion of Charge Current) reports what I believe to be an approximately correct reading (around 500mA-600mA).  However, it periodically drops to ZERO and then back again.  I believe this drop may last several seconds, but I can't be certain.  Meanwhile, I believe the actual charge current is pretty stable.

Specifically, I do NOT have an ammeter in the circuit to be able to confirm the instantaneous charge current.  But my bench power supply driving the system shows a large change when charging starts (at 12V going from 0.86A to 1.33A), but then NEVER drops below 1.33A even though the REG12 is reading zero charge current.

Is this a known problem?  Any suggestions?  Below are two example readings of all the chip registers.  One has a good reading of 0xC, while the other has a zero reading of 0x0.  Note that AllRegs[] has an integer index displayed, so REG12 is AllRegs[18].

(Note that my root problem is that I'm also seeing large fluctuation on REG0E (ADC Conversion of Battery Voltage), even though I believe the current shouldn't be shutting off an on.  The combination of both items fluctuating so much is making it extremely difficult for my product to show a meaningful battery voltage icon that *SHOULD* be showing a slowly monitonically increasing percent charge, just like you're used to seeing on your smart phone.  Even though this is my root problem, I'm starting my analysis with the Charge Current [erroneously] reporting zero periodically.  I don't see a direct correlation between the two, as if it's really dropping current and thus the voltage pushed is falling.  That doesn't seem to be the case.)

  • Hello Helmut,

    We don't really recommend using the charger ADC for gauging purposes, I would recommend looking at a dedicated gauge. But it should not report 0A with current present. Are there any changes in your system during the logging period? Can you capture the issue with the scope to check if the is any dip?

    Sincerely,

    Wyatt Keller

  • I see a similar problem, where IBAT and/or IBUS periodically report incorrect values during OTG operation. The actual battery and VBUS currents are steady (measured outside the part) as are all the other reported ADC channels, and I don't see any faults or changes in other registers. The incorrect currents are either very low values, or half the normal value and opposite polarity, like this...

    Normal: -1800 to -1900

    Incorrect: -10 to +10, or +900 to +050

    Below are register dumps in normal and false low current times, and also an i2c trace that looks fine in both cases.

    VSYSMIN   00:  7000     VINDPM    05:  3600     PCHG      08:01
    VREG      01:  8400     IINDPM    06:  3300     TERM      09:05
    ICHG      03:  4200     VOTG      0B: 12000     RCHG      0A:63
                            IOTG      0D:2D         TIMR      0E:3D
    ChgCtl 0  0F:82         ChgSts 0  1B:87         TEMP      16:C0
           1  10:00                1  1C:0E         NTC0      17:7A
           2  11:00                2  1D:01         NTC1      18:01
           3  12:40                3  1E:00         ICO       19:00
           4  13:29                4  1F:00                          
           5  14:04                                                    
    FltSts 0  20:00         FltFlg 0  26:00         FltMsk 0  2C:00
           1  21:00                1  27:00                1  2D:00
    ChgFlg 0  22:00         ChgMsk 0  28:00                          
           1  23:00                1  29:00         AdcCtl    2E:B8
           2  24:00                2  2A:00         AdcDis    2F:00
           3  25:00                3  2B:00         AdcDis    30:00
    IBUS      31: -1807     IBAT      33: -1955     TS        3F:     0
    VBUS      35:  7589     VBAT      3B:  7772     TDIE      41:    57
    VAC1      37:  7559     VSYS      3D:  7810     D+        43:     0
    VAC2      39:  7543                             D-        45:     0
    DPDM      47:00         Part      48:08



    VSYSMIN   00:  7000     VINDPM    05:  3600     PCHG      08:01
    VREG      01:  8400     IINDPM    06:  3300     TERM      09:05
    ICHG      03:  4200     VOTG      0B: 12000     RCHG      0A:63
                            IOTG      0D:2D         TIMR      0E:3D
    ChgCtl 0  0F:82         ChgSts 0  1B:87         TEMP      16:C0
           1  10:00                1  1C:0E         NTC0      17:7A
           2  11:00                2  1D:01         NTC1      18:01
           3  12:40                3  1E:00         ICO       19:00
           4  13:29                4  1F:00                          
           5  14:04                                                    
    FltSts 0  20:00         FltFlg 0  26:00         FltMsk 0  2C:00
           1  21:00                1  27:00                1  2D:00
    ChgFlg 0  22:00         ChgMsk 0  28:00                          
           1  23:00                1  29:00         AdcCtl    2E:B8
           2  24:00                2  2A:00         AdcDis    2F:00
           3  25:00                3  2B:00         AdcDis    30:00
    IBUS      31:    -6     IBAT      33:     0     TS        3F:     0
    VBUS      35:  7599     VBAT      3B:  7757     TDIE      41:    57
    VAC1      37:  7550     VSYS      3D:  7841     D+        43:     0
    VAC2      39:  7545                             D-        45:     0
    DPDM      47:00         Part      48:08

  • Jim,

    Referring to Table 6. Battery Monitor Modes of Operation on the d/s, the ADC does not provide battery discharging current. It only provides the battery charging current in charge mode.

    Thanks,

    Ning.

  • Thanks, Carol. I'm sorry - just realized I posted this in the wrong place. I'm using the BQ25792 but found this earlier post searching for the problem, but didn't notice it was a different part.

    I'll repost under the right part number.

  • Jim,

    No problem. This thread is closed.

    Thanks,

    Ning.