Skip to main content
Anton Martinsen
Associate II
September 25, 2020
Question

Default HSE set to 25 MHz for NUCLEO-F722ZE

  • September 25, 2020
  • 3 replies
  • 2065 views

Is it intented for STM32CubeMX drivers for NUCLEO-F722ZE to have 25MHz as HSE input by default? The hardware I bought from ST had an 8MHz oscillator as input for HSE, not 25 MHz.

This topic has been closed for replies.

3 replies

Amel NASRI
ST Technical Moderator
September 29, 2020

Hi @Anton Martinsen​ ,

This is reported to our STM32CubeMX development team who will take care to bring required corrections.

Thanks,

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
September 29, 2020

Seen the stm32xxxx_hal_conf.h​ contain the wrong HSE_VALUE on occasion as examples moved from EVAL or DISCO series boards with alternate clocking for Ethernet, etc.

As a general rule I tend to print CPU and bus speeds to a debug console so I can quickly check they are as expected, helps when dealing with dozens of boards.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Amel NASRI
ST Technical Moderator
September 29, 2020

Hi @Community member​ ,

Which example please? What I noted is the difference between stm32f7xx_hal_conf.h and system_stm32f7xx.c regarding HSE_VALUE for same project. This has to be highlighted as well.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
September 29, 2020

It was more of a historic observation, a quick grep yielded this non-comprehensive list

STM32Cube_FW_F7_V1.16.0\Projects\STM32F767ZI-Nucleo\Examples\FLASH\FLASH_SwapBank\Inc\stm32f7xx_hal_conf.h

STM32Cube_FW_F7_V1.16.0\Projects\STM32F767ZI-Nucleo\Examples\SPI\SPI_FullDuplex_AdvComIT\Inc\stm32f7xx_hal_conf.h

STM32Cube_FW_F7_V1.16.0\Projects\STM32F767ZI-Nucleo\Examples\SPI\SPI_FullDuplex_AdvComPolling\Inc\stm32f7xx_hal_conf.h

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Nesrine.JLASSI
Visitor II
October 9, 2020

Hello @Anton Martinsen​ 

Thanks for the feedback, issue reported to the tool development team that will plan the correction.

Best regards,

Nesrine