AnsweredAssumed Answered

How to measure speed of STM32F429

Question asked by turcanu.daniel on Dec 10, 2013
Latest reply on Dec 10, 2013 by francescato.diego
I have a STM32429I-EVAL board, initialized it and made it work, but I am not sure if the processor speed is up to max. The function RCC_GetClocksFreq returns 180 MHz, but cannot trust its return.
I did a loop to toggle LED1 and the max speed of toggle is 4 MHz.

while(1)
{
  STM_EVAL_LEDToggle(LED1);
}

This 4 MHz seems too low to me, I don't think the processor spends 45 cycles to toggle the led.
Is there a more precise way to measure the speed?

Outcomes