Skip to content

DMM-guided calibration: calibrate_dac, calibrate_adc_gain, partial clear - #48

Merged
wardviaene merged 4 commits into
mainfrom
dmm-calibration
Oct 20, 2026
Merged

wardviaene merged 4 commits into
mainfrom
dmm-calibration

Conversation

@wardviaene

@wardviaene wardviaene commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

SDK and MCP side of the DMM-guided pod calibration (firmware embeddedci-com/benchpod-firmware#61, design docs/benchpod-dmm-calibration.md).

SDK (embeddedci 2.13.3, unreleased; 2.13.2 ships without this. Do not merge before the firmware with cal_dmm, fw#61, is decided)

  • BenchPod.calibrate_dac(path, [(code16, volts), (code16, volts)]): this pod's own DAC line from two DMM readings of set points driven with dac_output.
  • BenchPod.calibrate_adc_gain(source): cal1, cal2 or ext through a loopback; Calibration.measured says what it saw.
  • clear_calibration(part=None): offset, dac or adc.
  • Calibration.dac (DacLine), adc_gain_ppm, dmm, measured, zero_count (the raw J8-open zero the pod now stores and derives its offset from, fw#61); Capabilities.cal_dmm; BenchPod.DMM_SET_POINTS; types DacCalPath, AdcGainSource, CalibrationPart.
  • The cloud transport's read-form check treats dac/adc/partial clear as writes, so they are never repeated after an edge error.

MCP (embeddedci-mcp 2.13.3): tools calibrate_dac, calibrate_adc_gain; calibrate takes clear_part; calibration reports the DMM parts.

Docs: package READMEs ("Calibrating with a DMM"), API reference rows, changelogs. Tests: fake-pod unit tests for both packages, API and tool surface snapshots updated.

🤖 Generated with Claude Code

wardviaene and others added 4 commits October 19, 2026 17:05
SDK: BenchPod.calibrate_dac(path, [(code16, volts), ...]) stores this
pod's own DAC line from two DMM readings, calibrate_adc_gain(source)
measures an ADC gain through a loopback, clear_calibration(part) clears
one part. Calibration gains dac (DacLine), adc_gain_ppm, dmm, measured;
Capabilities.cal_dmm. The cloud transport treats the new write forms as
writes (never repeated). MCP: tools calibrate_dac, calibrate_adc_gain;
calibrate clear_part. Docs and changelogs (2.13.2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s without it)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…(fw#61 stores raw measurements)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s DMM calls

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit 849c082 into main Oct 20, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant