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.

BQ25970: I2C sample code

Part Number: BQ25970

Hi,

Customer is looking for a sample code of these device, below is the inquiry.

"In fact I have got BQ25970 full datasheet from somewhere as attached, but  I am not sure if it's correct or not, because of on the datasheet It shows me the device address is 0X6B,but I try to communicate  it with 0x6b through  I2C, there is no answer/ACK,

but I write 0x66 it ACK to host, but other registers can't be read and write, so I don't know what's going on, and urgent needs your guys help, it's better you can send me the I2C communication sample so that we can quickly settle this problem and step into next stage."

Regards,
Maynard

  • Hello Maynard,

    The BQ25970's I2C address is dependent on the resistor values present at CDRVL_ADDRMS pin, which also determine AC_OVP behavior and Master, Slave, or Standalone operation.

    The resistive value can alter the behavior as follows:

    Resistor I2C Addr AC_OVP Default Operation
    18kOhms 0x65 6.5 V Master
    39kOhms 0x66 (Disabled) Slave
    75kOhms 0x65 11 V Standalone
    Open (>150kOhms) 0x66 6.5 V Standalone

    I will confirm the availability of sample code for the device if it is available.

    Best,

    Juan

  • Hello,

    We currently do not support code development for this device, so there is no sample code presently available.

    Best,

    Juan