Clock Cycles ↔ Time Converter

Enter a clock frequency and either cycle count or time to get the other.

Ad slot

How this works

Time = cycles / Fclk, or cycles = time × Fclk. Useful for sizing busy-wait delay loops, interpreting a DWT cycle counter (e.g. Cortex-M DWT->CYCCNT) against wall-clock time, or estimating how many cycles a routine has to complete before a deadline.

← All EmbedCalc tools