2024-02-03 02:32 PM
Hello, I would like to contact you because, following the code made on Keil uvision 5, I cannot get my interrupt to work.
Objective of the code, turn on and off the LED (pb0) of the card with the button (pc13) on it itself.
PCB Used : STM32F767ZI
Solved! Go to Solution.
2024-02-11 04:45 AM
I have found the problem, we must remove pupdr.
2024-02-03 02:49 PM
Hello @Paul_TESSON
I suggest you to refer to this LL_example to understand the configuration. Then you can convert it to use direct register programming if you want.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-02-03 03:24 PM
Is SCB->VTOR set to 0x08000000?
Can you step through and verify GPIOC->IDR reflects that the pin is toggling?
2024-02-04 01:29 AM
Start with plain loopdelay blinky.
Then proceed with copying state of button into LED in a loop.
Buttons are bouncy, EXTI on a pushbutton is not a good idea (except for simple experiments).
Generally, read out and check/post content of relevant GPIO and EXTI and SYSCFG registers.
A generic "interrupt does not fire" checklist here.
JW
2024-02-11 04:45 AM
I have found the problem, we must remove pupdr.