Page 1 of 1

Why the estimate period via simulator mismatches the acutal result?

Posted: 13 Jul 2017, 00:38
by szwx0701
I am developing code on MIN52LAN, When I simulated the execute time about a piece of code via IAR, I got cyclecounter =38 ,which means
about 1.6us in 22M Hz HIRC. But the actual result is 4us. Can someone tell me why?

Re: Why the estimate period via simulator mismatches the acutal result?

Posted: 14 Jul 2017, 11:20
by a_ziliu
Please post your code. let me check it.