ATmega324PB AVR Microcontroller with Core Independent Peripherals and PicoPower technology Introduction The picoPower ATmega324PB 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 ATmega324PB achieves throughputs close to 1MIPS per MHz. This empowers system designers to optimize the device for power consumption versus processing speed. Feature High Performance, Low Power AVR 8-Bit Microcontroller Family Advanced RISC Architecture 131 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Up to 20 MIPS Throughput at 20MHz On-Chip 2-cycle Multiplier High Endurance Non-Volatile Memory Segments 32KBytes of In-System Self-Programmable Flash Program Memory 1KBytes EEPROM 2KBytes Internal SRAM Write/Erase Cycles: 10,000 Flash/100,000 EEPROM Data Retention: 20 Years at 85C 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 JTAG (IEEE std. 1149.1 Compliant) Interface Boundary-Scan Capabilities According to the JTAG Standard Extensive On-chip Debug Support Programming of Flash, EEPROM, Fuses, and Lock Bits Through the JTAG Interface Peripheral Features Peripheral Touch Controller (PTC) Capacitive Touch Buttons, Sliders and Wheels 32 Self-Sap Channels and 256 Mutual Cap Channels Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode Datasheet Complete DS40001908A-page 1 2017 Microchip Technology Inc. ATmega324PB Three 16-bit Timer/Counters with Separate Prescaler, Compare Mode, and Capture Mode Real Time Counter with Separate Oscillator Ten PWM Channels 8-Channel 10-Bit ADC Differential Mode with Selectable Gain at 1, 10 or 200 Three Programmable Serial USARTs Two Master/Slave SPI Serial Interfaces 2 Two Byte-oriented 2-wire Serial Interfaces (Philips I 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 8 MHz Calibrated Oscillator External and Internal Interrupt Sources Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby, and Extended Standby Clock Failure Detection Mechanism and Switch to Internal 8 MHz RC Oscillator in case of Failure Individual Serial Number to Represent a Unique ID I/O and Packages 39 Programmable I/O Lines 44-Pin TQFP and 44-Pin QFN /MLF Operating Voltage: 1.8 - 5.5V Temperature Range: -40C to 105C Speed Grade: 0 - 4MHz 1.8 - 5.5V 0 - 10MHz 2.7 - 5.5.V 0 - 20MHz 4.5 - 5.5V Power Consumption at 1MHz, 1.8V, 25C Active Mode: 0.24mA Power-Down Mode: 0.2A Power-Save Mode: 1.3A (Including 32kHz RTC) DS40001908A-page 2 Datasheet Complete 2017 Microchip Technology Inc.