ATmega328PB
ATmega328PB Summary 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 85°C
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
This is a summary document. A
complete document is available on
our Web site at www.microchip.com
© 2017 Microchip Technology Inc.
Datasheet Summary
40001907A-page 1
Two Master/Slave SPI Serial Interfaces
Two Byte-Oriented 2-Wire Serial Interfaces (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 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:
-40°C to 105°C
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, 25°C
Active Mode: 0.24mA
Power-Down Mode: 0.2μA
Power-Save Mode: 1.3μA (Including 32kHz RTC)
ATmega328PB
© 2017 Microchip Technology Inc.
Datasheet Summary
40001907A-page 2
Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Description.................................................................................................................4
2. Configuration Summary.............................................................................................5
3. Ordering Information..................................................................................................6
4. Block Diagram........................................................................................................... 7
5. Pin Configurations..................................................................................................... 8
5.1. Pin Descriptions........................................................................................................................... 9
6. I/O Multiplexing........................................................................................................ 11
7. Resources............................................................................................................... 12
8. About Code Examples.............................................................................................13
The Microchip Web Site................................................................................................ 14
Customer Change Notification Service..........................................................................14
Customer Support......................................................................................................... 14
Microchip Devices Code Protection Feature................................................................. 14
Legal Notice...................................................................................................................15
Trademarks................................................................................................................... 15
Quality Management System Certified by DNV.............................................................16
Worldwide Sales and Service........................................................................................17
© 2017 Microchip Technology Inc.
Datasheet Summary
40001907A-page 3

ATMEGA328PB-AU

Mfr. #:
Manufacturer:
Microchip Technology / Atmel
Description:
8-bit Microcontrollers - MCU ATMEGA328PB 20MHZ IND TEMP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union