Current, Power & ADC

Microchip MCP4725 in the datasheet corpus

Single-channel 12-bit rail-to-rail voltage-output DAC with onboard EEPROM over I2C.

standing: provisionalI2C0x60-0x67 (A0 pin + factory A2:A1)
VendorMicrochipCurrent, Power & ADC
InterfaceI2C0x60-0x67 (A0 pin + factory A2:A1)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (adc-dac class) for analog actuator setpoint and EEPROM persistence tests.

Driver referenceZephyr microchip,mcp4725 / Adafruit MCP4725
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
Fast WriteC2=0 C1=02-byte writeUpdates 12-bit DAC latch directly without EEPROM write
0x40 / 0x60WRITE_DAC / EEPROM3-byte writeWrites DAC register alone or DAC plus non-volatile EEPROM
Read 5BSTATUS + DAC + EERDY bit [7]Returns EEPROM busy flag, current DAC code and stored code

Attach with ct CLI

Shell - run firmware with MCP4725
# Run compiled firmware with MCP4725 attached on arduino-uno
ct run --json --board arduino-uno --device mcp4725 build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/mcp4725-fault.suite.yaml
version: 1
board: arduino-uno
firmware: build/app.elf
tests:
  - name: mcp4725-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x60
        count: 2
      - at_ms: 140
        part: mcp4725
        kind: frozen_reading
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Current, Power & ADC