Skip to main content
eli_az
Associate II
December 23, 2014
Question

STM32F407 discovery HSE crystal is always oscillating

  • December 23, 2014
  • 2 replies
  • 675 views
Posted on December 23, 2014 at 15:36

Hi,

I've been using the STM32F4 discovery kit (the one that contains the STM32F407 MCU) and I've noticed something strange.

When I stopped the code at the SystemInit fuction and probed the HSE I saw that it was already oscillating although it hasn't been activated by software yet (I tried all the code lines before the SetSysClock function and I tried manually disabling the HSE).

Could someone explain this behavior?

Thanks in advance
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    December 23, 2014
    Posted on December 23, 2014 at 18:53

    Where exactly are you probing it? Because there is an 8 MHz signal delivered by the ST-LINK's F103 part to a point very close to the XTAL. A lot of other DISCO boards don't have an HSE crystal and have solder bridges, or zero ohm, connectivity to the MCO signal.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    eli_az
    eli_azAuthor
    Associate II
    December 24, 2014
    Posted on December 24, 2014 at 08:40

    I'm probing C14 and C15 (next to X2), they are all mounted (including R24 & R25).

    I've made sure that SB13 & SB14 are not connected so I'm pretty sure I'm measuring the X2 crystal and not the external oscillator.