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.

BQ41Z50: Confusion about the relationship between InitialBatteryMode and BatteryMode register, and ability to change BatteryMode on the fly

Part Number: BQ41Z50
Other Parts Discussed in Thread: EV2400, BQSTUDIO, , , BQ27520EVM, BQ40Z50

Tool/software:

Note - all references to issuing commands and displaying data refer to the use of BQStudio and an EV2400.

Also just to provide context, I have a BQ27520EVM connected to a BQ41Z50EVM, and my ultimate goal is to see the BQ41Z50 send ChargingCurrent() and ChargingVoltage() commands that the BQ27520 then acts on.

My expectation would be that if I program something into the InitialBatteryMode register, and issue a RESET command to the BQ41Z50, I would then see the new settings reflected in the BatteryMode register.

I am not seeing this behavior, at least with regards to the ChgM and AM bits.

They are showing on (red) in BatteryMode (Registers tab) even though they are off in InitialBatteryMode.

Further, if I attempt to turn the bits off from the Register tab (by changing the hex value) it looks like it worked, but if I do a refresh I see the ChgM and AM bits come back on.

1. Is editing register values directly on the Registers tab a valid thing to be doing? (I can see the command being sent over the I2C/SMS bus using a logic analyzer, so it seems reasonable)

2. Is there some reason the BQ41Z50 would turn the ChgM and AM bits back on? (which INHIBITS sending these broadcasts).

Note that I have set the BCAST bit in the Settings:Sbs Configuration register. My assumption is that BCAST has to be set to send any automatic broadcasts, and the ChgM and AM bits provide finer grained control.