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.

BQ25700A I2C

Other Parts Discussed in Thread: BQ25700A, BQ24296

您好,我在用BQ25700A 时,I2C调不通,出现以下错误,请帮忙确定下这颗料的地址,谢谢。

[    7.680426] <1>.(0)[1:swapper/0][name:bq24296&][bq24296_driver_probe]
[    7.681183] <1>.(0)[1:swapper/0]i2c i2c-3: addr: 6a, transfer ACK error
[    7.681204] <1>.(0)[1:swapper/0][name:i2c_mtk&]i2c_dump_info ++++++++++++++++++++++++++++++++++++++++++
[    7.681213] <1>.(0)[1:swapper/0][name:i2c_mtk&]I2C structure:
[    7.681213] <1>[I2C]Clk=12480

  • BQ25700A是使用SMbus 通讯,通讯地址09h
  • 您好,

          iic地址设置为0x9后,可以正常读写寄存器。

    现在我这里设置了0x14 和 0x15寄存器如下,目的是想得到电池的充电电流2A,充电电压8.448V。

    因为我们机器是2节电池串联。

    [    7.928131] <1>.(0)[1:swapper/0][0x14]=0x800
    [    7.928926] <1>.(0)[1:swapper/0][0x15]=0x2100

    但是,如下图,现在只有+VSYS有电流,BATT那一路没有电流,请问是什么原因导致的?

    完整的寄存器dump如下:

    [    7.925919] <1>.(0)[1:swapper/0][0x12]=0xe20e 
    [    7.928131] <1>.(0)[1:swapper/0][0x14]=0x800 
    [    7.928926] <1>.(0)[1:swapper/0][0x15]=0x2100 
    [    7.929723] <1>.(0)[1:swapper/0][0x20]=0x2000 
    [    7.930532] <1>.(0)[1:swapper/0][0x21]=0x0 
    [    7.931582] <1>.(0)[1:swapper/0][0x22]=0x4100 
    [    7.932376] <1>.(0)[1:swapper/0][0x23]=0x0 
    [    7.933170] <1>.(0)[1:swapper/0][0x24]=0x0 
    [    7.933991] <1>.(0)[1:swapper/0][0x25]=0x0 
    [    7.936246] <1>.(0)[1:swapper/0][0x26]=0x0 
    [    7.937042] <1>.(0)[1:swapper/0][0x30]=0x210 
    [    7.937836] <1>.(0)[1:swapper/0][0x31]=0x2b7 
    [    7.938644] <1>.(0)[1:swapper/0][0x32]=0x0 
    [    7.940881] <1>.(0)[1:swapper/0][0x33]=0x4a54 
    [    7.941680] <1>.(0)[1:swapper/0][0x34]=0x8120 
    [    7.942489] <1>.(0)[1:swapper/0][0x35]=0x2000 
    [    7.943983] <1>.(0)[1:swapper/0][0x3b]=0x0 
    [    7.944779] <1>.(0)[1:swapper/0][0x3c]=0x0 
    [    7.945575] <1>.(0)[1:swapper/0][0x3d]=0x0 
    [    7.946383] <1>.(0)[1:swapper/0][0x3e]=0x0 
    [    7.947776] <1>.(0)[1:swapper/0][0x3f]=0x4100 
    [    7.948570] <1>.(0)[1:swapper/0][0xfe]=0x40 
    [    7.949365] <1>.(0)[1:swapper/0][0xff]=0x79

x 出现错误。请重试或与管理员联系。