Skip to main content
Visitor II
March 17, 2025
Question

Interrupt timer STM32f429

  • March 17, 2025
  • 2 replies
  • 713 views

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.

    This topic has been closed for replies.

    2 replies

    Graduate
    March 17, 2025

     

    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.

    Super User
    March 17, 2025

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