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\$

1 Answer 1

4
\$\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\$
1
  • \$\begingroup\$ Thanks ... I configured the pins as GPIO_Input, overlooked GPIO_EXTI.. \$\endgroup\$ Feb 3, 2018 at 20:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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