At 12:21 PM 1/3/04 -0500, you wrote:
>At 09:58 AM 1/2/04 -0800, you wrote:
> >
> >BTW, so far this will be entirely adequate for my needs. I was just
> >testing the lower boundary to see how it would perform...
>
>Great. I still think I'll make it a little bit better though.
I did say I was going to improve the timing routines. I have, and release
2 of the newlib support routines is available at
http://www.aeolusdevelopment.com along with some additional documentation
and a couple of application notes on the timer, including one that
documents the test results.
Just a quick subset of the tests here. This covers the small wait area
previously talked about. Everything is in microseconds.
req actual_us Error
0 1.3 1.3
1 9.2 8.2
2 9.3 7.3
3 9.2 6.2
4 9.2 5.2
5 9.2 4.2
6 9.3 3.3
7 9.2 2.2
8 9.2 1.2
9 9.3 0.3
10 9.2 -0.8
11 9.2 -1.8
12 11.9 -0.1
13 12.9 -0.1
14 13.9 -0.1
15 14.9 -0.1
16 15.9 -0.1
17 16.9 -0.1
18 17.9 -0.1
19 18.9 -0.1
20 20.2 0.2
21 20.9 -0.1
22 22.2 0.2
23 22.9 -0.1
24 24.2 0.2
25 25.2 0.2
26 25.9 -0.1
27 27.2 0.2
28 28.2 0.2
29 28.9 -0.1
30 30.2 0.2
As you can see, it plateaus below 12uS but the constant offset is gone.
Robert
" 'Freedom' has no meaning of itself. There are always restrictions,
be they legal, genetic, or physical. If you don't believe me, try to
chew a radio signal. "
Kelvin Throop, IIIMessage
RE: [lpc2100] Delay routines
2004-02-10 by Robert Adsett
Attachments
- No local attachments were found for this message.