Page 1 of 1

STM32 Clock Speed in Build Options

Posted: Thu Aug 31, 2023 5:32 pm
by Brendan
When setting the various clock parameters for the STM32F407VET6 against STM32CubeMX, for a system clock frequency of 168MHz, the clock speed setting for Flowcode delay-related timings complains that 26MHz is the limit for this device.

Many thanks in advance,
Brendan
STM32F407_Settings.png
STM32F407_Settings.png (175.25 KiB) Viewed 2822 times
STMF32F407VET6_Clock_Speed.png
STMF32F407VET6_Clock_Speed.png (127.96 KiB) Viewed 2822 times

Re: STM32 Clock Speed in Build Options

Posted: Tue Sep 05, 2023 2:39 pm
by LeighM
If my memory is correct, which it usually isn't these days :roll: that refers to the input clock speed (e.g. crystal) for STM32 targets.
I'll try and remember to check when I'm back home at my Flowcode PC.

edit: Yes, confirmed as true, this value refers to the input frequency (8 MHz in your case)

Re: STM32 Clock Speed in Build Options

Posted: Wed Sep 06, 2023 3:15 pm
by Brendan
Perfect!

Thank you Leigh - Greatly appreciated!

(coding ahead of hardware to play with)

Best regards,
Brendan