cancel
Showing results for 
Search instead for 
Did you mean: 

execution time-STM32F429zi

SR.6
Associate

i am just executing a for loop of 4096 time. But it takes more than 1 ms in stm32f429zi series. Clock frequency is 180MHz. How it can take that much time or whether it is executing some other function in back end.

1 REPLY 1

Double check the frequency the core is clocking at.

Do a static review of the assembler code generated by the compiler.

Use DWT_CYCCNT to measure cycles consumed.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..