cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO interrupt does not occur when STM32_WPAN middleware is enabled

TTaka.19
Associate II

​I am using P-NUCLEO-WB55.

I set 3 buttons (SW1 / SW2 / SW3) to GPIO_EXTI. I confirmed that an interrupt is generated when the button is pressed.

After that, if the middleware STM32_WPAN (BLE) is enabled, no interrupt will occur even if the button is pressed.

How can I use GPIO interrupts with STM32_WPAN enabled?

1 ACCEPTED SOLUTION

Accepted Solutions
TTaka.19
Associate II

Sorry.

The cause was that IPCC interrupts were not enabled.

View solution in original post

3 REPLIES 3
TTaka.19
Associate II

Sorry.

The cause was that IPCC interrupts were not enabled.

LWChris
Associate III

Hi, it seems like I have a very similar problem, but I'm not using the STM32_WPAN middleware, yet GPIO interrupts are very unreliably triggered. I would like to try your solution, but where do you enable those IPCC interrupts? I went to System Core > IPCC, set it to "Activated" and checked both checkboxes in Configuration, but that didn't make a difference at all. Anything else you did for your solution?

TTaka.19
Associate II

Yes.

I selected "System Core"-> "IPCC" and checked "Activated" to enable IPCC. Then pressing the switch will generate a GPIO interrupt.

0693W00000GZZb6QAH.png