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.

BQ27427: definition of bqStudio gauge's log

Part Number: BQ27427
Other Parts Discussed in Thread: BQSTUDIO

Hi,

We are building Linux kernel driver for BQ27427 base on bq27xxx_battery.c, and we would like to export gauge's data to kernel log, just like bqStudio gauge's log.

Tue Apr 30 17:22:26 CST 2024

Device Version Info = 0427_2_02
BQZ Device Name = bq27427
BQZ Firmware Version = 2_02


Sample,DateTime,ElapsedTime,Control,CtrlStatus,Temperature,Voltage,Flags,NomAvailCap,FullAvailCap,RemCap,FullChgCap,AvgCurrent,Qmax,AvgPower,Present DOD,StateOfChg,Int Temp,SOH,OCVCurrent,OCVVoltage,SimultCurrent,RemCap UnFlt,RemCap Flt,FullChgCap UnFlt,FullChgCap Flt,True StateOfChg,DOD0,DOD at EOC,True RemCap,Passed Charge,Qstart,DOD_Final,LogRowTime(ms),LogStatus
1,2024-04-30 17:22:30,4.033,0x0202,0x039A,-21.45,3804,0x418C,147,415,24,292,0,416,0,10560,9,-21.45,100,0,3790,0,23,24,291,292,8,10560,0,23,0,268,11466,832,SUCCESS
2,2024-04-30 17:22:34,8.002,0x0202,0x039A,-21.45,3804,0x418C,147,415,24,292,0,416,0,10560,9,-21.45,100,0,3790,0,23,24,291,292,8,10560,0,23,0,268,11466,832,SUCCESS

Could you tell us how Qmax,SOH,OCVVoltage, Passed Charge these 4 items come form?

Does these items has register can read?

Regards, 

Peter.