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?
Attachment 3433
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?
Attachment 3433