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.

BQ25622E: Read register without charging current..

Part Number: BQ25622E

Hi TI:

External 5V2A charger, read Bq25622E register 0x2A without value  ..

0x2c  --->>VBUS-->>0x1460

0x28  -->>IBUS -->>0x00B0

0x30  -->>VBAT  -->>0x0FDA

0x2A -->>IBAT -->>0x0000

0x16  -->>CH_EN BIT  -->>0xA1

charger.log
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
iic r 2 2
RR:0x2,val:0x03C0,ret:0
$ iic r 4 2
RR:0x4,val:0x0D20,ret:0
$ iic r 6 2
RR:0x6,val:0x0640,ret:0
$ iic r 8 2
RR:0x8,val:0x0E60,ret:0
$ iic r 14 2
RR:0xE,val:0x0B00,ret:0
$ iic r 16 2
RR:0x10,val:0x0050,ret:0
$ iic r 18 2
RR:0x12,val:0x0030,ret:0
$ iic r 20 2
RR:0x14,val:0x1C06,ret:0
$ iic r 21 2
RR:0x15,val:0xA11C,ret:0
$ iic r 22 2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Thanks

Cole

  • Can yo provide more information on the test you are trying to perform? What is the status of the CE pin? Are there any protections triggered which will prevent charging?

  • 1:We can directly connect EVK for charging   -->>EVK-REG.log

    2:But the IC we stick on the PCB cannot be charged   -->>MY-REG.log

    Can you help me check if there is an exception in the register?

    Thanks

    MY-REG.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    iic r 2 2
    RR:0x2,val:0x780
    $ iic r 4 2
    RR:0x4,val:0xD20
    $ iic r 6 2
    RR:0x6,val:0x640
    $ iic r 8 2
    RR:0x8,val:0xE60
    $ iic r 14 2
    RR:0xE,val:0xB00
    $ iic r 16 2
    RR:0x10,val:0x50
    $ iic r 18 2
    RR:0x12,val:0x30
    $ iic r 20 1
    RR:0x14,val:0x6
    $ iic r 21 1
    RR:0x15,val:0x1C
    $ iic r 22 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    EVK-REG.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    iic r 2 2
    RR:0x2,val:0x780
    $ iic r 4 2
    RR:0x4,val:0xD20
    $ iic r 6 2
    RR:0x6,val:0x640
    $ iic r 8 2
    RR:0x8,val:0xE60
    $ iic r 14 2
    RR:0xE,val:0xB00
    $ iic r 16 2
    RR:0x10,val:0x50
    $ iic r 18 2
    RR:0x12,val:0x30
    $ iic r 20 1
    RR:0x14,val:0x6
    $ iic r 21 1
    RR:0x15,val:0x1C
    $ iic r 22 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • In the 1st of the 2 register logs provided REG0x1F = 0x1, which indicates TS_COLD. TS cold condition would cause device to not be able to charge. Please make sure TS pin is correctly biased, or you can disable battery temperature monitoring by setting TS_IGNORE (REG0x1A[7] = 1b). 

    In the 2nd of the 2 register logs provided the IBAT_ADC register (REG0x2A) does output a charge current of 1144mA. The device appears to be charging, but there is an IINDPM status reported in REG0x1D. An IINDPM condition, likely due to ILIM resistor, causes charge current to not increase to set ICHG value.

  • Thank you very much for your help

    1:I directly changed the register of 0x1A to 0x8F

    At the beginning, it can be charged.But it stopped after about a minute

    Can you help me check if that register still needs to be modified?

    ADC-->>0X26 It will also be closed .  The log of no_ok is the value I read when I reopened 0x26

    ok.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    charge start
    Set Vbat Pin 1.
    Accid:1773
    Charger init Success..
    $ charge read
    Vbus:REG2C:5040mV
    Vbat:REG30:3268mV
    Current:Ibus:REG28: 1004 mA
    Current:Ibat:REG2A: 1104 mA
    TEMP: 42.50%
    $ gauge read
    ==============Check: Gauge==============
    Gauge read
    voltage: 3128 mV
    Current: 1084 mA
    show temp:2985
    temperature: 2985 (0.1 K)
    Get Battery Temperature: 25.30C
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    no_ok.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    iic r 2 2
    RR:0x2,val:0x3C0
    $ iic r 4 2
    RR:0x4,val:0xD20
    $ iic r 6 2
    RR:0x6,val:0x640
    $ iic r 8 2
    RR:0x8,val:0xE60
    $ iic r 14 2
    RR:0xE,val:0xB00
    $ iic r 16 2
    RR:0x10,val:0x50
    $ iic r 18 2
    RR:0x12,val:0x30
    $ iic r 20 1
    RR:0x14,val:0x6
    $ iic r 21 1
    RR:0x15,val:0x1C
    $ iic r 22 1
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Charge is likely stopping due to TS_IGNORE resetting back to default due to watchdog timer expiration. The watchdog timer setting is REG0x16[1:0].

    Please try changing REG0x16 to value 0xA0 to disable.

  • Just turn off the watchdog and it's okay,

    But I have a question:
    Under normal circumstances, I found that the watchdog is always on. Do we need to use external I2C to reset the watchdog?

    Thank you very much for your support

  • Yes, to remain in host mode operation I2C communication is required to reset the watchdog timer before expiration if you do not wish to disable it. More details can be found in datasheet section 8.4.1.

  • OK  

    Thank you