Default system clock on NUCLEO-F767ZI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-27 01:36 AM - last edited on ‎2024-09-27 07:34 AM by SofLit
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
Solved! Go to Solution.
- Labels:
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-27 07:32 AM - edited ‎2024-09-27 07:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-27 06:41 AM
How you did start your project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-27 06:58 AM
CubeMX 6.6.1
CubeIDE 1.15.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.