Current, Power & ADC
Microchip MCP4725 in the datasheet corpus
Single-channel 12-bit rail-to-rail voltage-output DAC with onboard EEPROM over I2C.
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 reference | Zephyr microchip,mcp4725 / Adafruit MCP4725 |
|---|---|
| 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 |
|---|---|---|---|
Fast Write | C2=0 C1=0 | 2-byte write | Updates 12-bit DAC latch directly without EEPROM write |
0x40 / 0x60 | WRITE_DAC / EEPROM | 3-byte write | Writes DAC register alone or DAC plus non-volatile EEPROM |
Read 5B | STATUS + DAC + EE | RDY 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.yamlFault-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