Skip to main content
SR.6
Visitor II
December 5, 2018
Question

execution time-STM32F429zi

  • December 5, 2018
  • 1 reply
  • 591 views

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.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    December 5, 2018

    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 VenmoUp vote any posts that you find helpful, it shows what's working..