EXTI Interrupt Issue on STM32

Any bugs you encounter with Flowcode should be discussed here.
LeighM
Valued Contributor
Posts: 473
http://meble-kuchenne.info.pl
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 250 times

Re: EXTI Interrupt Issue on STM32

Post by LeighM »

Thanks for the info, interesting.

What was the result of the main loop LED flash when running on HSE (crystal)?

liudeqiang_2008
Posts: 46
Joined: Wed Jan 12, 2022 8:25 am
Has thanked: 8 times
Been thanked: 1 time

Re: EXTI Interrupt Issue on STM32

Post 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
Attachments
Flowcode1-3.fcfx
(16.09 KiB) Downloaded 5 times

LeighM
Valued Contributor
Posts: 473
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 83 times
Been thanked: 250 times

Re: EXTI Interrupt Issue on STM32

Post 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?

Post Reply