Thanks for the info, interesting.
What was the result of the main loop LED flash when running on HSE (crystal)?
EXTI Interrupt Issue on STM32
-
- Valued Contributor
- Posts: 470
- http://meble-kuchenne.info.pl
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 82 times
- Been thanked: 247 times
-
- Posts: 46
- Joined: Wed Jan 12, 2022 8:25 am
- Has thanked: 8 times
- Been thanked: 1 time
Re: EXTI Interrupt Issue on STM32
The main loop LED flash running ok with HSE.
Br, Deqiang
- Attachments
-
- Flowcode1-3.fcfx
- (16.09 KiB) Downloaded 4 times
-
- Valued Contributor
- Posts: 470
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 82 times
- Been thanked: 247 times
Re: EXTI Interrupt Issue on STM32
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?
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?