Skip to main content
TTaka.19
Associate II
October 4, 2021
Solved

GPIO interrupt does not occur when STM32_WPAN middleware is enabled

  • October 4, 2021
  • 3 replies
  • 1228 views

​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?

This topic has been closed for replies.
Best answer by TTaka.19

Sorry.

The cause was that IPCC interrupts were not enabled.

3 replies

TTaka.19
TTaka.19AuthorBest answer
Associate II
October 5, 2021

Sorry.

The cause was that IPCC interrupts were not enabled.

LWChris
Associate III
November 30, 2021

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
TTaka.19Author
Associate II
December 1, 2021

Yes.

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

0693W00000GZZb6QAH.png