Current, Power & ADC

Analog Devices / Maxim MAX17048 in the datasheet corpus

ModelGauge 1-cell Li-Ion fuel gauge with ultra-low 23 uA quiescent draw and ALRT interrupt.

standing: provisionalI2C0x36 (fixed)
VendorAnalog Devices / MaximCurrent, Power & ADC
InterfaceI2C0x36 (fixed)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (battery-bms class) for low-SoC alert and quick-start checks.

Driver referenceZephyr maxim,max17048 / Adafruit MAX1704X
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x02-0x03VCELL78.125 uV/LSB16-bit big-endian cell voltage reading
0x04-0x05SOC1/256 %/LSBHigh byte is integer %; low byte is fractional %
0x08-0x09VERSION0x001xProduction IC version register
0x0C-0x0DCONFIG0x971CRCOMP, sleep mode and empty-battery alert threshold

Attach with ct CLI

Shell - run firmware with MAX17048
# Run compiled firmware with MAX17048 attached on feather-nrf52840-express
ct run --json --board feather-nrf52840-express --device max17048 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/max17048.xml tests/max17048-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/max17048-fault.suite.yaml
version: 1
board: feather-nrf52840-express
firmware: build/app.elf
tests:
  - name: max17048-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x36
        count: 2
      - at_ms: 140
        part: max17048
        kind: register_override
        register: 0x08
        value: 0xFF
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Current, Power & ADC