Search found 524 matches

by LeighM
Wed Apr 01, 2026 9:12 am
Forum: Bug Reports
Topic: Pi Pico Compile Error
Replies: 4
Views: 321

Re: Pi Pico Compile Error

FCLsz_TEMPSTR is undefined in PICO_CAL_String.c
this needs a fix from Matrix
by LeighM
Fri Mar 27, 2026 9:18 am
Forum: Projects - Embedded
Topic: flickering STM32 touch screen
Replies: 6
Views: 946

Re: flickering STM32 touch screen

I can’t help much further, I don’t have v8 or a STM32F469I disco board, only other thoughts are:
• Does it work OK in Flowcode simulation?
• What does a simple Initialise and print Hello World do?
• Try Flowcode V11?
• Maybe Matrix have a STM32F469I discovery board to test?
by LeighM
Thu Mar 26, 2026 10:11 am
Forum: Projects - Embedded
Topic: flickering STM32 touch screen
Replies: 6
Views: 946

Re: flickering STM32 touch screen

Strange that the longer delay fixes the issue. The Flowcode display component uses the STM display driver library, so I think it's less likely to be a software issue. How is the power supply? If using USB, is it a good quality cable? Anything else connected to the board? Do you have another Disco' b...
by LeighM
Thu Mar 05, 2026 10:49 am
Forum: General
Topic: STM32F407ZG — How to set frequencies correctly?
Replies: 2
Views: 1528

Re: STM32F407ZG — How to set frequencies correctly?

To use 8MHz crystal and maximum allowed clock rates here are suggested settings clocks.jpg settings.jpg The Flowcode Timer interrupt dialog calculations are incorrect for STM devices (Flowcode does not know about multiple clocks) Therefore you need to work out yourself the prescaler and roll over va...
by LeighM
Thu Feb 26, 2026 6:02 pm
Forum: General
Topic: Compile problem with FC11
Replies: 38
Views: 7084

Re: Compile problem with FC11

Have you downloaded and installed the FC11 PIC toolchain from Matrix website?
Ah, edit, I've just looked at your new msg.txt and see that you now have correct compiler.
Must be something else wrong.
Have you done a full component update?
by LeighM
Thu Feb 26, 2026 4:29 pm
Forum: General
Topic: Compile problem with FC11
Replies: 38
Views: 7084

Re: Compile problem with FC11

You seem to be running an old version of XC8 (V1.45) Looks like your PIC compiler path is "C:\Program Files (x86)\Flowcode\Compilers\pic\" This would normally be "C:\Program Files (x86)\Flowcode\Common\Compilers\picv2\" Please check toolchain location in Global Settings->Location...
by LeighM
Sat Feb 07, 2026 4:04 pm
Forum: Feature Requests
Topic: Power saving mode
Replies: 6
Views: 2798

Re: Power saving mode

This is the C icon code from the demo, it also compiles OK on 32F030, I don't have 030 hardware to test it, although it worked fine on 411 so should also work on 030 Hope it helps // Example to enter Stop Mode HAL_SuspendTick(); // Stop SysTick to prevent immediate wakeup HAL_PWR_EnterSTOPMode(PWR_L...
by LeighM
Thu Feb 05, 2026 4:32 pm
Forum: Feature Requests
Topic: Power saving mode
Replies: 6
Views: 2798

Re: Power saving mode

Here's a target demo ...
STM32F411BP_STOP_DEMO.fcfx
(9.99 KiB) Downloaded 112 times
Note, this won't simulate
by LeighM
Thu Jan 29, 2026 6:51 pm
Forum: General
Topic: Blackpill awakening
Replies: 7
Views: 1985

Re: Blackpill awakening

As for waking up every 5 minutes, this should be possible with a timer interrupt. Specifically with TIM2 and TIM5 that have 32 bit auto-reload counters. However I'm struggling to discover how to change these from the 16 bit value limit, using parameters in the device FCD. Matrix, is it possible to i...
by LeighM
Thu Jan 29, 2026 4:55 pm
Forum: General
Topic: Blackpill awakening
Replies: 7
Views: 1985

Re: Blackpill awakening

No, I don't think it does. But after a super search, OK it was a bit of AI :roll: I found this ... // Example to enter Sleep Mode HAL_SuspendTick(); // Stop SysTick to prevent immediate wakeup HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI); HAL_ResumeTick(); // Resume SysTick after...