This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GPIO/GPIOTE interrupts not triggered at every event

Hi,

My goal is to generate a GPIO or GPIOTE interrupt and inside the ISR sample 8-bits from GPIO.

I tried modifying two sample projects to achieve this, the NRFX and the button projects, but I got similar results from both. I started by toggling a pin inside the ISR to check if the ISR is triggered for every event and I found that it is not happening for higher frequencies.

See some examples below of various input frequencies to the GPIOTE pin and toggling another pin in the GPIOTE_ISR.

2 MHz input signal

500 kHz input signal

100 kHz input signal

50 kHz input signal

10 kHz input signal

Is this an expected result? Can it be improved?

Thank you.

Parents
  • Also, my application requires that the pin p1.15 be the one configured to trigger the GPIOTE IN interrupts. At the NRFX example when I modified the input pin at the .overlay file I noticed that no interrupt was triggered at all. I tried modifying some values at the IRQ_CONNECT() function without any success. What should I change to generate interrupts from events at the p1.15 pin?

Reply
  • Also, my application requires that the pin p1.15 be the one configured to trigger the GPIOTE IN interrupts. At the NRFX example when I modified the input pin at the .overlay file I noticed that no interrupt was triggered at all. I tried modifying some values at the IRQ_CONNECT() function without any success. What should I change to generate interrupts from events at the p1.15 pin?

Children
No Data
Related