ATMEGA168PA
8-bit MicrocontrollerThe ATMEGA168PA is a 8-bit microcontroller from Microchip Technology. View the full ATMEGA168PA datasheet below including key specifications, electrical characteristics, absolute maximum ratings.
Official ATMEGA168PA datasheet (PDF) — the source this page was extracted from.
Manufacturer
Microchip TechnologyCategory
Microcontrollers (MCU)ATMEGA168PA Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, SPI, UART/USART |
| Core Processor | AVR |
| Core Size | 8-Bit |
| Data Converters | A/D 8x10b |
| DigiKey Programmable | Verified |
| EEPROM Size | 512 x 8 |
| Mounting Type | Surface Mount |
| Number of I/O | 23 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | Internal |
| Package / Case | 32-TQFP |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| Flash Memory Size | 16KB (8K x 16) |
| Program Memory Type | FLASH |
| RAM Size | 1K x 8 B |
| Clock Speed | 20MHz |
| Supplier Device Package | 32-TQFP (7x7) |
| Supply Voltage | 1.8V ~ 5.5V |
ATMEGA168PA Overview
Part: ATmega168PA-AU — Microchip (Atmel)
Type: 8-bit AVR Microcontroller
Description: Low-power 8-bit AVR RISC microcontroller with 16 KB Flash, 512 B EEPROM and 1 KB SRAM, running at up to 20 MHz (20 MIPS) from a 1.8–5.5 V supply.
Operating Conditions:
- Supply voltage: 1.8–5.5 V
- Operating temperature: -40 to 85 °C
- Speed grade: 0–4 MHz @ 1.8–5.5 V, 0–10 MHz @ 2.7–5.5 V, 0–20 MHz @ 4.5–5.5 V
Absolute Maximum Ratings:
- Max operating voltage: 6.0 V
- Voltage on any pin except RESET: -0.5 V to VCC + 0.5 V
- Voltage on RESET: -0.5 V to +13.0 V
- DC current per I/O pin: 40.0 mA
- DC current VCC and GND pins: 200.0 mA
- Storage temperature: -65 to +150 °C
Key Specs:
- Flash/EEPROM/SRAM (ATmega168PA): 16 KB / 512 B / 1 KB
- Throughput: up to 20 MIPS at 20 MHz
- 131 instructions, most single-cycle; 32 × 8 general-purpose registers
- Active mode current: 0.2 mA (1 MHz, 1.8 V, 25 °C)
- Power-down current: 0.1 μA (1 MHz, 1.8 V, 25 °C)
- Power-save current: 0.75 μA, including 32 kHz RTC (1 MHz, 1.8 V, 25 °C)
- 23 programmable I/O lines
- Endurance: 10,000 Flash / 100,000 EEPROM write/erase cycles
- 10-bit ADC: 8 channels in TQFP/VQFN packages, 6 channels in SPDIP
Features:
- AVR enhanced RISC architecture with on-chip 2-cycle multiplier
- In-system self-programmable Flash with true read-while-write operation
- Optional boot code section with independent lock bits
- QTouch library support, up to 64 sense channels
- Two 8-bit timer/counters and one 16-bit timer/counter
- Real-time counter with separate oscillator
- Six PWM channels
- USART, SPI, and I²C-compatible 2-wire interface
- Programmable watchdog timer with separate on-chip oscillator
- Analog comparator and pin-change interrupts
- Power-on reset and programmable brown-out detection
- Internal calibrated oscillator
- Six sleep modes
- Data retention: 20 years at 85 °C / 100 years at 25 °C
Applications:
- Low-power embedded control
- Capacitive touch interfaces (buttons, sliders, wheels)
Package:
- 28-pin SPDIP
- 32-lead TQFP
- 28-pad VQFN
- 32-pad VQFN
ATMEGA168PA Features
- ® 8-Bit Microcontroller Family
- Advanced RISC Architecture
̶
- 131 Powerful Instructions - Most Single Clock Cycle Execution
̶
- 32 x 8 General Purpose Working Registers
̶
- Up to 20 MIPS Throughput at 20MHz
̶
- On-chip 2-cycle Multiplier
- High Endurance Non-volatile Memory Segments
̶
- 4/8/16/32KBytes of In-System Self-Programmable Flash program memory
̶
- 256/512/512/1KBytes EEPROM
̶
- 512/1K/1K/2KBytes Internal SRAM
̶
- Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
̶
- Data retention: 20 years at 85°C/100 years at 25°C (1)
̶
- 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
- QTouch ® library support
̶
- Capacitive touch buttons, sliders and wheels
̶
- QTouch and QMatrix™ acquisition
̶
- Up to 64 sense channels
- Peripheral Features
̶
- Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
̶
- One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode
̶
ATMEGA168PA Pin Configuration
Figure 1-1. Pinout ATmega48A/PA/88A/PA/168A/PA/328/P
ATMEGA168PA Electrical Characteristics
Table 29-1. ATmega48A DC characteristics - T A = -40 C to 85 C, V CC = 1.8V to 5.5V (unless otherwise noted)
| Symbol | Parameter | Condition | Min. | Typ. (2) | Max. | Units |
|---|---|---|---|---|---|---|
| I CC | Power Supply Current (1) | Active 1MHz, V CC = 2V | 0.2 | 0.55 | mA | |
| I CC | Power Supply Current (1) | Active 4MHz, V CC = 3V | 1.2 | 3.5 | mA | |
| I CC | Power Supply Current (1) | Active 8MHz, V CC = 5V | 4.0 | 12 | mA | |
| I CC | Power Supply Current (1) | Idle 1MHz, V CC = 2V | 0.03 | 0.5 | mA | |
| I CC | Power Supply Current (1) | Idle 4MHz, V CC = 3V | 0.21 | 1.5 | mA | |
| I CC | Power Supply Current (1) | Idle 8MHz, V CC = 5V | 0.9 | 5.5 | mA | |
| I CC | Power-save mode (3) | 32kHz TOSC enabled, V CC = 1.8V | 0.75 | μA | ||
| I CC | Power-save mode (3) | 32kHz TOSC enabled, V CC = 3V | 0.9 | μA | ||
| I CC | Power-down mode (3) | WDT enabled, V CC = 3V | 3.9 | 15 | μA | |
| I CC | Power-down mode (3) | WDT disabled, V CC = 3V | 0.1 | 2 | μA |
Notes:
-
Values with 'Minimizing Power Consumption' enabled (0xFF).
-
Typical values at 25 C.
-
The current consumption values include input leakage current.
*NOTICE:
Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ATMEGA168PA Absolute Maximum Ratings
| Operating Temperature . . . . . . . . . | . . -55 C to +125 C |
|---|---|
| Storage Temperature. . . . . . . . . . . | . . -65°C to +150°C |
| Voltage on any Pin except RESET with respect to Ground . . . . . . . . . | .-0.5V to V CC +0.5V |
| Voltage on RESET with respect to Ground-0.5V to +13.0V | Voltage on RESET with respect to Ground-0.5V to +13.0V |
| Maximum Operating Voltage . . . . . | . . . . . . . . . . . .6.0V |
| DC Current per I/O Pin . . . . . . . . . | . . . . . . . . . 40.0mA |
| DC Current V CC and GND Pins. . . | . . . . . . . . 200.0mA |
ATMEGA168PA Package Information
| Dimension Limits | Units - Dimension Limits | MILLIMETERS - MIN | MILLIMETERS - NOM | MILLIMETERS - MAX |
|---|---|---|---|---|
| Contact Pitch | E | 0.50 BSC | ||
| Optional Center Pad Width | X2 | 3.25 | ||
| Optional Center Pad Length | Y2 | 3.25 | ||
| Contact Pad Spacing | C1 | 4.90 | ||
| Contact Pad Spacing | C2 | 4.90 | ||
| Contact Pad Width (X32) | X1 | 0.30 | ||
| Contact Pad Length (X32) | Y1 | 0.85 | ||
| Contact Pad to Center Pad (X32) | G1 | 0.40 | ||
| Contact Pad to Contact Pad (X28) | G2 | 0.20 | ||
| Thermal Via Diameter | V | 0.33 | ||
| Thermal Via Pitch | EV | 0.20 |
Variants on the same datasheet
These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.
| Part Number | Manufacturer | Package |
|---|---|---|
| ATMEGA168A | Microchip Technology | — |
| ATMEGA168A-AU | Microchip Technology | TQFP |
| ATMEGA168A-AUR | Microchip Technology | TQFP |
| ATMEGA168A-MMH | Microchip Technology | VQFN |
| ATMEGA168A-MMHR | Microchip Technology | VQFN |
| ATMEGA168A-MU | Microchip Technology | QFN |
| ATMEGA168A-MUR | Microchip Technology | VQFN-32 |
| ATMEGA168A-PU | Microchip Technology | PDIP |
| ATMEGA168A/168PA | Microchip Technology | — |
| ATMEGA168A/168PA/328/328P | Microchip Technology | — |
| ATMEGA168PA-AN | Microchip Technology | TQFP-32 |
| ATMEGA168PA-ANR | Microchip Technology | TQFP-32 |
| ATMEGA168PA-AU | Microchip Technology | 32-TQFP |
| ATMEGA168PA-AUR | Microchip Technology | TQFP |
| ATMEGA168PA-MMH | Microchip Technology | VQFN |
| ATMEGA168PA-MMHR | Microchip Technology | VQFN |
| ATMEGA168PA-MN | Microchip Technology | VQFN-32 5x5mm |
| ATMEGA168PA-MNR | Microchip Technology | VQFN-32 5x5mm |
| ATMEGA168PA-MU | Microchip Technology | QFN |
| ATMEGA168PA-MUR | Microchip Technology | VQFN-32 5x5mm |
| ATMEGA168PA-PN | Microchip Technology | SPDIP-28 |
| ATMEGA168PA-PU | Microchip Technology | PDIP |
| ATMEGA328 | Microchip Technology | |
| ATmega328P | Microchip Technology | 32-lead TQFP |
| ATMEGA48A | Microchip Technology | — |
| ATMEGA48A/PA/88A/PA/168A/PA/328/P | Microchip Technology | — |
| ATMEGA48PA | Microchip Technology | — |
| ATMEGA88A | Microchip Technology | — |
| ATMEGA88PA | Microchip Technology | — |
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- RP2040 – Raspberry Pi, Microcontroller
- NRF52840-QIAA-R7 – Nordic Semiconductor, Wireless Microcontroller
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
All Microcontrollers (MCU) datasheetsAll Microchip Technology datasheets (599)
Ask your AI agent about the ATMEGA168PA
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the ATMEGA168PA run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.