STM32 Configure and Interrupt

Use this section to discuss your embedded Flowcode projects.
Steve-Matrix
Matrix Staff
Posts: 1509
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 211 times
Been thanked: 350 times

Re: STM32 Configure and Interrupt

Post by Steve-Matrix »

liudeqiang_2008 wrote:
Wed Jun 18, 2025 2:38 pm
To be honest, I didn't find any difference, is it all be tested?

...

Now I am using Flowcode V10, maybe you are working on V11, but please make sure they are tested on V10 and working well.

Yes, it has been tested on V10. I have personally tested this in simulation with the FCD file that was attached to my earlier post and it simulates the interrupts correctly in terms of the chosen pin and the chosen edge.

I have just tested again and it still works! I have also tested with the latest FCD file (downloaded from library updates) and that works too.

For convenience, I attach one of my test projects.

I do not have access to appropriate hardware, but a colleague (Martin) has tested this on other STM32 hardware and the interrupts work fine.
Attachments
IO_Interrupt_Flag_STM32.fcfx
(26.08 KiB) Downloaded 9 times

liudeqiang_2008
Posts: 23
Joined: Wed Jan 12, 2022 8:25 am

Re: STM32 Configure and Interrupt

Post by liudeqiang_2008 »

LeighM wrote:
Wed Jun 18, 2025 3:28 pm
Step at a time...
Have you tried the demo on hardware?
It gives a short LED flash every half second.
Gives a long (half second) flash of the LED when the interrupt input is triggered.
What do you see?
Yes, I have tried different STM32F411 Boards. now it works, thank you very much!

Best regards,
Deqiang

liudeqiang_2008
Posts: 23
Joined: Wed Jan 12, 2022 8:25 am

Re: STM32 Configure and Interrupt

Post by liudeqiang_2008 »

Steve-Matrix wrote:
Wed Jun 18, 2025 5:52 pm
liudeqiang_2008 wrote:
Wed Jun 18, 2025 2:38 pm
To be honest, I didn't find any difference, is it all be tested?

...

Now I am using Flowcode V10, maybe you are working on V11, but please make sure they are tested on V10 and working well.

Yes, it has been tested on V10. I have personally tested this in simulation with the FCD file that was attached to my earlier post and it simulates the interrupts correctly in terms of the chosen pin and the chosen edge.

I have just tested again and it still works! I have also tested with the latest FCD file (downloaded from library updates) and that works too.

For convenience, I attach one of my test projects.

I do not have access to appropriate hardware, but a colleague (Martin) has tested this on other STM32 hardware and the interrupts work fine.
Hello Steve,

Thank you for your test projects. It also works on my computer.
Then I open the earlier projects I made, when I open and directly run, it not working, then I open the interrupt macro and re-select the same EXTI pin and re-save. The program works. The update library Should be working.

Thank you and your colleague(Martin), solving this is important for me to carry on my project.

BTW, will Flowcode put more power on STARM chips in the future? I found the tutorials on Youtube mostly about PIC and Arduino. and it is very difficulty to find some about STM32 chips.

Thank you all again and have a nice day!

Best regards,
Deqiang
Attachments
IMG20250622135513.jpg
IMG20250622135513.jpg (55.45 KiB) Viewed 806 times

Steve-Matrix
Matrix Staff
Posts: 1509
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 211 times
Been thanked: 350 times

Re: STM32 Configure and Interrupt

Post by Steve-Matrix »

Thanks, Deqiang.

I will pass on your comments for STM32 tutorials.

We believe that one of Flowcode's strengths is that code written for one set of chips can be ported to another chip family with minimal effort. There are some issues that do not port seamlessly - e.g. interrupts - but most features should be fine.

This means that tutorials written for one particular chip are generally relevant for any target device in Flowcode.

Chip-specific issues can be raised and discussed on this forum.

liudeqiang_2008
Posts: 23
Joined: Wed Jan 12, 2022 8:25 am

Re: STM32 Configure and Interrupt

Post by liudeqiang_2008 »

Steve-Matrix wrote:
Mon Jun 23, 2025 9:06 am
Thanks, Deqiang.

I will pass on your comments for STM32 tutorials.

We believe that one of Flowcode's strengths is that code written for one set of chips can be ported to another chip family with minimal effort. There are some issues that do not port seamlessly - e.g. interrupts - but most features should be fine.

This means that tutorials written for one particular chip are generally relevant for any target device in Flowcode.

Chip-specific issues can be raised and discussed on this forum.
Hello Steve,

Is the Ghost Technology can be used in STM32 System? I check "https://www.matrixtsl.com/eblocks/", I am afraid the ARM programmer board (E-Blocks 2 ARM programmer. SKU#: BL0061) was no longer offered. Can Ghost Technology run on a normal stm32 develop board?

Best regards,
Deqiang

Post Reply