AnsweredAssumed Answered

the speed of work of stm32f103 is changing in debug/standalone

Question asked by krevetkoff.michael on Sep 28, 2011
Latest reply on Nov 25, 2014 by Clive One
some part of my code keeps the speed of motor using encoder. I have an timer interrupt, calc impulses from the motor and find the speed. It works fine in "download and debug" (IAR + jetlink). But when I press "debug without download", it works faster. I put a counter in the interrupt routine - 23430 calls in "debug with download" and 30442 cals in "debug without download". When I test code without emulator at all, it works approximately twice slower.
The speed is 72MHz, it's selected in some header.

Outcomes