a. What are the steps necessary and/or minimum amount of data to be filled in the Fuel Gauge MPF42791 to get a SOC reading from SOC_PACK at 0x05AC ?
Datasheet mentions:
"[…] MCU to periodically update the fuel gauge’s
required inputs. This includes the cell voltages
(via the VRDG_CELLxx registers), current (via
the IRDG_CELLxx registers), and temperature
(via the TRDG_TSx registers). "
I have now configured FG to have 6S1P battery (default cell model).
My MCU application is writing voltage values to vrdg_cell1-6, irdg_cell 1-6 registries.
Including entire pack voltage VRDG_PACK and current IRDG_PACK.
Writing room temperature to TRDG_TS1-TRDG_TS4.
Of course sending EXEC_CMD 0x7FFE and confirming low state of FG_EXE_FLAG 0x0F00.
SOC returns 0.
b. If or how could I obtain/generate battery cell model for my 6S1P LiPo battery under use and configure the FG with it ?