2025-03-17 9:45 AM
Hello,
on an stm32f429,
I trigger an interrupt on PA0 for 1 second and
I light an LED on PA3 for a short time, with a timer
I count the number of overflows on a 10 Mhz signal on
PA5 and store the result in a variable,
I'm a beginner with STM32F and I must have forgotten something!!
because it doesn't work.
Attachment file :
Thanks you for your help
Sébastien.
2025-03-17 10:07 AM
Delays of 100 seconds in an interrupt handler are usually not healthy...
The delay function will not work in the EXTI handler if the priority of that interrupt is higher than the priority of SysTick.
2025-03-17 1:16 PM
> I count the number of overflows on a 10 Mhz signal on
Through interrupts? Not going to happen.
Put the signal on a 32-bit timer external clock pin and read the CNT value one second apart to compare.