You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(rp2040): phase 2 — qualify PIO RX edge detection #3655
Implementation Phase 2 of #3648. Depends on Phase 1 (real PIO RX instantiation).
Scope
Implement duration-count edge detection in PIO using clk_sys and the input synchronizer. Handle level alternation, instruction-path timing bias, signal ranges, skipped signals, incomplete tails, capacity, overflow, wrap, and saturated edge times.
Empty capture and overflow states are distinct and truthful.
wait() yields without disabling the watchdog.
Attached-board gate
After an explicit GPIO jumper control, JSON-RPC must show armed/completed capture and correct level/count/min/mean/max duration for independent GPIO/PWM square waves at 1, 10, and 100 kHz. This qualifies only the RX oracle at those controls, not a production TX driver.
Completed by #3664 (merged as 2fda0c6): start-level-gated duration-counter PIO program, calibrated phase timing, glitch/skip/capacity/saturation handling, reset-tail completion, and host-tested decoding. Hardware compilation/bench evidence remains tracked separately in fbuild#1040 and the physical loopback issue #3631.
Activity
zackees commentedon Jul 15, 2026
Completed by #3664 (merged as 2fda0c6): start-level-gated duration-counter PIO program, calibrated phase timing, glitch/skip/capacity/saturation handling, reset-tail completion, and host-tested decoding. Hardware compilation/bench evidence remains tracked separately in fbuild#1040 and the physical loopback issue #3631.