ATmega328PB ATmega328PB Datasheet Introduction The picoPower ATmega328PB 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 ATmega328PB achieves throughputs close to 1MIPS per MHz. This empowers system designers to optimize the device for power consumption versus processing speed. Features 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 Peripheral Features Peripheral Touch Controller (PTC) Capacitive Touch Buttons, Sliders and Wheels 24 Self-Cap Channels and 144 Mutual Cap Channels Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode 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 in TQFP and QFN/MLF package Two Programmable Serial USARTs Datasheet Complete 40001906A-page 1 2017 Microchip Technology Inc. ATmega328PB 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 27 Programmable I/O Lines 32-pin TQFP and 32-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) 40001906A-page 2 Datasheet Complete 2017 Microchip Technology Inc.