EmbeddedRelated.com
The 2026 Embedded Online Conference
ATMEGA328PB-ANR

MCHPATMEGA328PB-ANR

Microchip Technology
AVR AVR® ATmega, Functional Safety (FuSa) Microcontroller IC 8-Bit 20MHz 32KB (16K x 16) FLASH 32-TQFP (7x7)
Active5,689 in stock

Overview

The ATMEGA328PB-ANR is an enhanced version of the classic 8-bit AVR RISC architecture, providing 32KB of flash and 2KB of RAM. This specific variant includes Functional Safety (FuSa) features and a dedicated Peripheral Touch Controller (PTC) for capacitive sensing. It operates at up to 20MHz and offers a high degree of backward compatibility with the original ATmega328P while adding extra serial interfaces and timers.

Why Choose This Part

This version provides a significant upgrade over the standard 328P by doubling the available SPI and I2C peripherals and adding a hardware touch controller. The inclusion of Functional Safety capabilities makes it suitable for applications requiring higher reliability. Engineers benefit from a low-power design that consumes only 0.24mA at 1MHz while maintaining full static operation.

Applications

Capacitive Touch Interfaces
Utilizing the integrated Peripheral Touch Controller to implement buttons, sliders, and wheels without external components.
Industrial Control Systems
Leveraging Functional Safety features and programmable brown-out detection for reliable operation in harsh environments.
Battery-Powered Sensors
Optimizing power consumption using six low-power modes, including a 0.2uA shutdown current and 1.3uA sleep mode.
IoT Edge Nodes
Managing local sensor data via 27 I/O pins and communicating through dual SPI, UART, or I2C interfaces.

Key Specifications

Speed 20MHz
RAM Size 2K x 8
Core Size 8-Bit
EEPROM Size 1K x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 27
Core Processor AVR
Package / Case 32-TQFP
Data Converters A/D 8x10b
Oscillator Type Internal
Program Memory Size 32KB (16K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 105degC (TA)
Supplier Device Package 32-TQFP (7x7)
Voltage - Supply (Vcc/Vdd) 1.8V ~ 5.5V

Getting Started

Development can be performed using the Microchip Studio or MPLAB X IDEs with the XC8 compiler. For hardware evaluation, the ATmega328PB-XMINI development board provides full access to the MCU pins and an integrated debugger. Programming is supported through the AVR ISP or UPDI interfaces using tools like the Atmel-ICE.

Part of ATmega328 MCU family » ATMEGA328PB

ATMEGA328PB Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Package Temp Range Stock
ATMEGA328PB-ANR (this part) TQFP-32 -40degC ~ 105degC .. 5,689
ATMEGA328PB-MU VFQFN-32 -40degC ~ 85degC (.. 17,627
ATMEGA328PB-MNR VFQFN-32 -40degC ~ 105degC .. 21,596
ATMEGA328PB-AU TQFP-32 -40degC ~ 85degC (.. 17,365
ATMEGA328PB-AUR TQFP-32 -40degC ~ 85degC (.. 9,665

Also Consider

ATMEGA328P-AU MCHPMicrochip Technology - The original industry-standard version for applications that do not require the extra peripherals or touch controller of the PB variant.
ATTINY1616-MNR MCHPMicrochip Technology - A newer tinyAVR 1-series part with similar touch capabilities and a more modern Core Independent Peripheral set in a smaller footprint.
ATSAMD21E18A-AU MCHPMicrochip Technology - A 32-bit ARM Cortex-M0+ alternative for projects requiring more processing power and larger memory while maintaining touch support.
The 2026 Embedded Online Conference