Datasheet

i
ATmega169A/PA/329A/PA/649A/P/3290A/PA/6490A/P [DATASHEET]
8284E–AVR–02/2013
Table of Contents
Features ..................................................................................................... 1
1 Pin configurations ....................................................................................2
1.1Pinout - 64A (TQFP) and 64M1 (QFN/MLF) ..............................................................2
1.2Pinout - 100A (TQFP) ................................................................................................3
1.3Pinout - 64MC (DRQFN) ...........................................................................................4
2 Overview ...................................................................................................5
2.1Block diagram ............................................................................................................5
2.2Comparison between Atmel
ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 7
2.3Pin descriptions .........................................................................................................8
3 Resources ...............................................................................................11
4 Data retention .........................................................................................11
5 About code examples ............................................................................11
6 Capacitive touch sensing ...................................................................... 11
7 AVR CPU core ......................................................................................... 12
7.1Overview ..................................................................................................................12
7.2Architectural overview .............................................................................................12
7.3ALU – Arithmetic Logic Unit .....................................................................................13
7.4AVR Status Register ................................................................................................13
7.5General Purpose Register File ................................................................................14
7.6Stack pointer ............................................................................................................16
7.7Instruction execution timing .....................................................................................16
7.8Reset and interrupt handling ...................................................................................17
8 AVR memories ........................................................................................ 20
8.1In-system reprogrammable flash program memory .................................................20
8.2SRAM data memory ................................................................................................20
8.3EEPROM data memory ...........................................................................................22
8.4I/O memory ..............................................................................................................26
8.5General purpose I/O registers .................................................................................26
8.6Register description .................................................................................................26
9 System clock and clock options ........................................................... 29
9.1Clock systems and their distribution ........................................................................29
9.2Clock sources ..........................................................................................................30