EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
27days 05hrs 08min 17sec
Learn More →
ATMEGA328PB-MN

MCHPATMEGA328PB-MN

Microchip Technology
AVR AVR® ATmega, Functional Safety (FuSa) Microcontroller IC 8-Bit 20MHz 32KB (16K x 16) FLASH 32-VFQFN (5x5)
Active1,781 in stock

Overview

The ATMEGA328PB-MN is an enhanced version of the classic 8-bit AVR architecture, featuring 32KB of Flash and 2KB of RAM. This specific variant is designed for Functional Safety (FuSa) applications, offering a robust set of peripherals including two I2C interfaces and two SPI ports in a compact 32-VFQFN package. It maintains high performance at 20MHz while achieving ultra-low power consumption in sleep modes down to 0.20uA.

Why Choose This Part

The ATMEGA328PB improves upon the standard 328P by adding a second USART, SPI, and I2C interface, significantly increasing connectivity options for complex designs. It offers a 2-cycle hardware multiplier and a wide range of power-saving modes including Power-save and Extended Standby to optimize energy efficiency. The 100,000 cycle EEPROM endurance and 20-year data retention make it highly reliable for long-term logging and configuration storage.

Applications

Functional Safety Controllers
Utilizing FuSa features for industrial and consumer safety-critical subsystems that require predictable failure modes.
Battery-Powered IoT Nodes
Taking advantage of the 0.20uA shutdown current and 1.3uA sleep current for multi-year operation on coin cell batteries.
Sensor Hubs
Using dual I2C and SPI interfaces to aggregate data from multiple digital sensors simultaneously without bus contention.
Motor Control Logic
Implementing PWM control and brown-out detection for basic brushed or brushless motor commutation in small appliances.

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-VFQFN Exposed Pad
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-VFQFN (5x5)
Voltage - Supply (Vcc/Vdd) 1.8V ~ 5.5V

Getting Started

Development is best supported through the Microchip Studio IDE or MPLAB X, using an MPLAB PICkit 4 or Atmel-ICE programmer for debugging. For rapid prototyping, the ATMEGA328PB-XMINI evaluation board provides a hardware platform with an integrated debugger. Code can be written in C/C++ using the AVR-GCC compiler, leveraging the extensive AVR Libc library and Peripheral Touch Controller features.

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-MN (this part) VFQFN-32 -40degC ~ 105degC .. 1,781
ATMEGA328PB-MU VFQFN-32 -40degC ~ 85degC (.. 17,627
ATMEGA328PB-MNR VFQFN-32 -40degC ~ 105degC .. 21,596
ATMEGA328PB-AUR TQFP-32 -40degC ~ 85degC (.. 12,731
ATMEGA328PB-MUR VFQFN-32 -40degC ~ 85degC (.. 31,604
ATMEGA328PB-XMINI — — 285
ATMEGA328PB-AU TQFP-32 -40degC ~ 85degC (.. 6,221
ATMEGA328PB-ANR TQFP-32 -40degC ~ 105degC .. 5,689

Also Consider

ATmega328P-MU MCHPMicrochip Technology - The standard non-PB version for applications that do not require the additional I2C/SPI peripherals or functional safety features.
ATSAMD21G18A-MFT MCHPMicrochip Technology - A 32-bit ARM Cortex-M0+ alternative for designs requiring more RAM and higher computational performance in a similar package.