The Microchip AVR ATmega32 is a low-power CMOS 8-bit microcontroller based on the AVRenhanced RISC architecture. By executing powerful instructions in a single clock cycle, theATmega32 achieves throughputs approaching 1 MIPS per MHz allowing the system designer tooptimize power consumption versus processing speed. The Microchip AVR AVR core combines a rich instruction set with 32 general purpose working registers.All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing twoindependent registers to be accessed in one single instruction executed in one clock cycle. Theresulting architecture is more code efficient while achieving throughputs up to ten times fasterthan conventional CISC microcontrollers. The ATmega32 provides the following features: 32Kbytes of In-System Programmable FlashProgram memory with Read-While-Write capabilities, 1024bytes EEPROM, 2Kbyte SRAM, 32general purpose I/O lines, 32 general purpose working registers, a JTAG interface for Boundaryscan,On-chip Debugging support and programming, three flexible Timer/Counters with comparemodes, Internal and External Interrupts, a serial programmable USART, a byte orientedTwo-wire Serial Interface, an 8-channel, 10-bit ADC with optional differential input stage withprogrammable gain (TQFP package only), a programmable Watchdog Timer with Internal Oscillator,an SPI serial port, and six software selectable power saving modes. The Idle mode stopsthe CPU while allowing the USART, Two-wire interface, A/D Converter, SRAM, Timer/Counters,SPI port, and interrupt system to continue functioning. The Power-down mode saves the registercontents but freezes the Oscillator, disabling all other chip functions until the next External Interruptor Hardware Reset. In Power-save mode, the Asynchronous Timer continues to run,allowing the user to maintain a timer base while the rest of the device is sleeping. The ADCNoise Reduction mode stops the CPU and all I/O modules except Asynchronous Timer andADC, to minimize switching noise during ADC conversions. In Standby mode, the crystal/resonatorOscillator is running while the rest of the device is sleeping. This allows very fast start-upcombined with low-power consumption. In Extended Standby mode, both the main Oscillatorand the Asynchronous Timer continue to run. The device is manufactured using Microchip’s high density nonvolatile memory technology. The OnchipISP Flash allows the program memory to be reprogrammed in-system through an SPI serialinterface, by a conventional nonvolatile memory programmer, or by an On-chip Boot programrunning on the AVR core. The boot program can use any interface to download the applicationprogram in the Application Flash memory. Software in the Boot Flash section will continue to runwhile the Application Flash section is updated, providing true Read-While-Write operation. Bycombining an 8-bit RISC CPU with In-System Self-Programmable Flash on a monolithic chip,the Microchip ATmega32 is a powerful microcontroller that provides a highly-flexible and cost-effectivesolution to many embedded control applications. The Microchip AVR ATmega32 is supported with a full suite of program and system developmenttools including: C compilers, macro assemblers, program debugger/simulators, in-circuit emulators,and evaluation kits.