You are here

Comparator Generating Multiple Interrupts | Cypress

Support & Community

Comparator Generating Multiple Interrupts

Last Updated: August 03, 2012
Question: 

My comparator is triggering multiple interrupts. What could be the reason and how to prevent the same?

Answer: 

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

AN2161 - Voltage to Frequency Converter

AN2156 - A Switched Capacitor Comparator with Programmable Hysteresis

Knowledge Base Tags: 

Provide feedback on this article

To protect your privacy, do not include contact information in your feedback.

Browse KB By Product

Browse KB by Type