Datasheet

I
2
C interface STC3115
22/31 DocID023755 Rev 4
7.2 Register map
7.2.1 Register map
The register space provides 28 control registers, 1 read-only register for device ID, 16
read/write RAM working registers reserved for the gas gauge algorithm, and 16 OCV
adjustment registers. Mapping of all registers is shown in
Table 12. Detailed descriptions of
registers 0 (REG_MODE) and 1 (REG_CTRL) are shown in Table 13 and Table 14. All
registers are reset to default values at power-on or reset, and the PORDET bit in register
REG_CTRL is used to indicate the occurrence of a power-on reset.
Table 12. Register map
Name
Address
(decimal)
Type POR
Soft
POR
Description LSB
Control registers 0 to 23
REG_MODE 0 R/W Mode register
REG_CTRL 1 R/W Control and status register
REG_SOC 2-3 R/W Gas gauge relative SOC 1/512%
REG_COUNTER 4-5 R 0x00 0x00
Number of conversions
(2 bytes)
REG_CURRENT 6-7 R 0x00 0x00
Battery current value
(2 bytes)
5.88 µV
REG_VOLTAGE 8-9 R 0x00 0x00
Battery voltage value
(2 bytes)
2.2 mV
REG_TEMPERATURE 10 R 0x00 0x00 Temperature data 1 °C
REG_CC_ADJ_HIGH 11 R/W 0x00 0x00
Coulomb counter adjustment
factor
1/2%
REG_VM_ADJ_HIGH 12 R/W 0x00 0x00
Voltage mode adjustment
factor
REG_OCV 13-14 R/W 0x00 0x00 OCV register (2 bytes) 0.55 mV
REG_CC_CNF 15-16 R/W 395 395
Coulomb counter gas gauge
configuration
REG_VM_CNF 17-18 R/W 321 321
Voltage gas gauge algorithm
parameter
REG_ALARM_SOC 19 R/W 0x02 0x02
SOC alarm level
(default = 1%)
1/2%
REG_ALARM_VOLTAGE 20 R/W 0xAA 0xAA
Battery low voltage alarm
level (default is 3 V)
17.6 mV
REG_CURRENT_THRES 21 R/W 0x0A 0x0A
Current threshold for the
relaxation counter
47.04 µV
REG_RELAX_COUNT 22 R 0x78 0x78 Relaxation counter
REG_RELAX_MAX 23 R/W 0x78 0x78
Relaxation counter max
value
REG_ID 24 R 0x14 0x14 Part type ID = 14h