EXTI Triggering itself
Hi,
I am working on a custom board using the STM32F479NI.
I have been able to use EXTI on the PC7 without problems.
Now I need to implement it on PE2.
But this time, the EXTI2_IRQHandler is being called over and over without any electrical changes on that pin.
The schematic for that pin is very simple (one pull-up and a protection diode, Button is connected to PE2) :

I am using STM32CubeMx to generate all the necessary code :

And I made sure to call the MX_GPIO_Init() function.
Right after calling the MX_GPIO_Init(), the EXTI2_IRQHandler is called over and over.
I also made sure that the interrupt is being cleared, this is done in the CubeMx generated code in the function HAL_GPIO_EXTI_IRQHandler :

The callstack looks like this :
I did not modify any of the CubeMx generated code, so the EXTI2_IRQHandler and HAL_GPIO_EXTI_IRQHandler are the default one.
Please note that when using PE2 as a GPIO_Input, and pooling it, I do not see the issue.
I also noticed that the voltage at this pin is dropping when experiencing the issue (the supply voltage remains 3V3, but the voltage at PE2 is 1.8V so, to me, it looks like the STM32 is making the voltage drop).
Please tell me if you need more information
Thanks in advance for your help,
AM.