Search found 449 matches

by LeighM
Fri Jun 13, 2025 5:26 pm
Forum: Projects - Embedded
Topic: STM32 Configure and Interrupt
Replies: 12
Views: 237

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: 12
Views: 237

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: 12
Views: 237

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: 12
Views: 237

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: 12
Views: 237

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: 353

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: 353

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: 353

Re: STM32F030RC - UART4 and UART5 problem

Thanks. Yes, if you confirm that it fixes the issue then Matrix team can update their versions.
by LeighM
Mon May 19, 2025 6:33 pm
Forum: Bug Reports
Topic: STM32F030RC - UART4 and UART5 problem
Replies: 8
Views: 353

Re: STM32F030RC - UART4 and UART5 problem

Could you try an edit to the STM32F030RC FCD file
32F030RC.fcdx in C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ARM

Search for name='UART4' and change it to name='USART4'
Similarly name='UART5' and change it to name='USART5'

Then restart Flowcode or re-load the project
by LeighM
Thu Apr 24, 2025 4:58 pm
Forum: General
Topic: Pico Compiler toolchain
Replies: 10
Views: 3215

Re: Pico Compiler toolchain

Please can you attach your test Flowcode project file and resulting .txt log file