Using GPIO interrupts
I've done some more testing and now the behavior is a bit different:

- The pin doesn't generate constant FALLING interrupts when pulled to ground
- However, when I touch the pin while the switch is open, it still picks up EMI and generates interrupts even though I have the 10k pull-down resistor connected, and I also tried it with the built-in pull-down - same results
- When I toggle the switch, the pin bounces (as expected) but generates several RISING/FALLING interrupts in a row (as before)

So my questions now are:
- Why does the pin pick up signals from my body despite the fact that I have pull-down resistors? How can I prevent this from happening? I'm probably asking at the wrong forum, but has anyone had a situation similar to mine?
- Is it normal that I register several interrupts with the same edge in a row? Common sense suggests that I can only get a FALLING interrupt after a RISING interrupt, but instead I get multiple RISING interrupts one after the other. I might be wrong, please correct me if so

Messages In This Thread
Using GPIO interrupts - by antonlyap - 06-30-2021, 06:39 AM
RE: Using GPIO interrupts - by antonlyap - 06-30-2021, 01:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GPIO on the RockPro64 - all pins high? colinmarc 2 217 11-18-2022, 10:20 AM
Last Post: colinmarc
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 2,486 07-18-2022, 10:05 PM
Last Post: zer0sig
  GPIO performance 100x slower compared to Raspberry Pi 3 axelf 9 7,044 08-19-2020, 04:41 PM
Last Post: Gienek
  GPIO in sleep mode Mentaluproar 2 2,537 04-08-2019, 03:50 PM
Last Post: Mentaluproar

Forum Jump:

Users browsing this thread: 1 Guest(s)