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.