Comparator Generating Multiple Interrupts | Cypress Semiconductor
Support & Community
Comparator Generating Multiple Interrupts
My comparator is triggering multiple interrupts. What could be the reason and how to prevent the same?
The multiple comparator triggering is caused by noise at the comparator signal inputs (either signal or reference). Because of this noise, the output of the comparator will oscillate when the input is near the reference threshold. This oscillation will generate multiple interrupts on the comaprator bus. The best way to eliminate this problem is to use the hysteresis comparator. For more information please refer to the following application notes.
AN2310 - Comparator with Independently Programmable Hysteresis Thresholds
AN2156 - A Switched Capacitor Comparator with Programmable Hysteresis