Gast
#327371
Hello I have to perform some timing tests in the Renesas M16C. What is the best way to calculate the time from start to end? Right now I have created a counter, which is incremented each 1/10000 second by a timer. However if I start another timer with an interval of 1/10 second, I get a deviance of approx. 1/1000 second, when I read the counter at each interrupt. Of course I will get some uncertainty on my clock, which is okay. But is there another (better) way of doing this? A high precision timer, perhaps? Usage of the subclock? I could use an external timer, but I don't think I have time to do this... Thanks Denker