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.

BQ27426: Host set temperature

Part Number: BQ27426
Other Parts Discussed in Thread: BQSTUDIO

Hi,

We are still evaluating bq27426 for our next design and we have a problem setting the temperature for the batteries. We are measuring the battery temperature on our host processor and want to bypass the internal sensor and the termistor. We are trying to do this in Battery manegement studio. We have set the correct bits in the OPCONFIG register and we have unsealed it. But when trying to set the temperature we get no ACK from the I2C.

Thank you for your help,

Martin

  • Hi Martin,

    So by setting [TEMP S1] =1 ,[TEMP S0] = 0 in OP Config, you will be able to write battery temperature that your MCU measures from your external sensor to bq27426 gauge using bqStudio as follow:

    say measured temp = 25C, you need to convert it to Kelvin by adding 273.15 then multiplying by 10 to get approx. 2982, bq27426 gauge uses 0.1 Kelvin as a unit for temperature measurement , then convert it to HEX (2982 = 0x0BA6), use the Temperature() command to write this value to the gauge to be used in gauging calculation by using Advance Comm tab:

    I2C Address (Hex) = aa

    Start Register (Hex) = 02

    Bytes to Write (Hex) = A6 0B 

    then your gauge will use this temperature for gauging calculation and you will be able to see it on bqStudio left panel as shown in screen capture below.

     

    Regards,

    Haidar