Skip to main content
Explorer II
July 29, 2024
Solved

STM32F4 Discovery HSE issue

  • July 29, 2024
  • 4 replies
  • 1691 views

Hi,

I am new user of ST Microcontrollers. I am using STM32F4 Discovery board.

Till now its default HSI oscillator I was using, now I am going to use the HSE clock of this.

STM32F4 Discovery board have 8 MHz crystal, which is connected to the microcontroller. when I goto configure through STM32 CUBEMX configuration tool then it shows me a RED lndicator and it shows that clock must be greater than 14.2MHz.

Why it is so? Datasheet says that we can use clock frequency ranging from 4-26MHz.

Can someone explain me this? How to resolve this issue?

STMCUBEMX-1.jpg

 

    This topic has been closed for replies.
    Best answer by AScha.3

    Hi,

    >How to resolve this issue?

    There is no issue - you just have to disable/not use anything, that needs a higher clock, like I2S, USB etc.

    see:

    AScha3_0-1722244466897.png

     

    4 replies

    Super User
    July 29, 2024

    At such low AHB frequency you can't use USB.

    waclawekjan_0-1722240976816.png

     

    JW

    A_HAuthor
    Explorer II
    July 29, 2024

    I am not using USB feature right now. I am in learning phase and just want to check this HSE configuration.

    Can I go with these settings? 

    for USB or any other peripheral definately I will use the higher clock.

    AScha.3Answer
    Super User
    July 29, 2024

    Hi,

    >How to resolve this issue?

    There is no issue - you just have to disable/not use anything, that needs a higher clock, like I2S, USB etc.

    see:

    AScha3_0-1722244466897.png

     

    A_HAuthor
    Explorer II
    July 29, 2024

    Thanks all of you for your support