At 04:26 PM 1/20/04 -0500, you wrote:
>I've just run into some odd timer behaviour while working on timing
>routines. I'm going to spend some more time nailing down a good
>demonstration but I thought I would report my preliminary results and see
>what ideas anyone might have.
Found the problem (and have a solution mostly ready). I keep forgetting the
ARM has no hardware division. The time was going up as the division had to
cope with more significant bits. Since I'm dividing by a constant in this
case I can replace it with an expansion that takes constant time regardless
of the value.
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] Odd Timer Behaviour
2004-01-30 by Robert Adsett
Attachments
- No local attachments were found for this message.