2018-12-05 12:30 AM
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.
2018-12-05 01:57 AM
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.