cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407VGT6 GPIO Interrupt Issue – How to Fix?

OliverBrooks
Associate

Hello, I am using the STM32F407VGT6 microcontroller for a project involving GPIO interrupts, but the interrupt is not triggering reliably. Despite configuring the interrupt settings, it occasionally works, but other times it misses the edge completely.

Here’s my setup:

  • GPIO Pin: PA0
  • Interrupt Mode: Rising edge
  • Interrupt Priority: Low (priority 5)
  • NVIC Configuration: Enabled for this pin
  • Debouncing: Software debouncing applied

I’ve attached the STM32F407VGT6 Datasheet for this model if that helps in troubleshooting.

Has anyone experienced similar issues with the STM32F407VGT6? Any tips on debugging or configuration would be appreciated.

Thanks in advance for your help!

1 REPLY 1
AScha.3
Super User

Hi,

Probably the problem is in your software, 

Because INT on rising edge will always trigger, except you suppress it in your software.

So just try using the INT without any added debouncing or whatever,

And check it's working fine.

Then look for the error in your software.

If you feel a post has answered your question, please click "Accept as Solution".