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

GPIOTE low accuracy interrupts configuration for more than one input pin

Hello, I have a problem with the configuration of GPIOTE low accuracy pin interrupts. My code is running on nRF52832 and already uses ble stack, PWM1 and PWM2 instances with TIMER1 and TIMER2 accordingly, SAADC, TWI0, wdt driver and RTC2 instance with nrf_clock used. I would like to use three input pins for waking up the uC; touch sensor, charger's standby indicator and the user's button. Everything works fine when using high accuracy mode for the pins configurations. It also works properly, when touch sensor and charger stdby pins are low accuracy and the button's pin is high accuracy, but the problem occurs when the button's pin is set to low accuracy. With this configuration, only the button makes code step into GPIOTE_IRQHandler, like interrupts from the other two pins were locked. I am struggling with this problem since yesterday, it seems like not the count of low accuracy pins is a problem, but the exact button's pin. I tried to change the button's pin number with no effect. I need this low accuracy mode for power saving.

In a brief; touch sensor and charger's stdby configured as low accuracy, button as high and everything works fine, but whenever button is set to low accuracy, it locks any other low accuracy pin's interrupts. Any ideas? Thank you!

Parents Reply Children
No Data
Related