1
\$\begingroup\$

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?

enter image description here

enter image description here

\$\endgroup\$
3
\$\begingroup\$

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

\$\endgroup\$
  • \$\begingroup\$ Thanks ... I configured the pins as GPIO_Input, overlooked GPIO_EXTI.. \$\endgroup\$ – Michel Keijzers Feb 3 '18 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.