AnsweredAssumed Answered

Dynamic System Clock Frequency

Question asked by keepcoding on Oct 29, 2013
Latest reply on Oct 30, 2013 by keepcoding
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.

Outcomes