Advantages of atmega32

Komal picture Komal · May 10, 2010 · Viewed 10.4k times · Source

What are the advantages of using ATmega32 than other microcontrollers? Is it better than PIC, ARM, and 8051?

Answer

Yann Ramin picture Yann Ramin · May 10, 2010

Advantages

  1. Still runs on 5 V, so legacy 5 V stuff interfaces cleaner
  2. Even though it's 5 V capable, newer parts can run to 1.8 V. This wide range is very rare.
  3. Nice instruction set, very good instruction throughput compared to other processors (HCS08, PIC12/16/18).
  4. High quality GCC port (no proprietary crappy compilers!)
  5. "PA" variants have good sleep mode capabilities, in micro-amperes.
  6. Well rounded peripheral set
  7. QTouch capability

Disadvantages

  1. Still 8-bit. An ARM is a 16/32-bit workhorse, and will push a good amount more data around, at much higher clock speeds, than any 8-bit.
  2. Cost. Can be expensive compared to HCS08 or other bargain 8-bit processors.
  3. GCC toolchain has quirks, like the split memory model and limited 16-bit pointers.
  4. Atmel is not the best supplier on the planet (at least they're not Maxim...)

In short, they are a very clean and easy to work with a 8-bit microcontroller.

An 8051 is legacy: the tools are passable, the architecture is bizarre (idata? xdata? non-reentrant functions in most compilers by default?).

PIC before PIC24 is also bizarre (register banking) and poor clock->instruction throughput. There is no first-class open source C compiler either.

PIC32 is competing with ARM7TDMI and ARM Cortex-M3, based on an adapted MIPS core, and has a GCC port (not main-lined).

AVR32 is competing with Cortex-M3, and offers a pretty good value, especially in the low power area.

MSP430 is the king for ultra low-power devices, and has a passable GCC port (if you're not targeting 430X).

HCS08 is very inexpensive, but poor instruction throughput. Peripherals vary quite a bit.

ARM used to be a higher cost entry point, but with the introduction of the Cortex-M3 architecture, the price has been dropping compared to an 8-bit. For example, the LPC13xx series is comparable to a ATmega32 in many ways. Luminary (TI) has quite an impressive peripheral set.