Tool/software:
Hi Team,
We are using BQ25792 in our current Project. We have tried to set the Battery Termination current control register to 200mA from 1A(which we had earlier set using PD customization tool) of the Battery charger IC using I2C command. But Unfortunately, we could not get the expected result and the Power was shutdown. As a result , the processor and the PMIC got damaged. We have a doubt with the command we have provided on the uboot.
The command we gave: I2c mw 0x6B 0x09.2 0x05 1
Could you please suggest what might have caused with this command? Is there any possibility of writing to the 0xA register with the above command i.e changing the system voltage to be greater than 4.2V?
The log is attached below for your reference.
Best Regards,
Monisha M
.
=> i2c mm 0x6B 0x09 1
i2c - I2C sub-system
Usage:
i2c bus [muxtype:muxaddr:muxchannel] - show I2C bus info
i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
i2c dev [dev] - show or set current I2C bus
i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device
i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
i2c probe [address] - test for and show device(s) on the I2C bus
i2c read chip address[.0, .1, .2] length memaddress - read to memory
i2c write memaddress chip address[.0, .1, .2] length [-s] - write memory
to I2C; the -s option selects bulk write in a single transaction
i2c flags chip [flags] - set or get chip flags
i2c olen chip [offset_length] - set or get chip offset length
i2c reset - re-init the I2C Controller
i2c speed [speed] - show or set I2C bus speed
=> i2c md 0x6B 0x09 1
0009: 19 .
=> i2c mm 0x6B 0x09 05 1
i2c - I2C sub-system
Usage:
i2c bus [muxtype:muxaddr:muxchannel] - show I2C bus info
i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum
i2c dev [dev] - show or set current I2C bus
i2c loop chip address[.0, .1, .2] [# of objects] - looping read of device
i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
i2c mm chip address[.0, .1, .2] - write to I2C device (auto-incrementing)
i2c mw chip address[.0, .1, .2] value [count] - write to I2C device (fill)
i2c nm chip address[.0, .1, .2] - write to I2C device (constant address)
i2c probe [address] - test for and show device(s) on the I2C bus
i2c read chip address[.0, .1, .2] length memaddress - read to memory
i2c write memaddress chip address[.0, .1, .2] length [-s] - write memory
to I2C; the -s option selects bulk write in a single transaction
i2c flags chip [flags] - set or get chip flags
i2c olen chip [offset_length] - set or get chip offset length
i2c reset - re-init the I2C Controller
i2c speed [speed] - show or set I2C bus speed
=> i2c md 0x6B 0x09 1
0009: 19 .
=> i2c md 0x6B 0x09 0x05 1
0009: 19 23 00 ea 17 .#...
=> i2c mw 0x6B 0x09.2 0x05 1
=> i2c md 0x6B 0x09 1
0009: 09 .
=> i2c md 0x6B 0x09 10
0009: 09 01 a4 01 f4 8e 01 2c 01 19 23 00 ea 17 3d a2 .......,..#...=.
=>
0019: 19 01 a4 01 f4 8e 01 2c 01 19 23 00 ea 17 3d a2 .......,..#...=.
=>
i2c: Error check busy bus: 0x8
Error reading the chip: -102
=>
Error reading the chip: 5
=>
0029: 29 01 a4 01 f4 2c 00 0a 01 19 23 00 ea 17 3d 82 )....,....#...=.
=> i2c probe
Valid chip addresses: 20 50 6B 7F
=>
i2c probe
Valid chip addresses: 20 50 6B 7F
=> i2c md 0x6B 0x09
U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)
Normal Boot
ELE firmware version 1.3.0-1c47a54d
upower_apd_inst_isr: entry
upower_init: soc_id=48
upower_init: version:11.11.13
upower_init: start uPower RAM service
user_upwr_rdy_callb: soc=b
user_upwr_rdy_callb: RAM version:12.18
Turning on switches...
Turn on switches ok
Turning on memories...
Turn on memories ok
Clearing DDR retention...
Clear DDR retention ok
[ERROR] DFI error. Please check DDR configuration
resetting ...