STM32 Clock Speed in Build Options

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Brendan
Posts: 43
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 2:12 pm
Has thanked: 35 times
Been thanked: 10 times

STM32 Clock Speed in Build Options

Post 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 1369 times
STMF32F407VET6_Clock_Speed.png
STMF32F407VET6_Clock_Speed.png (127.96 KiB) Viewed 1369 times

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 71 times
Been thanked: 217 times

Re: STM32 Clock Speed in Build Options

Post 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)

Brendan
Posts: 43
Joined: Tue Dec 08, 2020 2:12 pm
Has thanked: 35 times
Been thanked: 10 times

Re: STM32 Clock Speed in Build Options

Post by Brendan »

Perfect!

Thank you Leigh - Greatly appreciated!

(coding ahead of hardware to play with)

Best regards,
Brendan

Post Reply