cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt timer STM32f429

PSEBA.1
Associate II

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.

2 REPLIES 2
Chris21
Senior II

 

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.

TDK
Guru

> 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.

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