Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

ATmega324PB

Status: In Production

View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Add To Cart

Device Overview

Summary

The high-performance Microchip 8-bit AVR® RISC-based picoPower® microcontroller combines 32 KB ISP flash memory with read-while-write capabilities, 1 KB EEPROM, 2 KB SRAM, 39 general purpose I/O lines, 32 general purpose working registers, five flexible timer/counters with compare modes, internal and external interrupts, three USARTs with wake-up on start of transmission, two byte-oriented two-wire serial interface, two SPI serial ports, one 8-channel 10-bit ADC with optional differential input stage with programmable gain, programmable watchdog timer with internal oscillator, a JTAG (IEEE 1149.1 compliant) test interface for on-chip debugging and programming, and six software selectable power saving modes. The device operates between 1.8-5.5 volts.

The ATmega324PB features the successful QTouch® Peripheral Touch Controller (PTC). The PTC acquires signals to detect touch on capacitive sensors and supports both self- and mutual-capacitance sensors. The ATmega324PB PTC is supported by the Microchip QTouch Composer development tool (QTouch Library project builder and QTouch Analyzer). It provides a faster and less complex capacitive touch implementation in any application.

The ATmega324PB supports 32 buttons in self-capacitance mode or up to 256 buttons in mutual-capacitance mode. Mix-and-match mutual-and self-capacitance sensors are possible. Only one pin is required per electrode, and no external components are required, delivering savings on the BOM cost compared to competing solutions.

By executing powerful instructions in a single clock cycle, the device achieves throughputs approaching 1 MIPS per MHz, balancing power consumption and processing speed.

Additional Features
  • 131 Powerful Instructions
  • Most Single Clock Cycle Execution
  • 32 x 8 General Purpose Working Registers
  • Fully Static Operation
  • Up to 20 MIPS Throughput at 20 MHz
  • On-Chip Two-Cycle Multiplier
  • 32 KB of In-System Self-Programmable Flash program memory
  • 1 KB EEPROM
  • 2 KB Internal SRAM
  • Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
  • Data retention: 20 years at 85°C
  • In-System Programming by On-chip Boot Program
  • True Read-While-Write Operation
  • Programming Lock for Software Security
  • 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
  • ThreeProgrammable Serial USARTs
  • Two Master/Slave SPI Serial Interfaces
  • Two Byte-Oriented Two-Wire Serial Interfaces (Philips I2C Compatible)
  • Programmable Watchdog Timer with Separate On-chip Oscillator
  • On-Chip Analog Comparator
  • Interrupt and Wake-Up on Pin Change
  • 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
  • 39 Programmable I/O Lines
  • 44-pin TQFP and 44-pin QFN/MLF
  • 1.8-5.5V
  • -40°C to 105°C
  • 0-4 MHz @ 1.8 - 5.5V
  • 0-10 MHz @ 2.7 - 5.5.V
  • 0-20 MHz @ 4.5 - 5.5V
  • Active Mode: 0.24 mA
  • Power-Down Mode: 0.2 μA
  • Power-Save Mode: 1.3 μA (Including 32 kHz RTC)
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
32
CPU Speed (MIPS/DMIPS)
20
SRAM (B)
2,048
Data EEPROM/HEF (bytes)
1024
Digital Communication Peripherals
3-UART, 2-SPI, 2-I2C
Capture/Compare/PWM Peripherals
3 Input Capture, 3 CCP, 10PWM
Timers
2 x 8-bit, 3 x 16-bit
Number of Comparators
1
Temperature Range (°C)
-40 to 105
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
44
Low Power
Yes

Documents

Jump to:

Application Notes

Download All

Reference Manuals

White Papers

Development Environment

  • Integrated Development Environments
  • Compilers
  • Software & Configurators
  • Emulators & Debuggers
  • Production Programmers
  • Demo & Evaluation Boards
Integrated Development Environments
MPLAB-X-IDE
MPLAB X Integrated Development Environment (IDE) ( MPLAB-X-IDE )

MPLAB® X Integrated Development Environment (IDE) is an expandable, highly configurable software program that incorporates powerful tools to help you discover, configure, develop, debug and qualify embedded designs for most of Microchip’s microcontrollers, microprocessors and digital signal controllers.
MPLAB X IDE works seamlessly with the MPLAB development ecosystem of

...

Learn More
Atmel-Studio
Atmel Studio IDE ( Atmel-Studio )

Studio 7 is the integrated development platform (IDP) for developing and debugging all AVR® and SAM microcontroller applications. The Atmel Studio 7 IDP gives you a seamless and easy-to-use environment to write, build and debug your applications written in C/C++ or assembly code. It also connects seamlessly to the debuggers, programmers and development kits that support AVR® and SAM...

Learn More
Compilers
MPLAB-XC8
MPLAB XC8 Compiler ( MPLAB-XC8 )

Available as free, unrestricted-use downloads, our award-winning MPLAB® XC C Compilers are comprehensive solutions for your project’s software development. Finding the right compiler to support your device is simple:

  • MPLAB XC8 supports all 8-bit PIC® and AVR® microcontrollers (MCUs)
  • MPLAB XC16 supports all 16-bit PIC MCUs and dsPIC® Digital
...

Learn More
AVR-GCC
AVR GCC ( AVR-GCC )

The AVR® Toolchain is a collection of tools/libraries used to create applications for AVR microcontrollers. This collection includes compiler, assembler, linker and Standard C and math libraries.

Most of these tools are based on efforts from GNU (www.gnu.org), and some are developed by Microchip. For more information please refer to the release notes.

The Atmel...

Learn More
Software & Configurators
atmel-start
START ( atmel-start )

Atmel START is an innovative online tool for intuitive, graphical configuration of embedded software projects. It lets you select and configure software components, drivers and middleware, as well as complete example projects, specifically tailored to the needs of your application. The configuration stage lets you review dependencies between software components, conflicts and hardware constraints....

Learn More
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor, the PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

Learn More
Add To Cart
Atmel-ICE Full Kit
Atmel-ICE Full Kit ( ATATMEL-ICE )

Atmel-ICE is a powerful development tool for debugging and programming ARM® Cortex®-M based SAM and AVR microcontrollers with on-chip debug capability.

Atmel-ICE supports:

  • Programming and on-chip debugging of all AVR 32-bit MCUs on both JTAG and aWire interfaces
  • Programming and on-chip debugging of all AVR
...

Learn More
Add To Cart
MPLAB(R) Snap In-Circuit Debugger
MPLAB(R) Snap In-Circuit Debugger ( PG164100 )

Our most affordable debugger has power to impress.

The MPLAB® Snap In-Circuit Debugger/Programmer allows affordable, fast and easy debugging and programming of PIC®, dsPIC®, AVR and SAM flash MCUs and MPUs, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE) version 5.05 or later. The MPLAB Snap can be connected to a

...

Learn More
Add To Cart
Production Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor, the PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

Learn More
Add To Cart
Atmel-ICE Full Kit
Atmel-ICE Full Kit ( ATATMEL-ICE )

Atmel-ICE is a powerful development tool for debugging and programming ARM® Cortex®-M based SAM and AVR microcontrollers with on-chip debug capability.

Atmel-ICE supports:

  • Programming and on-chip debugging of all AVR 32-bit MCUs on both JTAG and aWire interfaces
  • Programming and on-chip debugging of all AVR
...

Learn More
Add To Cart
Softlog SEC-DS Secure Programming Upgrade for ICP2 Programmers
Softlog SEC-DS Secure Programming Upgrade for ICP2 Programmers ( SW500090 )

The Softlog SEC-DS Secure Programming Upgrade is a "Secure Programming" extension for the ICP2 and ICP2(HC) programmers that provides several layers of protection--utilizing breakthrough technology--dramatically reducing the risk of unauthorized reconstruction of hex data and limiting how many times a hex file can be programmed. Secure programming operates on two levels: the ADMIN level and the...

Learn More
Add To Cart
Softlog SEC4CH-DS Secure Programming Upgrade for ICP2GANG Programmers
Softlog SEC4CH-DS Secure Programming Upgrade for ICP2GANG Programmers ( SW500091 )

The Softlog SEC4CH-DS Secure Programming Upgrade is a "Secure Programming" extension for the ICP2GANG programmer that provides several layers of protection--utilizing breakthrough technology--dramatically reducing the risk of unauthorized reconstruction of hex data and also limiting how many times a hex file can be programmed. Secure programming operates on two levels: the ADMIN level and the USER...

Learn More
Add To Cart
Softlog ICP2(G3) ICSP Production Programmer
Softlog ICP2(G3) ICSP Production Programmer ( TPG100001-G3 )

The ICP2(G3) Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® / AVR® MCUs and Serial EEPROMs & Flash ICs. ICP2(G3) hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI, etc.)

Learn More
Add To Cart
Softlog ICP2(G3)-DP ICSP Production Programmer
Softlog ICP2(G3)-DP ICSP Production Programmer ( TPG100002-G3 )

The ICP2(G3)-DP Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs and Serial EEPROMs & Flash ICs. ICP2(G3)-DP hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI,

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DP 4-Channel ICSP Production Gang Programmer
Softlog ICP2GANG(G3)-DP 4-Channel ICSP Production Gang Programmer ( TPG100004-G3 )

The ICP2GANG(G3)-DP Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, and serial EEPROMs & Flash ICs. ICP2GANG(G3)-DP hardware is designed to support popular programming

...

Learn More
Add To Cart
Softlog ICP2GANG(G3) 4-Channel ICSP Production Gang Programmer
Softlog ICP2GANG(G3) 4-Channel ICSP Production Gang Programmer ( TPG100005-G3 )

The ICP2GANG(G3) Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2GANG(G3) hardware is designed to support popular programming interfaces (ICSP™, JTAG, SWD, UPDI, SPI, QSPI,

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DS ICSP Secure Production Gang Programmer
Softlog ICP2GANG(G3)-DS ICSP Secure Production Gang Programmer ( TPG100006-G3 )

The ICP2GANG(G3)-DS Production Quality ICSP Secure GANG Programmer is a 4-channel in-circuit programmer (expandable up to 64 channels) that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. The secure programming feature dramatically reduces the risk of unauthorized

...

Learn More
Add To Cart
Softlog ICP2(G3)-DS ICSP Secure Production Programmer
Softlog ICP2(G3)-DS ICSP Secure Production Programmer ( TPG100007-G3 )

The ICP2(G3)-DS Production Quality Secure Programmer is an in-circuit programmer that operates with a PC or as a standalone unit, and programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. The secure programming feature dramatically reduces the risk of unauthorized reconstruction of hex files, and also limits how many times the hex file can be programmed. ICP2(G3)-DS

...

Learn More
Add To Cart
Softlog ICP2(HC) ICSP High-Current Production Programmer
Softlog ICP2(HC) ICSP High-Current Production Programmer ( TPG100008 )

The Softlog ICP2(HC) Production Quality In-Circuit High Current Programmer is a cost-effective programmer that operates with a PC or as a standalone unit.

Note: All technical support and warranty service will be provided by Softlog. You can contact them at support@softlog.com.

Learn More
Add To Cart
Softlog ICP2PORT(G3) Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3) Portable In-Circuit Production Programmer ( TPG100009-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field upgrades. ICP2PORT(G3) programs Microchip 8-bit PIC® & AVR® MCUs and Serial EEPROMs & Flash ICs. ICP2PORT(G3) hardware is designed to support popular

...

Learn More
Add To Cart
Softlog ICP2PORT(G3)-P Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3)-P Portable In-Circuit Production Programmer ( TPG100010-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field upgrades. ICP2PORT(G3)-P programs Microchip 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs and Serial EEPROMs & Flash ICs. ICP2PORT(G3)-P

...

Learn More
Add To Cart
Softlog ICP2PORT(G3)-PX Portable In-Circuit Production Programmer
Softlog ICP2PORT(G3)-PX Portable In-Circuit Production Programmer ( TPG100011-G3 )

A member of the ICP(G3) family of high-speed, production-grade in-circuit programmers. This compact, battery-powered device supports up to six different programming environments, making it an ideal, low-cost solution for field

...

Learn More
Add To Cart
Softlog ICP2(G3)-DPX ICSP Production Programmer
Softlog ICP2(G3)-DPX ICSP Production Programmer ( TPG100012-G3 )

The ICP2(G3)-DPX Production Quality In-Circuit Programmer is a cost-effective programmer that operates with a PC or as a standalone unit. It programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash ICs. ICP2(G3)-DPX hardware is designed to support popular programming interfaces

...

Learn More
Add To Cart
Softlog ICP2GANG(G3)-DPX ICSP 4-Channel Gang Programmer
Softlog ICP2GANG(G3)-DPX ICSP 4-Channel Gang Programmer ( TPG100013-G3 )

The ICP2GANG(G3)-DPX Production Quality In-Circuit 4-channel (expandable to 64 channels) GANG programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash ICs. ICP2GANG(G3)-DPX

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-DPX-8 8-Channel Gang Programmer
Softlog ICP2COMBO(G3)-DPX-8 8-Channel Gang Programmer ( TPG100015-G3 )

The ICP2COMBO(G3)-DPX-8 Production Quality In-Circuit (ICSP) 8-channel (expandable up to 64 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs, 16-bit PIC MCUs & dsPIC® DSCs, 32-bit PIC & ARM Cortex M0/0+/23/3/4/7 MCUs and Serial EEPROMs & Flash

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-12 12-Channel Gang Programmer
Softlog ICP2COMBO(G3)-12 12-Channel Gang Programmer ( TPG100016-G3 )

The ICP2COMBO(G3)-12 Production Quality In-Circuit (ICSP) 12-channel (expandable up to 60 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2COMBO(G3)-12 hardware is designed to support popular programming interfaces (ICSP™, JTAG,

...

Learn More
Add To Cart
Softlog ICP2COMBO(G3)-8 8-Channel Gang Programmer
Softlog ICP2COMBO(G3)-8 8-Channel Gang Programmer ( TPG100017-G3 )

The ICP2COMBO(G3)-8 Production Quality In-Circuit (ICSP) 8-channel (expandable up to 64 channels) GANG Programmer is a cost-effective programmer that operates with a PC or as a standalone unit and simultaneously programs 8-bit PIC® & AVR® MCUs and serial EEPROMs & Flash ICs. ICP2COMBO(G3)-8 hardware is designed to support popular programming interfaces (ICSP™, JTAG,

...

Learn More
Add To Cart
Demo & Evaluation Boards
XPRO Shield Adapter
XPRO Shield Adapter ( ATARDADPT-XPRO )

The XPRO-Shield Adapter enables Xplained Pro boards to be interfaced with standard Arduino shields.

Learn More
Add To Cart
ATmega324PB-XPRO
ATmega324PB-XPRO ( ATMEGA324PB-XPRO )

The ATmega324PB Xplained Pro evalutation kit is a hardware platform for evaluating the ATmega324PB microcontroller (MCU). The ATmega324PB-XPRO evaluation kit does not include extension boards which can be purchased individually. ATmega324PB Xplained Pro currently supports more than 20 extension boards including wired and wireless connectivity, crytpo authentication, QTouch capacitive touch

...

Learn More
Add To Cart
Power Debugger kit
Power Debugger kit ( ATPOWERDEBUGGER )

Power Debugger is a powerful development tool for debugging and programming AVR microcontrollers using UPDI, JTAG, PDI, debugWIRE, aWire, TPI or SPI target interfaces and ARM® Cortex®-M based SAM microcontrollers using JTAG or SWD target interfaces.

In addition the Power Debugger has two independent current sensing channels for measuring and optimizing the power consumption of

...

Learn More
Add To Cart
Signal&Noise Generator
Signal&Noise Generator ( DM080100 )

Signal and Noise Generator is an extension board for the Xplained Pro evaluation platform. It is designed
to generate an analog signal with or without noise.

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
SRAM (B)
Price 5K
Notes
44
16
1,024
$2.22
 
44
16
1,024
$2.63
 
44
16
1,024
$2.45
 
44
32
2,048
$2.51
 
44
32
2,048
$3.38
 
44
32
2,048
$2.77
 
44
32
2,048
$1.30
 
44
64
4,096
$3.77
 
44
64
4,096
$3.04
 
44
64
4,096
$3.87
 
44
64
4,096
$3.54
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
ATMEGA324PB-AN
0.273300
1.187500
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-AU
0.273300
1.187500
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-ANR
0.273300
0.748333
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-AUR
0.273300
0.748333
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-ABT
0.273300
0.748333
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-ABTVAO
0.273300
0.748333
44
TQFP
10x10x1mm
Matte Tin
e3
ATMEGA324PB-MBT
0.138800
0.261000
44
VQFN
7x7x1mm
Matte Tin
e3
ATMEGA324PB-MBTVAO
0.138800
0.261000
44
VQFN
7x7x1mm
Matte Tin
e3
ATMEGA324PB-MU
0.137900
0.627778
44
VQFN
7x7x1mm
Matte Tin
e3
ATMEGA324PB-MN
0.137900
0.627778
44
VQFN
7x7x1mm
Matte Tin
e3
ATMEGA324PB-MUR
0.137900
0.061000
44
VQFN
7x7x1mm
Matte Tin
e3
ATMEGA324PB-MNR
0.137900
0.061000
44
VQFN
7x7x1mm
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from Microchip

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy