SLUUBD4A April 2016 – November 2022 BQ27220
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | |
---|---|---|---|---|---|---|---|---|
High Byte | TEMPS | RSVD | BATG_POL | BATG_EN | RSVD | SLEEP | SLPWAKECHG | WRTEMP |
Default | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
0x04 | ||||||||
Low Byte | BIEnable | RSVD | BI_PUP _EN | PFC_CFG1 | PFC_CFG0 | WAKE_EN | WK_TH1 | WK_TH0 |
Default | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
0x04 |
High Byte | |
TEMPS = | When set to 1, the external thermistor is selected for Temperature() measurements. |
RSVD = | Reserved. Do not use. |
BATG_POL = | BAT_GD pin polarity control. Active-low is 0. Active-high is 1. |
BATG_EN = | Enables BATT_GD functionality |
RSVD = | Reserved |
SLEEP = | The fuel gauge can enter SLEEP, if operating conditions allow. True when set. |
SLPWAKECHG = | Accumulate estimated charge on wake from sleep when Current() > Sleep Current but not enough to trigger wake event. Enabled when set. |
WRTEMP = | Enables the temperature write. The temperature is expected to be written by the host and is used for gauging. Neither the external thermistor or internal temperature sensor is used. True when set. (May not be fully implemented.) |
Low Byte | |
BIEnable = | When enabled, the fuel gauge detects battery insertion using the TS pin. If disabled, the fuel gauge relies on the host to set and clear the BatteryStatus()[BATTPRES] bit using BAT_INSERT() or BAT_REMOVE() subcommands. True when set. |
RSVD = | Reserved. Do not use. |
BI_PUP_EN = | Battery insertion pin pull up enable |
PFC_CFG1, PFC_CFG0 = | Pin function code (PFC) mode selection: PFC 0, 1, 2, or 3 selected by 00, 01, 10, or 11, respectively (see Section 5.2.1, Pin Function Code (PFC) Descriptions). |
WAKE_EN,WK_TH1,WK_TH0 = | These bits configure the current wake function. See the BQ27220 System-Side CEDV Fuel Gauge Data Sheet (SLUSCB7) for threshold values. |