Skip to main content
_LardDork _
Associate
January 6, 2018
Question

Can't get System clock to be PLL out with input source as HSE, system crashes?

  • January 6, 2018
  • 1 reply
  • 666 views
Posted on January 06, 2018 at 13:39

Hi folks,

I'm trying to initialise system clock to 168MHz without using cubemx generated function just to get better grasp of the RCC , PLL and clocks. So currently I'm trying to use HSE as source for PLL and PLL out as System core clock, right after setting the clock switch bits in RCC->CFGR, controller crashes.

Attached below is the function.

#stm32-f4 #clock #crash #pll #rcc
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
January 6, 2018
Posted on January 06, 2018 at 16:48

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6uF&d=%2Fa%2F0X0000000bxj%2FKT9sIXxzLASagan8EPEDWzMSzXsplyUnl4wyJ68hBWA&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..