Hi,
I'm working on a project originally based on the light switch example of SDK 1.0.0 and then upgraded to Mesh_SDK 2.0.1 and nRF5_SDK_15.0.0
I use the code shown in this post to detect 3 HW Interrupts. The problem is, that the gpiote_evt_handler is never called.
When I copy the code to the original light-switch example (main.c) it works fine. GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS in sdk_config.h is set to 4
In my project, there is a simple_hal.c (from Nordic) and in that simple_hal.c there is an Interrupt handler (void GPIOTE_IRQHandler(void)). This handler is called
when an Interrupt occurs. What could be the reason, that the gpiote_evt_handler is never called?
The Pins used are:
#define WHEEL_A_SIG_PIN NRF_GPIO_PIN_MAP(0,25)
#define WHEEL_B_SIG_PIN NRF_GPIO_PIN_MAP(0,24)
#define WHEEL_BUTTON_PIN NRF_GPIO_PIN_MAP(0,11)
Regards
Gerry