This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Why or how does SysTick interrupt wakeup the processor?

Hello all,


I am confusing by SysTick interrupt behavior.

Even if SysTick clock was processor clock, the processor woke up from Sleep or DeepSleep mode by SysTick interrupt.

My understanding is that the processor clock will stop during WFI execution (i.e. Sleep or DeepSleep).

I think that SysTick cannot count during WFI execution.

Could anyone teach me why SysTick can work during Sleep or DeepSleep mode?

Joseph Yiu answered for my post Clock gating of Cortex-M Deeep Sleep mode that NVIC and SysTick will be clocked in Sleep mode.

However he answered that all clocks will stop in DeepSleep mode.

I confirmed that SysTick did not stop during DeepSleep mode by the experiment of FRDM-KL25Z board which equips Cortex-M0+.

SysTick timer was operational even in DeepSleep mode on FRDM-KL25Z board.

Is SysTick timer exclusive (i.e. no clock gating)?

Thank you and best regards,

Yasuhiko Koumoto.