E12 — Dual ADC fast interleaved
| ID | E12 |
| Date | 2026-12-02 |
| Status | done |
| Decisions | D89 (DECISIONS.md) |
| Board | #1 (rev A, 12 MHz crystals) |
| Firmware + results | fw/tests/2026-12-02-10-adcdual-v5f-flash (sources, binaries, results.txt) |
| Scripts | adcdual.py |
Summary: ADC1 + ADC2 interleaved at 11.43 MS/s, evenly spaced (80 MHz ADC clock, 1.5-cycle sampling); order verified, mismatch tone below the noise.
What
Both ADCs on the same pin in fast interleaved mode (DUALMOD 0111): ADC2 converts on the trigger, ADC1 7 ADC clocks later; one DMA stream of 32-bit pairs, re-ordered in time.
Results
- 11.428 MS/s at 80 MHz / 1.5 cycles (RP 100 kHz square: 114.28 samples/period); 9.80 / 8.57 / 6.86 MS/s at 68.6 / 60 / 48 MHz; all within 0.01 % of f_ADC / 7.
- 2.5 and 3.5-cycle sampling give 10.67 / 10.00 MS/s on average but uneven gaps (7/8 and 7/9 clocks).
- 143 rising edges, 0 order reversals; per-ADC offsets ±12 LSB, noise sd 3.5–9.6 LSB (the E11 clock-source noise), fs/2 mismatch tone ≤ 2.9 LSB.
Lesson
Check the sample spacing, not only the average rate.
Chip facts and numbers: fw/LEARNINGS.md. All experiments: index.