Skip to the content.

E1 — Gapless DVP capture of the RP counter

   
ID E1
Date 2026-12-02
Status done
Decisions D81 (DECISIONS.md)
Board #1 (rev A, 12 MHz crystals)
Firmware + results fw/tests/2026-12-02-4-dvp-gapless (sources, binaries, results.txt)
Scripts dvpcap.py

Summary: CH32 DVP + DMA ping-pong captures the RP PIO counter bit-exact and gapless up to 75 MS/s.

What

RP PIO counter (D0–D9 + PCLK) → capture switch → CH32 DVP in 10-bit JPEG mode with DMA ping-pong; check for gaps.

Results

Lesson

When a peripheral stays silent, flip one input at a time while it is armed.

Chip facts and numbers: fw/LEARNINGS.md. All experiments: index.