cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411RE: EXTI3 interrupt does not work

BSchm.6
Associate III

Hi,

when configuring PA0/EXTI0 interrupt in CubeMX, the related code works well: when PA0 pin is toggeled, the ISR is called and following up from this, the code jumps into HAL_GPIO_EXTI_Callback().

But when doing the same with PA2/EXTI2 or PA3/EXTI3 this does not work any more. Although configured the same in CubeMX and although the generated code looks quite similar, the EXTI2/3_IRQHandler() and resulting from that HAL_GPIO_EXTI_Callback() are never called. Interrupts are enabled in both cases.

This is what my CubeMX configuration looks like:


_legacyfs_online_stmicro_images_0693W00000bjlAaQAI.png 

The CubeMX-generated code itself also looks very similar and uses EXTI2/EXTI3 instead of EXTI0.

So my question: is there some special with EXTI2 or EXTI3 comparing to EXTI0?

I'm using the NUCLEO-F411Re-board.

Thanks!

1 REPLY 1

Check the solder bridges, especially to VCP on STLink. Read the Nucleo's User Manual.

JW