AnsweredAssumed Answered

Relation between cycle instruction and clock frequency !!

Question asked by chamkhi.haithem on May 5, 2015
Latest reply on May 5, 2015 by Clive One

Hi,

Let’s start with this example :

Let’s suppose I work with an STM32F407VGT6 microcontrollers which his System core clock is set at his maximum frequency which is 168MHZ.

According to the ARM website the CORTEX-M4 assembly instruction MOV Rd, <op2>takes one cycle to be executed. That’s mean this instruction is executed in 5.95ns??? is that correct ??

ooooooooo.png

here’s how I did :

168MHZ = 168 000 000 pulses / seconde

So 1 pulses takes 1/168 000 000 = 5.95ns to be executed

thx.

Outcomes