2024-09-27 01:36 AM
Good morning,
in the user manual "STM32 Nucleo-144 boards" is written that the HSE clock is linked to a 8 MHz oscillator. But when I enable the HSE clock in the .ioc file, the value is 25 MHz. I don't understand if the HSE clock is 8 MHz or 25 MHz.
Thank you
2024-09-27 05:44 AM - edited 2024-09-27 05:45 AM
On Nucleo boards it is usually 8 MHz. If documentation of your Nucleo says 8, change the value in the CubeMX clock editor.
2024-09-27 05:49 AM
Thank you for the answer, but if the clock is 8 MHz, why in the .ioc file opened with STM32CubeIDE the clock is 25MHz?
2024-09-27 05:59 AM - edited 2024-09-27 06:15 AM
Hello @GGran.2 ,
Could you please describe how you did reproduce the behavior?
This is a screen shot of CubeMx starting a project from a board: NUCLEO-F767ZI.
Generated view starting a project from stand alone CubeMx:
Generated view from CubeIDE (integrated CubeMx):
2024-09-27 06:19 AM
This is the screen of CubeMX for NUCLEO-F767ZI. Maybe it is not visible, but the number for HSE is 25
2024-09-27 06:41 AM
How you did start your project?
2024-09-27 06:48 AM
In two manners, but the result was the same:
- I opened a new project with STM32CubeIDE by selecting NUCLEO-F767ZI as board
- I opened a new project with STM32CubeMX by selecting NUCLEO-F767ZI as board
2024-09-27 06:53 AM
What versions are you using?
The above screenshots I shared respectively:
CubeMx 6.12.1 (stand alone)
CubeIDE 1.15.1
2024-09-27 06:58 AM
CubeMX 6.6.1
CubeIDE 1.15.1
2024-09-27 07:01 AM
Your CubeMx has an old version.
For CubeIDE I didn't reproduce the behavior from my side, the clock is set at 8 as you can see from above.
Also from you screenshot you shared it doesn't seem to be generated from a board! but may be from the MCU part number.