Current, Power & ADC
Texas Instruments BQ27441-G1 in the datasheet corpus
Impedance Track single-cell Li-Ion battery fuel gauge reporting SoC, voltage and average current.
VendorTexas InstrumentsCurrent, Power & ADC
InterfaceI2C0x55 (fixed)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus (battery-bms class) for wearable low-battery shutdown testing.
| Driver reference | Zephyr ti,bq274xx / SparkFun BQ27441 |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x00-0x01 | Control() | Subcmd 0x0001=0x0421 | Control subcommands (DEVICE_TYPE returns 0x0421) |
0x04-0x05 | Voltage() | mV (u16 LE) | Cell voltage in millivolts |
0x1C-0x1D | StateOfCharge() | 0..100 % | Predicted remaining battery percentage |
0x10-0x11 | AverageCurrent() | mA (i16 LE) | Signed charge/discharge current |
Attach with ct CLI
Shell - run firmware with BQ27441-G1
# Run compiled firmware with BQ27441-G1 attached on nrf52840-dk
ct run --json --board nrf52840-dk --device bq27441-g1 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/bq27441-g1.xml tests/bq27441-g1-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/bq27441-g1-fault.suite.yaml
version: 1
board: nrf52840-dk
firmware: build/app.elf
tests:
- name: bq27441-g1-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x55
count: 2
- at_ms: 140
part: bq27441-g1
kind: frozen_reading
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0