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.

BQ40Z50-R2: Bit Register for Battery Mode is always HIGH [CHGM][AM]

Part Number: BQ40Z50-R2

Hi TI,

I have set the Initial Battery Mode for [CHGM] and [AM] to "0".

However, the [Chgm] and [AM] on the Bit Registers is still showing a "Bit High"

What should I do to set [Chgm] and [AM] low on the Bit register?

Thank you very much for the help!

Warm regards,

Lorenzo Madariaga

  • Hello Lorenzo,

    Did you send the reset command after changing the Initial Battery Mode register? Changes will not take effect until a reset and the gauge initializes the register.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    I did send a reset command, however the [CHGM] and [AM] was still showing a "bit high"

    I did a change and reset several times but the status did not change.

    Regards,

    Lorenzo Madariaga

  • Hello Lorenzo

    If you manually write the register to the proper setting are you able to? Can you share your .gg file?

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    This is where I did the changes.

    Under SBS Configuration --> Data --> Initial Battery Mode

    Here's the .gg.csv file of the battery pack.

    BQ40Z50_R2_4S1P_01.gg.csv

    Warm regards,

    Lorenzo

  • Hello Lorenzo,

    Sorry I meant did you try directly writing to the register to change the values? It is a read write value. Also make sure you click the "write to data memory button" after changing settings.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    I did change the Battery mode register value from 0x6001 to 0x0001 and both Chgm and AM was set to "LOW".

    However, when close and re-open the BMS Studio the values of Chgm and AM went back to "HIGH".

    This is what I did. I [UNSEAL] and [UNSEAL_FULL_ACCESS] the device first.

    Then I went to the Data Memory tab and went to the SBS Configuration -->  Initial Battery Mode.

    Change the value of CHGM and AM to low (green), then I clicked the "Write to Data Memory" button.

    Then I change the battery mode register value from 0x6001

    to a register value of 0x0001

    Then after that, I went to the Commands Tab and I pressed [RESET]. (I even pressed RESET several times)

    Then, I restarted the Battery Management Studio.

    Surprisingly upon restarting the BMS Studio, the values of Chgm and AM went  back to "HIGH"

    Please advice on how could I permanently set the value of Chgm and AM to "LOW".

    Thank you very much for the help!

    Warm regards,

    Lorenzo Madariaga

  • Hello Lorenzo,

    The Battery Mode register is basically just for the host to reference and is defined as part of the SBS specification. If you want to actually change the modes associated with the broadcasting to enable it in the gauge you must use the BCAST bit. After setting it and doing a RESET the bits should change to reflect the actual setting in the gauge.

    Sincerely,

    Wyatt Keller

  • Hi Wyatt,

    Thank you very much for the help!

    With the BCAST enabled, I was able to permanently set CHGM and AM at "LOW"

    Warm regards,

    Lorenzo Madariaga