Timer Interval Not Working on STM32

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
liudeqiang_2008
Posts: 52
http://meble-kuchenne.info.pl
Joined: Wed Jan 12, 2022 8:25 am
Has thanked: 10 times
Been thanked: 1 time

Flowcode v10 Timer Interval Not Working on STM32

Post 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
Attachments
Timed_interval_example_F303.fcfx
(15.08 KiB) Downloaded 63 times
compile log.txt
(3.01 KiB) Downloaded 60 times

medelec35
Matrix Staff
Posts: 2077
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 638 times
Been thanked: 697 times

Re: Timer Interval Not Working on STM32

Post by medelec35 »

Thank you for reporting this.
I have replicated this issue and I will investigate.
Martin

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

Flowcode v10 Re: Timer Interval Not Working on STM32

Post 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

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 696 times

Re: Timer Interval Not Working on STM32

Post 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.
Timed_interval_example_F303.fcfx
(13.42 KiB) Downloaded 5 times

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

Flowcode v10 Re: Timer Interval Not Working on STM32

Post 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

Post Reply