cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic System Clock Frequency

keepcoding
Associate II
Posted on October 29, 2013 at 12:51

Hi

I wonder if there are any negative side effects when changing the system clock speed dynamically. I have an I2S audio samples transfer running (via DMA) and therefore, the CPU is put into sleep mode and the DMA interrupt wakes it up periodically. During this sleep period, the system clock is set to 8 MHz. When the CPU wakes up, the clock speed is set back to 64 MHz. Is this a bad idea? How does DMA / I2S cope with changing system clock speed?

Btw, it's a STM32F3 Discovery board.

Any advice is appreciated.
10 REPLIES 10
keepcoding
Associate II
Posted on October 30, 2013 at 18:39

ok, thanks a lot for your explanation!