Re: How to compare computing power of microcontrollers?



Michael J. Noone wrote:
Hi - I'm trying to choose a microcontroller for a project I'm working
on. Originally I had been thinking about using a 20Mhz Atmel AVR, such
as an ATMEGA168, but I became worried about the raw computing power of
the AVR, as one of the main roles of this chip will be to do alot of 16
bit multiplication and trig at a fairly high speed. So I've been
looking at using an ARM - specifically the Atmel AT91SAM7A3 looks very
interesting to me. It's clocked 3 times as fast as the ATMEGA168, but I
expect that isn't a good way at all to compare it's ability to handle
this task to the AVR's. Is there any good way to make a comparison for
this application without benchmarking the chips? Thanks,

-Michael J. Noone


ARM is also a 32 bit CPU, vs. 8 bits for the AVR. So for instance, to do 32 bit arithmetic operations on AVR takes 4 instructions/clocks, while the ARM will do a 32 bit operation in one instruction/clock.

For floating point stuff, things are more complicated, but still the advantage goes to the 32-bit CPU.

So for 32-bit integer arithmetic anyway, a 60MHz ARM would be roughly 12 times faster than an AVR.


-- Good day!

________________________________________
Christopher R. Carlen
Principal Laser&Electronics Technologist
Sandia National Laboratories CA USA
crcarleRemoveThis@xxxxxxxxxxxxxxx
NOTE, delete texts: "RemoveThis" and
"BOGUS" from email address to reply.
.



Relevant Pages

  • Re: TI MSP430
    ... problem with a waaaaay over-specified MSP430F149 as a combo RTC ... and I/O controller at quantities of a hundred per year. ... You didn't provide the punchline - did he look at AVR and compare ...
    (comp.arch.embedded)
  • Re: how do PSoCs compare to AVRs and PICs?
    ... How do they compare feature, price, and speed ... > can do one instruction per clock cycle by using pipelining for most ... and instruction set is quite primitive compared to the AVR. ...
    (comp.arch.embedded)
  • Re: How to search several directories for duplicate files?
    ... GCC (which needs to be configured as a cross-compiler for the AVR ... avr-libc - Standard C library for Atmel AVR development ... avrdude - software for programming Atmel AVR microcontrollers ... gcc-avr - The GNU C compiler ...
    (comp.os.linux.misc)
  • Re: Recommendation on embedded systems
    ... Microchip PIC, Atmel AVR, Freescale HC12, Intel 8051s, TI MSP, ... I'd like to accept this award and thank the embedded engineers of the ...
    (sci.electronics.basics)
  • Re: Coding AVRs with C?
    ... >>done enough that I can get a circuit to flash, a group of leds to ... Embedded C Programming and the Atmel AVR by Barnett et. al. ...
    (comp.arch.embedded)