avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] General programming question/GPS parsing


From: Curtis Maloney
Subject: Re: [avr-gcc-list] General programming question/GPS parsing
Date: Wed, 02 Mar 2005 16:35:36 +1100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Brian Dean wrote:
On Wed, Mar 02, 2005 at 03:27:59PM +1100, Curtis Maloney wrote:

I think you are off by a factor of 10.  That should be around 32,000
instructions:

        16000000 Inst/s * .002 s = 32,000


16000000 inst/s   / 4800b/s = 3333.333... inst/b ...

The mistakes (all mine - must stop dividing my attention so much :) are that 1bit @ 4800 is 0.2ms... and I kept saying BTYE, when my calculations were for BIT.

So, the new timing is:
        16,000,000 / 4,800 = 3,333.33..
        3,333.33.. * 8 = 26,666.66.. instr/Byte

Appologies to the OP, but the result is the same. You will likely have ample time to parse the buffer

So I think there's little chance that the AVR is going to be taxed
much at all with parsing the GPS sentences and I doubt much, if any,
buffering will be required.  Wbounce should have plenty of CPU and RAM
left over for some serious robot control.

I agree, but that's said without knowing quite how complex the robotics control system is.

--
Curtis Maloney
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]