●Overview
●The ATmega328P is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega328P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
●Features
●•
●High Performance, Low Power AVR
●®
●8-Bit Microcontroller
●•
●Advanced RISC Architecture
●– 131 Powerful Instructions – Most Single Clock Cycle Execution
●– 32 x 8 General Purpose Working Registers
●– Fully Static Operation
●– Up to 16 MIPS Throughput at 16 MHz
●– On-chip 2-cycle Multiplier
●•
●High Endurance Non-volatile Memory Segments
●– 32K Bytes of In-System Self-Programmable Flash progam memory
●– 1K Bytes EEPROM
●– 2K Bytes Internal SRAM
●– Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
●– Optional Boot Code Section with Independent Lock Bits
●• In-System Programming by On-chip Boot Program
●• True Read-While-Write Operation
●– Programming Lock for Software Security
●•
●Peripheral Features
●– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
●– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
●Mode
●– Real Time Counter with Separate Oscillator
●– Six PWM Channels
●– 8-channel 10-bit ADC in TQFP and QFN/MLF package
●• Temperature Measurement
●– Programmable Serial USART
●– Master/Slave SPI Serial Interface
●– Byte-oriented 2-wire Serial Interface (Philips I
●2
●C compatible)
●– Programmable Watchdog Timer with Separate On-chip Oscillator
●– On-chip Analog Comparator
●– Interrupt and Wake-up on Pin Change
●•
●Special Microcontroller Features
●– Power-on Reset and Programmable Brown-out Detection
●– Internal Calibrated Oscillator
●– External and Internal Interrupt Sources
●– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby,
●and Extended Standby
●•
●I/O and Packages
●– 23 Programmable I/O Lines
●– 32-lead TQFP, and 32-pad QFN/MLF
●•
●Operating Voltage:
●– 2.7V - 5.5V for ATmega328P
●•
●Temperature Range:
●– Automotive Temperature Range: -40
●°
●C to +125
●°
●C
●•
●Speed Grade:
●– 0 - 8 MHz @ 2.7 - 5.5V (Automotive Temp. Range: -40°C to +125°C)
●– 0 - 16 MHz @ 4.5 - 5.5V (Automotive Temp. Range: -40°C to +125°C)
●•
●Low Power Consumption
●– Active Mode: 1.5mA @3V - 4MHz
●– Power-down Mode: 1 µA @3V