False pin Interrupt triggering due to noise

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hello,

I am using pin interrupt for detecting rising edge signal with large hysteresis.
When input signal is solid high then MCU gets rising edge pulse and it stays high all the time.
But when MCU gets falling edge signal it goes down for some time but then it gets noisey and moves up and down which triggers interrupt constantly.
My question is how can i filter this noise signal in software so that it will not trigger rising edge interrupt for noisy signal?
3093.attach
0 Likes
2 Replies
ShRo_4396701
Level 1
Level 1
Did you ever get an answer to this? I'm having the same issue.
0 Likes
User11773
Level 4
Level 4
First like received First solution authored
Bad idea to connect a potentially noisy signal to an interrupt pin. Its unbounded. Imagine noise edge rates faster than interrupt response time.
0 Likes