2015-09-21 11:09 AM
2015-09-22 4:43 PM
> What are the RCC interrupts for, anyone know?
Most of them notifies when the related oscillator is up and running. You can for example run from HSI after startup, set HSE to run and either wait in a loop until ready (which can take quite some time with certain crystals), or enable the interrupt and continue executing other parts of program, and handle the clock switch or PLL start in the interrupt. There is also a clock security interrupt which fires when the related clocks fails. This is useful for fail-safe systems. These issues are dealt with in the RMs quite extensively, please read the related chapters. JWWe’re moving the ST Community to a new platform to give you a better and more reliable community experience.