User Activity

Hello,I am trying to count how many clock cycles pieces of code take to run on my Nucleo board. I am using the following code for timing: start_cycles = DWT->CYCCNT; // dummy code end_cycles = DWT->CYCCNT; diff_cycles = end_cycles - start_cycles; pri...