Skip to main content
GGran.2
Associate III
September 27, 2024
Solved

Default system clock on NUCLEO-F767ZI

  • September 27, 2024
  • 3 replies
  • 3475 views

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

Best answer by mƎALLEm

I reproduced the behavior and getting the same screenshot as you got.

Seems you selected to Start from the MCU part number and not from the board and this is normal behavior.

The default clock source is HSI.

Hope I answered your question.

3 replies

Pavel A.
Super User
September 27, 2024

On Nucleo boards it is usually 8 MHz. If documentation of your Nucleo says 8, change the value in the CubeMX clock editor.

 

GGran.2
GGran.2Author
Associate III
September 27, 2024

Thank you for the answer, but if the clock is 8 MHz, why in the .ioc file opened with STM32CubeIDE the clock is 25MHz?

mƎALLEm
Technical Moderator
September 27, 2024

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:

SofLit_0-1727441937534.png

Generated view from CubeIDE (integrated CubeMx):

SofLit_0-1727442837671.png

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
GGran.2
GGran.2Author
Associate III
September 27, 2024

This is the screen of CubeMX for NUCLEO-F767ZI. Maybe it is not visible, but the number for HSE is 25

 

Immagine 2024-09-27 151305.png

mƎALLEm
Technical Moderator
September 27, 2024

How you did start your project?

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
GGran.2
GGran.2Author
Associate III
September 27, 2024

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

mƎALLEm
Technical Moderator
September 27, 2024

What versions are you using?

The above screenshots I shared respectively: 

CubeMx 6.12.1 (stand alone)

CubeIDE 1.15.1

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
GGran.2
GGran.2Author
Associate III
September 27, 2024

CubeMX 6.6.1

CubeIDE 1.15.1