ATMEGA329V-8MU Atmel, ATMEGA329V-8MU Datasheet - Page 283

IC AVR MCU 32K 8MHZ 64-QFN

ATMEGA329V-8MU

Manufacturer Part Number
ATMEGA329V-8MU
Description
IC AVR MCU 32K 8MHZ 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA329V-8MU

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
Processor Series
ATMEGA32x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
SPI, USART, USI
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
54
Number Of Timers
3
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
For Use With
ATSTK600-TQFP64 - STK600 SOCKET/ADAPTER 64-TQFP770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRISP2 - PROGRAMMER AVR IN SYSTEMATJTAGICE2 - AVR ON-CHIP D-BUG SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
26.6
26.7
2552K–AVR–04/11
Addressing the Flash During Self-Programming
Self-Programming the Flash
The Z-pointer is used to address the SPM commands.
Since the Flash is organized in pages (see
be treated as having two different sections. One section, consisting of the least significant bits, is
addressing the words within a page, while the most significant bits are addressing the pages.
This is shown in
addressed independently. Therefore it is of major importance that the Boot Loader software
addresses the same page in both the Page Erase and Page Write operation. Once a program-
ming operation is initiated, the address is latched and the Z-pointer can be used for other
operations.
The only SPM operation that does not use the Z-pointer is Setting the Boot Loader Lock bits.
The content of the Z-pointer is ignored and will have no effect on the operation. The LPM
instruction does also use the Z-pointer to store the address. Since this instruction addresses the
Flash byte-by-byte, also the LSB (bit Z0) of the Z-pointer is used.
Figure 26-3. Addressing the Flash During SPM
Note:
The program memory is updated in a page by page fashion. Before programming a page with
the data stored in the temporary page buffer, the page must be erased. The temporary page buf-
Bit
ZH (R31)
ZL (R30)
Z - REGISTER
1. The different variables used in
2. PCPAGE and PCWORD are listed in
PROGRAM MEMORY
BIT
Z15
PAGE
15
Z7
PROGRAM
COUNTER
7
15
Figure
PAGE ADDRESS
WITHIN THE FLASH
Z14
ZPCMSB
Z6
PCMSB
14
6
26-3. Note that the Page Erase and Page Write operations are
PCPAGE
Z13
13
Z5
5
Figure 26-3
Z12
12
Z4
4
ZPAGEMSB
PAGEMSB
Table 27-10 on page
PCWORD
ATmega329/3290/649/6490
Table 27-10 on page
WORD ADDRESS
WITHIN A PAGE
Z11
(1)
11
Z3
3
are listed in
1
0
0
INSTRUCTION WORD
Z10
10
Z2
2
PAGE
Table 26-8 on page
298.
298), the Program Counter can
Z9
Z1
9
1
Z8
Z0
8
0
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
290.
283

Related parts for ATMEGA329V-8MU