Page 1 of 1
Timer Interval Not Working on STM32
Posted: Sat Aug 09, 2025 8:13 am
by liudeqiang_2008
Hello,
Software: Flowcode V10 Professional
Board: STM32F303CBT6
I have download the Timed_internal_example form Wiki, change the MCU from Arduino to STM32F303CBT6:
Simulation: OK
Compile to Target : NG
I have to say , looks there is lots of bug in the stm32 Timer Interrupt.
Below is my another post, please look at the end, still waiting for reply.
viewtopic.php?t=3275
Please pay attention and solve them.
Deqiang
Re: Timer Interval Not Working on STM32
Posted: Tue Aug 12, 2025 12:54 pm
by medelec35
Thank you for reporting this.
I have replicated this issue and I will investigate.
Re: Timer Interval Not Working on STM32
Posted: Thu Aug 21, 2025 4:54 am
by liudeqiang_2008
medelec35 wrote: ↑Tue Aug 12, 2025 12:54 pm
Thank you for reporting this.
I have replicated this issue and I will investigate.
Hello,
Is there some improvement?
Br, Deqiang
Re: Timer Interval Not Working on STM32
Posted: Fri Aug 22, 2025 9:55 am
by BenR
Hello,
Yes it looks like the timed interval component has a problem on STM32 we will investigate.
For now is it possible for you to just use the timer interrupt instead. I have attached a modified version of your program as an example for you.
You will probably need to go into the properties of the interrupt icon to configure the interrupt rate.
Re: Timer Interval Not Working on STM32
Posted: Fri Aug 22, 2025 1:59 pm
by liudeqiang_2008
BenR wrote: ↑Fri Aug 22, 2025 9:55 am
Hello,
Yes it looks like the timed interval component has a problem on STM32 we will investigate.
For now is it possible for you to just use the timer interrupt instead. I have attached a modified version of your program as an example for you.
You will probably need to go into the properties of the interrupt icon to configure the interrupt rate.
Timed_interval_example_F303.fcfx
Ok, understood, thanks!
Br, Deqiang