Page 2 of 2
Re: EXTI Interrupt Issue on STM32
Posted: Tue Aug 12, 2025 12:57 pm
by LeighM
Thanks for the info, interesting.
What was the result of the main loop LED flash when running on HSE (crystal)?
Re: EXTI Interrupt Issue on STM32
Posted: Thu Aug 14, 2025 4:06 am
by liudeqiang_2008
LeighM wrote: ↑Tue Aug 12, 2025 12:57 pm
Thanks for the info, interesting.
What was the result of the main loop LED flash when running on HSE (crystal)?
The main loop LED flash running ok with HSE.
Br, Deqiang
Re: EXTI Interrupt Issue on STM32
Posted: Thu Aug 14, 2025 10:46 am
by LeighM
Thanks. So, just to confirm what I think you are reporting, with your latest program...
running on HSE...
The main loop flash (1 second on, 1 second off) runs OK, even when the hardware is power cycled.
But the timer interrupt flash often runs much slower when power cycled, but runs OK following program flash and run.
running on HSI...
All works as expected, on reset and on power cycle.
Thanks for your reply, it helps narrow down the possible scenarios.
Might be worth try adding a delay at the start of main, before the interrupt setup?