Skip to content

OQ2 · ESP32 capture jitter: hardware capture vs GPIO interrupts #2

Description

@perfilev-dev

Open question #2 in docs/architecture.md §11. Shares the bench rig with #1.

Problem. GPIO interrupts under the Arduino framework can jitter by tens of µs or worse under load. The design assumes hardware capture (RMT/MCPWM on ESP32-S3) reduces capture jitter to noise — decision D13, status bench validation pending.

Test plan

  • Feed the rig's optocoupler output to an ESP32-S3 DevKit (BOM 2.1).
  • Compare capture methods: main-loop polling (baseline), GPIO interrupt, RMT capture, MCPWM capture.
  • Each with WiFi/BT disabled (design state) and enabled (worst case), against the logic analyzer's ground truth.

Pass criteria. Capture jitter ≪ the 1 ms system target — expected single-digit µs with hardware capture. Document actual numbers per method.

Gates D13 and the MCU choice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    firmwareESP32 node and tree firmwarehelp wantedExtra attention is neededvalidationBench validation of open questions (architecture.md §11)

    Type

    No type

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions