Question
Switch to Lower Clock Speed - How To Do This?
Posted on May 08, 2015 at 07:07
Hi,
The STM32F4 on my application uses an 8MHz crystal, and synthesized to run at a bus speed of 168MHz. I'm doing some signal processing that really only requires a speed of 168MHz after a signal is detected. The detection of the signal could be accomplished with a clock speed as low as the crystal itself (8MHz) Can someone please advise me on the steps on how to do this dynamically - if for example it's running at 168MHz, what should be done with peripherals, etc, to safely set the operation to a lower frequency, and upon a certain event, reset the clock speed higher. Appreciate any links, suggestions or steps (checked through this site but found nothing) Thanks! #stm32f4 #clock-speed