cancel
Showing results for 
Search instead for 
Did you mean: 

CUBEMX template for NUCLEO-F767ZI, Wrong default HSE crystal frequency

John Craven
Senior
Posted on October 27, 2017 at 16:34

If you create a Cube project using the NUCLEO-F767ZI board template, it uses 16MHz for the HSE crystal.

Out of the box, from the user manual, the dev board uses the:

MCO from ST-LINK (Default): MCO output of ST-LINK is used as input clock. This

frequency cannot be changed, it is fixed at 8MHz and connected to the

PF0/PH0-OSC_IN of STM32 microcontroller. The configuration must be:

– SB148 OFF

– SB112 and SB149 ON

– SB8 and SB9 OFF

This minor issue will probably get a few users scratching the heads like me when they cant get the correct baud on uart or other. But this is the only NUC/Disco board i have used where the template doesn't work for out-of-box boards.

My suggestion is change this project template so the HSE crystal freq is 8MHz (not 16).

I am using Cube 4.22.1

Also, less of a gotcha, is the overall board target frequency in the template, is for 16Mhz, and probably most users want to go for the full 216Mhz the first time they use it. 

0690X00000608loQAA.png
1 REPLY 1
Nawres GHARBI
ST Employee
Posted on April 23, 2018 at 18:18

Hi John, 

It has been fixed in the 4.25.0, Please update to have the fix