External Interrupt Triggers Multiple Times from One Event
Posted: Tue Apr 28, 2026 8:12 am
Hello everyone,
I connected a comparator output to an MCU external interrupt pin. One threshold crossing should generate a single interrupt, but sometimes multiple interrupts occur from one event.
The input signal has some noise near the threshold.
Questions:
Would comparator hysteresis be the correct hardware fix?
Should I also debounce the interrupt in firmware?
On the PCB side, should comparator reference traces be isolated from noisy digital return currents?
I connected a comparator output to an MCU external interrupt pin. One threshold crossing should generate a single interrupt, but sometimes multiple interrupts occur from one event.
The input signal has some noise near the threshold.
Questions:
Would comparator hysteresis be the correct hardware fix?
Should I also debounce the interrupt in firmware?
On the PCB side, should comparator reference traces be isolated from noisy digital return currents?