This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

GPIOTE_IRQHandler does not execute

Hi all,

I have some problems with GPIO Interrupts.

I'm using nrf52832, s132 and sdk 12.2

The error is totally random so I don't know why is generated. The case is I have 3 pins that I configure with app_button_init and 2 pins that I configure directly with gpiote driver.

The sequence is this:

  • All interrupts work fine
  • normal execution of interruptions for each pin
  • the interruption of pin1 works fine until the error occurs. When the error occurs, pin1 = 0 (pin1 is configured with gpiote driver), and this should activate the interruption for this pin, but the interruption does not execute, at this point GPIO interruptions does not work (GPIOTE_IRQHandler does not execute) except when the same pin1 is set to '1', that seems that restablish the interruptions and the next time the pin1 = 0, the interruption of this pin and all the rest activates well.
  • during the GPIO interruption doesn't work, bluetooth, timers and the rest of the execution of the code works fine.

Do you have any idea why this can happen? Is it possible that it has something to do with activating two interrupts at the same time?

Thanks in advance,

Aida

Parents Reply Children
No Data
Related