GPIOA interrupts not arriving when Nucleo F446RE is on external power and ST-LINK is disconnected, GPIOC interrupts arrive fine
Hi,
In my application running on a Nucleo F446RE I notice that EXTI interrupts from GPIOA are not arriving in the EXTI15_10_IRQHandler() when the Nucleo board is connected to external power on E5V, JP5 on E5V and the ST-LINK is disconnected from USB. When the board is on external power E5V, JP2 on E5V, and the ST-LINK is connected to USB, the interrupts from GPIOA pins arrive fine.
For GPIOC the EXTI interrupts arrive fine in EXTI15_10_IRQHandler() in all settings
I bareboned the application to a simple Blink program, with all default board and clock settings (from STM32CubeIDE version 1.7.0), some buttons connected to PC13, PA11 and PA12, and the issue remains.
Unfortunately I cannot debug the software when the ST-LINK is not connected to investigate what makes the difference between these two settings.
It does not seem to make any difference if I have STM32CubeIDE opened or not at the moment I connect ST-LINK to USB.
In the RM0390 STM32F446 Reference Manual I cannot find the solution to this issue. Can anyone please help me with this?
The entire source code for main.c is attached.
Regards, Koen
