DEBUGMISSION 019 · ADC · Acquisition settlingIntermediate

The ADC Works Until You Change Channels

Each channel measures correctly by itself. When the scan alternates from a low-impedance 3.0 V signal to a 47 kΩ, 0.5 V sensor, the first readings are high and then decay. Diagnose the memory and release an acquisition plan inside both accuracy and throughput limits.

Requirements

ADC · 12 bit / 3.3 VClock · 12 MHzSample capacitor · 12 pFSources · A 100 Ω / B 47 kΩRequired · ≥10 kpair/s
  1. 01Build the acquisition plan
  2. 02Verify channel switching
Circuit overview

Shared acquisition path

ADC multiplexer and sample capacitorChannel A is 3.0 V through 100 Ω; Channel B is 0.5 V through 47 kΩ. They share a multiplexer and a 12 pF sample capacitor.CHANNEL A3.0 VCHANNEL B0.5 VR SOURCE A100 ΩR SOURCE B47 kΩMUXS SAMPLECSAMPLE12 pFADC12 BITThe sample capacitor retains charge from the previous channel.

The 12 pF and 47 kΩ values are the supplied worst-case acquisition model. Conversion time is 12.5 ADC cycles. The accepted error is half of one 12-bit LSB. Channel A has a supplied 100 Ω source; Channel B has 47 kΩ. Each transition uses the newly selected channel's source resistance with the 12 pF sample capacitor and the full 2.5 V step. This is a lumped conservative RC model. Real release work must use the exact MCU sampling-switch/input resistance, sampling capacitance, leakage, parasitics, ADC clock tolerance, and source dynamics.

Circuit and case data
Circuit and case data
A→B / Channel B acquisitions
S10.773 V
S20.530 V
S30.503 V
S40.500 V

Bars show the first four Channel B acquisitions after Channel A. Only the sample after the selected discard count is retained. With incomplete settling, each new acquisition begins closer to the target than the one before it.

Acquisition model
First-sample error272.53 mVA→B retained error272.526 mVB→A retained error0.000 mVHalf-LSB limit0.403 mVPair rate218.2 k/s

Residual error = channel step × e−t/(RsourceCsample). Repeated discarded acquisitions apply the same settling factor again. One pair contains one retained Channel A conversion and one retained Channel B conversion. Discards apply only before retaining Channel B, so each pair consumes discard + 2 conversions. Both retained channels use the selected sample time.

Evidence notebook 0 saved

No evidence saved yet. Measure, inspect the result, then save useful observations.

Current task
Current task

Step 1 of 2

Build the acquisition plan

0 evaluated decisions · Draft and verification saved locally
Technical references