ATMEGA16HVA-4TU Atmel, ATMEGA16HVA-4TU Datasheet - Page 158

MCU AVR 16K FLASH 4MHZ 28-TSOP

ATMEGA16HVA-4TU

Manufacturer Part Number
ATMEGA16HVA-4TU
Description
MCU AVR 16K FLASH 4MHZ 28-TSOP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA16HVA-4TU

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Connectivity
SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
7
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 9 V
Data Converters
A/D 5x12b
Oscillator Type
External
Operating Temperature
-20°C ~ 85°C
Package / Case
28-TSOP
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16HVA-4TU
Manufacturer:
Atmel
Quantity:
20
27.8.3
27.8.4
158
ATmega8HVA/16HVA
Chip Erase
Programming the Flash
The Chip Erase will erase the Flash and EEPROM
not reset until the Program memory has been completely erased. The Fuse bits are not
changed. A Chip Erase must be performed before the Flash and/or EEPROM are re-
programmed.
Note:
1. Load command “Chip Erase” (see
2. Wait after Instr.3 until SDO goes high for the “Chip Erase” cycle to finish.
3. Load Command “No Operation”.
The Flash is organized in pages, see
the program data is latched into a page buffer. This allows one page of program data to be pro-
grammed simultaneously. The following procedure describes how to program the entire Flash
memory:
1. Load Command “Write Flash” (see
2. Load Flash Page Buffer.
3. Load Flash High Address and Program Page. Wait after Instr. 3 until SDO goes high for
4. Repeat 2 through 3 until the entire Flash is programmed or until all data has been
5. End Page Programming by Loading Command “No Operation”.
When writing or reading serial data to the ATmega8HVA/16HVA, data is clocked on the rising
edge of the serial clock, see
page 173
Figure 27-4. Addressing the Flash which is Organized in Pages
the “Page Programming” cycle to finish.
programmed.
1. The EEPROM memory is preserved during Chip Erase if the EESAVE Fuse is programmed.
for details.
PROGRAM MEMORY
PROGRAM
COUNTER
PAGE
PAGE ADDRESS
WITHIN THE FLASH
PCMSB
Figure
PCPAGE
27-5,
Table 27-10 on page
Table
Table
Figure 29-4
PAGEMSB
PCWORD
27-14).
27-14).
WORD ADDRESS
WITHIN A PAGE
(1)
memories plus Lock bits. The Lock bits are
and
INSTRUCTION WORD
”High-voltage Serial Programming” on
154. When programming the Flash,
PAGE
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
8024A–AVR–04/08

Related parts for ATMEGA16HVA-4TU