STM32F411RE: make other than EXTI0 interrupts working?

180 views Asked by At

I'm trying to get an external interrupt from a digital input (GPI) at the STM32F411RE (using the Nucleo-F411RE).

When doing this for PA0/EXTI0 in CubeMX, the generated code works well, whenever a rising edge is detected EXTI0_IRQHandler() is called which itself jumps into HAL_GPIO_EXTI_Callback() via the CubeMX-HAL-Code.

Now for an optimised wiring I want to use PA2/PA3 instead of PA0. And this is what not works for me: the CubeMX-generated code looks quite similar, it uses EXTI2/EXTI3 instead of EXTI0, but the related ISR and callback are never called.

So: is there anything special which needs to be kept in mind when using a non-EXTI0-interrupt on the STM32F?

Thanks!

0

There are 0 answers