Search found 451 matches

by LeighM
Wed Jun 18, 2025 3:28 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

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?
by LeighM
Mon Jun 16, 2025 8:35 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

Here's an EXTI demo for the 32F411 BlackPill dev board ...
by LeighM
Fri Jun 13, 2025 5:26 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

Thanks for the further info.
I'm not sure what support there is for interrupts in simulation mode - one for the Matrix team.
I should be able to find some time next week to provide an EXTI example on STM32F411 hardware
by LeighM
Wed Jun 11, 2025 1:48 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

I suspect there might already be examples on this or the old forum. Just some other points... Presumably you have proved that the hardware is working? Perhaps adding a led flash in the main loop. Are you using your own hardware design, or a development board? You have a pull up (or down) resistor on...
by LeighM
Tue Jun 10, 2025 10:07 am
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

As far as I can see, from the attached C file (and the fcfx) you have EXTI0 selected, not EXTI1 that is required for PA.1
Can you recheck this?
by LeighM
Mon Jun 09, 2025 6:06 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

Hi,
Interrupts do work on F4 series, unfortunately I personally won't be able to check your Flowcode project this week, someone else might be able.
If you want to post the generated C code, I might be able to deduce something from that.
by LeighM
Sun Jun 08, 2025 4:10 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 24
Views: 1682

Re: STM32 Configure and Interrupt

I'm not near my pc at the moment so can't check your project file, but a couple of things to check ... For the interrupt are the properties set to EXTI1 and Port A? The Flowcode project "clock speed" setting needs to be set at your external crystal frequency (8MHz, 16MHz etc) Hope that helps
by LeighM
Thu May 22, 2025 10:35 am
Forum: Bug Reports
Topic: STM32F030RC - UART4 and UART5 problem
Replies: 8
Views: 508

Re: STM32F030RC - UART4 and UART5 problem

Please try the attached file update,
to go into directory
C:\Program Files (x86)\Flowcode\Common\Compilers\starm\src

nb. delete all previous build files before you re-build the project
by LeighM
Wed May 21, 2025 1:29 pm
Forum: Bug Reports
Topic: STM32F030RC - UART4 and UART5 problem
Replies: 8
Views: 508

Re: STM32F030RC - UART4 and UART5 problem

Ok. Thanks for the feedback.
I should be able to get back to my PC sometime in the next day or two and have a look at the interrupts, it's a shared one on this device, so a little more complex
by LeighM
Tue May 20, 2025 4:14 pm
Forum: Bug Reports
Topic: STM32F030RC - UART4 and UART5 problem
Replies: 8
Views: 508

Re: STM32F030RC - UART4 and UART5 problem

Thanks. Yes, if you confirm that it fixes the issue then Matrix team can update their versions.