Skip to main content
LCE
Principal II
August 31, 2026
Question

H7: cycle counter and sleep modes

  • August 31, 2026
  • 1 reply
  • 61 views

Heyho,

is there an overview when the cycle counter (DWT->CYCCNT) keeps running in which sleep modes?

Or can anybody tell me?

This info is spread over all kinds of documentation, and AI doesn’t give me a clear answer.

Thanks!

1 reply

LCE
LCEAuthor
Principal II
August 31, 2026

… or are there any “sleep” modes which let the cycle counter run? 

Or is it always running “directly” with the CPU clock, which is then also turned off for the cycle counter in any sleep modes?