I'm trying to configure STM32CubeMx to external GPIO interrupts, however, in the NVIC screen I don't see an EXTI... interrupt to be set.
What should I do to be able to e.g. check for interrupts on GPIO pin PB14, PB13 and PB12?
1 Answer 1
Click on the pin you want to configure, then select GPIO_EXT# in the dropdown menu, that should enable the EXTI line in the NVIC menu. enter image description here enter image description here
On the other Hand, CubeMX isnt perfect and it might not have the interrupt on the pins you want well implemented
-
\$\begingroup\$ Thanks ... I configured the pins as GPIO_Input, overlooked GPIO_EXTI.. \$\endgroup\$Michel Keijzers– Michel Keijzers2018年02月03日 20:54:12 +00:00Commented Feb 3, 2018 at 20:54