Other Parts Discussed in Thread: BQSTUDIO
Tool/software:
The battery management studio outputs two "golden image" calibration files xxxx.ot.fs and xxxx.gm.fs
I see "ot" seems to stand for "one-time" flash stream - not sure what "one-time" is supposed to mean
and "gm" stands for "gauge mode" flash stream - again not sure what "gauge mode" means.
I can decode the "gauge mode" gm.fs file it shows programming of most of the subclasses for the bq27427 (but not all) - I create 'C' code array declarations from this for each subclass.
- It does not include the CC_CAL subclass registers, in particular CC Gain (Which isn't even mentioned in the bq27427 documentation)
- It does include a subclass 68 (Which is not mentioned in documentation for the bq27427, but is mentioned for the bq27421as a power register with settings to place it in HIBERNATE mode (The bq27424 does not have a HIBERNATE mode , only SLEEP which is controlled by the "Sleep Current" (Subclass 82, offset 23))
I can't make sense of the xxxx.ot.fs file - it seems to be writing to completely different registers.
There IS an option in BMS to include CC Gain in the xxxx.ot.fs file - but as I said I can't decode this.
Could you point me to information on how to interpret values in the xxx.ot.fs file ? (I know the W:, X: and C: commands, but the values don't make sense - W: 16?? )
Do I need to program values for subclass 68 (Power) for the bq27427 ?
How do I get BMS to output values for the CC Cal subclass ? (I already know I have to flip the sign on CC_Gain in order to get correct current and SoC measurements)
Thanks in advance for any help you can give.
David