wait_us() in NUCLEO-F030R8 is not accurate

19 Oct 2015

I use Timer to measure, and code like this:

Timer t; t.start(); wait_us(1000); int us = t.read_us(); t.stop();

I found the result is 1009, it is 9us more than I expectd. And in NUCLEO-F411RE, it is only 1us more.

Where is wrong?

19 Oct 2015

I dont know bro please give me some time.Currently i am little bit busy.Sorry for that but i promiss you i will definatly give you the answer.