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: provisional I2C 0x36 (fixed)

Vendor Analog Devices / Maxim Current, Power & ADC

Interface I2C 0x36 (fixed)

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

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

| Driver reference  | Zephyr maxim,max17048 / Adafruit MAX1704X                                                                                                       |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| 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](https://circuittwin.ai/docs/twin-generation)).                    |

## Key registers & reset values

| Address / Field | Register | Reset / Expected | Purpose                                             |
| --------------- | -------- | ---------------- | --------------------------------------------------- |
| 0x02-0x03       | VCELL    | 78.125 uV/LSB    | 16-bit big-endian cell voltage reading              |
| 0x04-0x05       | SOC      | 1/256 %/LSB      | High byte is integer %; low byte is fractional %    |
| 0x08-0x09       | VERSION  | 0x001x           | Production IC version register                      |
| 0x0C-0x0D       | CONFIG   | 0x971C           | RCOMP, 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

[Board: feather-nrf52840-express](https://circuittwin.ai/boards/feather-nrf52840-express) [Board: esp32c3-devkitm](https://circuittwin.ai/boards/esp32c3-devkitm) [Board: seeed-xiao-nrf52840](https://circuittwin.ai/boards/seeed-xiao-nrf52840) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in Current, Power & ADC

[ADS1015 (Texas)](https://circuittwin.ai/twins/ads1015) [ADS1115 (Texas)](https://circuittwin.ai/twins/ads1115) [ADS1220 (Texas)](https://circuittwin.ai/twins/ads1220) [ADS1256 (Texas)](https://circuittwin.ai/twins/ads1256) [BQ27441-G1 (Texas)](https://circuittwin.ai/twins/bq27441-g1) [HX711 (Avia)](https://circuittwin.ai/twins/hx711)

> ## Inject MAX17048 bus faults in CI
>
> Wire MAX17048 onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
