Not applicable
Apr 17, 2018
07:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 17, 2018
07:48 AM
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?
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?
- Tags:
- IFX
2 Replies
Mar 30, 2021
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 30, 2021
07:15 AM
Did you ever get an answer to this? I'm having the same issue.
Mar 30, 2021
08:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 30, 2021
08:16 AM
Bad idea to connect a potentially noisy signal to an interrupt pin. Its unbounded. Imagine noise edge rates faster than interrupt response time.