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

asked Feb 3, 2018 at 20:33
\$\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

answered Feb 3, 2018 at 20:45
\$\endgroup\$
1
  • \$\begingroup\$ Thanks ... I configured the pins as GPIO_Input, overlooked GPIO_EXTI.. \$\endgroup\$ Commented Feb 3, 2018 at 20:54

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.