Post Go back to editing

Setting question when using LTC2949

Hello

This is the setting question when using LTC2949 chipset.

I thought if I set RS1GC, RS2GC or BATGC, I could read BAT value or I1 or I2 value as compensated value.

However, it does not seem to change(1.609) even if you change the GC value.

Below is the linduino SPI log of the BAT value when changing the BATGC value.

(For setup function, only the 100ms continuous measurement setting and the BATGC setting are performed. )

Which part did I set wrong?

<<LOG 1>>

Serial Start
Time : 0
tDut,I1,P1,BAT,Tntc,TIC,fI2,fBAT,fifoCnt,fifoI2Avg,fifoBATAvg,OK/ERR
-WakeUpReportStatus-LTC2949_WakeupAndAck
{}DW:{}{0xFE,0xFF,0x9E,0x08,0x40,0x80,0x64,0x26,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
DW:{0xFE,0x70,0x95,0xDA,0x40,0x00,0x20,0x00,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
WakeUpReportStatus-LTC2949_ReadChkStatusFaults
,OK

page change 0 to 1.

DR:{}{0xFE,0xFF,0x9E,0x08,0x80,0x80,0x64,0x26,}OK
DW:{0xFE,0xFF,0x9E,0x08,0x40,0x81,0xEF,0x14,}OK
DR:{0xFE,0xFF,0x9E,0x08,0x80,0x81,0xEF,0x14,}OK

SET THE BATGC 

DR:{0xFE,0xB9,0x55,0x4A,0x86,0x40,0x00,0x00,0xD6,0xE0,}OK
DW:{0xFE,0xB9,0x55,0x4A,0x46,0x40,0x00,0x00,0xD6,0xE0,}OK
DR:{0xFE,0xFF,0x9E,0x08,0x80,0x81,0xEF,0x14,}OK
DW:{0xFE,0xFF,0x9E,0x08,0x40,0x80,0x64,0x26,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
Setup END

 

 

1th Loop Start
DR:{}{0xFE,0x0C,0xC6,0xB2,0x83,0x02,0x3F,0xA3,0x67,0x6A,0xD0,}OK
TB1 value is changed!!
DR:{0xFE,0xA0,0x6D,0x58,0x85,0x10,0xC2,0xE4,0x68,}OK
BATT : 1.609


2th Loop Start
DR:{}{0xFE,0x0C,0xC6,0xB2,0x83,0x02,0x3F,0xAD,0x42,0x32,0x12,}OK
TB1 value is changed!!
DR:{0xFE,0xA0,0x6D,0x58,0x85,0x10,0xC2,0xE4,0x68,}OK
BATT : 1.609

<< LOG 2>>

Serial Start
Time : 0
tDut,I1,P1,BAT,Tntc,TIC,fI2,fBAT,fifoCnt,fifoI2Avg,fifoBATAvg,OK/ERR
-WakeUpReportStatus-LTC2949_WakeupAndAck
{}DW:{}{0xFE,0xFF,0x9E,0x08,0x40,0x80,0x64,0x26,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
DW:{0xFE,0x70,0x95,0xDA,0x40,0x00,0x20,0x00,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
WakeUpReportStatus-LTC2949_ReadChkStatusFaults
,OK

page change 0 to 1.

DR:{}{0xFE,0xFF,0x9E,0x08,0x80,0x80,0x64,0x26,}OK
DW:{0xFE,0xFF,0x9E,0x08,0x40,0x81,0xEF,0x14,}OK
DR:{0xFE,0xFF,0x9E,0x08,0x80,0x81,0xEF,0x14,}OK

SET THE BATGC 


DR:{0xFE,0xB9,0x55,0x4A,0x86,0x40,0x80,0x00,0xA6,0xF4,}OK
DW:{0xFE,0xB9,0x55,0x4A,0x46,0x40,0x80,0x00,0xA6,0xF4,}OK
DR:{0xFE,0xFF,0x9E,0x08,0x80,0x81,0xEF,0x14,}OK
DW:{0xFE,0xFF,0x9E,0x08,0x40,0x80,0x64,0x26,}OK
DR:{0xFE,0xF0,0xD1,0xFC,0x80,0x08,0xC8,0x0E,}OK
Setup END

1th Loop Start
DR:{}{0xFE,0x0C,0xC6,0xB2,0x83,0x02,0x48,0x53,0xA2,0xFD,0x96,}OK
TB1 value is changed!!
DR:{0xFE,0xA0,0x6D,0x58,0x85,0x10,0xC2,0xE4,0x68,}OK
BATT : 1.609


2th Loop Start
DR:{}{0xFE,0x0C,0xC6,0xB2,0x83,0x02,0x48,0x5D,0x7E,0x88,0xB6,}OK
TB1 value is changed!!
DR:{0xFE,0xA0,0x6D,0x58,0x85,0x10,0xC2,0xE4,0x68,}OK
BATT : 1.609



log change
[edited by: jhlee at 9:41 AM (GMT -5) on 4 Mar 2021]