ATMEGA8HVD-4MX

ATMEGA8HVD-4MX Datasheet


124 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Up to 4 MIPS Throughput at 4 MHz<br>• Nonvolatile Program and Data Memories 4K/8K Bytes of In-System Self-Programmable Flash ATmega4HVD/8HVD 256 Bytes EEPROM 512 Bytes Internal SRAM Write/Erase Cycles 10,000 Flash/ 100,000 EEPROM Data Retention 20 years at 85°C /100 years at 25°C 1 Programming Lock for Software Security<br>• Battery Management Features One Cell Batteries Short-circuit Protection Discharge Over-current Protection Charge and Discharge External Protection Input High Voltage Outputs to Drive N-Channel Charge/Discharge FETs Operation with 1 FET or 2 FETs supported

Part Datasheet
ATMEGA8HVD-4MX ATMEGA8HVD-4MX ATMEGA8HVD-4MX (pdf)
Related Parts Information
ATMEGA4HVD-4MX ATMEGA4HVD-4MX ATMEGA4HVD-4MX
PDF Datasheet Preview
• High Performance, Low Power 8-bit Microcontroller
• Advanced RISC Architecture
124 Powerful Instructions - Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation Up to 4 MIPS Throughput at 4 MHz
• Nonvolatile Program and Data Memories 4K/8K Bytes of In-System Self-Programmable Flash ATmega4HVD/8HVD 256 Bytes EEPROM 512 Bytes Internal SRAM Write/Erase Cycles 10,000 Flash/ 100,000 EEPROM Data Retention 20 years at 85°C /100 years at 25°C 1 Programming Lock for Software Security
• Battery Management Features One Cell Batteries Short-circuit Protection Discharge Over-current Protection Charge and Discharge External Protection Input High Voltage Outputs to Drive N-Channel Charge/Discharge FETs Operation with 1 FET or 2 FETs supported

Charge FET is optional Battery authentication features Available only under NDA
• Peripheral Features Two 8/16-bit Timer/Counters with Separate Prescaler and two output compare
units 10-bit ADC with One External Input Two High-voltage open-drain I/O pins Programmable Watchdog Timer
• Special Microcontroller Features debugWIRE On-chip Debug System In-System Programmable Power-on Reset On-chip Voltage Reference with built-in Temperature Sensor On-chip Voltage Regulator External and Internal Interrupt Sources Sleep Modes:

Idle, ADC Noise Reduction, Power-save, and Power-off
• Package
18-pad DRDFN/ MLF
• Operating Voltage VFET - 6.0V
• Operating Voltage VCC - 2.4V
• Maximum Withstand Voltage VFET 12V
• Maximum Withstand Voltage High-voltage pins 5V
• Temperature Range -20°C to 85°C
• Speed Grade 1 - 4 MHz
8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash

ATmega4HVD ATmega8HVD Preliminary

Pin Configurations

Figure Dual Row DFN/ MLF-pinout ATmega4HVD/8HVD.

Top view

B10 A8

B9 A7

B8 A6

B7 A5

Bottom view

B1 A1

B2 A2

B3 A3

B4 A4

Table 1

Dual Row DFN/ MLF-pinout ATmega4HVD/8HVD.

BATT GND

SCK/

SGND/T0

VFET VREG

PB0 ADC0

PB2 MISO/CKOUT/T1

PC1 MOSI/INT1/ EXT_PROT

PC0 INT0/ICP0/XTAL

RESET
2 ATmega4HVD/8HVD

ATmega4HVD/8HVD

Pin Descriptions

VFET

Input to the internal voltage regulator.

VREG

Pin for connection of external decoupling capacitor. VCC is internally connected to the voltage regulator output VREG.

Output from the internal voltage regulator. Internally connected to VCC.

Ground Port B PB2:PB0

Port B is a low-voltage 3-bit bi-directional I/O port with internal pull-up resistors selected for each bit . As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running.
Ordering Information

ATmega4HVD

Speed MHz 1 - 4 MHz

Power Supply - 2.4V
Ordering Code ATmega4HVD-4MX

Package 18M1

Operation Range -20 - 85°C
Note This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities.
18M1

Package Type 18-pad Staggered Dual-row x mm Body. x mm Exposed Pad, MLF
158 ATmega4HVD/8HVD

ATmega4HVD/8HVD

ATmega8HVD

Speed MHz 1 - 4 MHz

Power Supply - 2.4V
Ordering Code ATmega8HVD-4MX

Package 18M1

Operation Range -20 - 85°C
Note This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities.
18M1

Package Type 18-pad Staggered Dual-row x mm Body. x mm Exposed Pad, MLF

Packaging Information
18M1

Pin 1 ID E

SIDE VIEW y

TOP VIEW

B10 A8

B9 A7

B7 A5

R0.20 BOTTOM VIEW
eT/2

Note The terminal #1 ID is a Laser-marked Feature.

COMMON DIMENSIONS Unit of Measure = mm

SYMBOL MIN NOM MAX NOTE

TITLE 2325 Orchard Parkway 18M1, 18-pad Staggered Dual-row , x mm Body,

R San Jose, CA 95131 x mm Exposed Pad, Package MLF
3/21/07
18M1
160 ATmega4HVD/8HVD

Errata

ATmega4HVD

ATmega8HVD

No known errata.

ATmega4HVD/8HVD

Updated Table 20-2 on page 110 and Table 20-3 on page 111 in the Register summary of section of ”Battery Protection” on page
162 ATmega4HVD/8HVD

ATmega4HVD/8HVD

Table of Contents

Features 1 Pin Configurations 2
1.1Pin Descriptions
2 Overview 4 3 Resources 5 4 Data Retention 5 About Code Examples 5 6 AVR CPU Core 6
6.1Overview 6.2ALU Arithmetic Logic Unit 6.3Status Register 6.4General Purpose Register File 6.5Stack Pointer 6.6Instruction Execution Timing 6.7Reset and Interrupt Handling
7 AVR Memories 14
7.1Overview 7.2In-System Reprogrammable Flash Program Memory 7.3SRAM Data Memory 7.4EEPROM Data Memory 7.5I/O Memory 7.6Register Description
8 System Clock and Clock Options 22
8.1Clock Systems and their Distribution 8.2Clock Sources 8.3Calibrated Fast RC Oscillator 8.4Slow RC Oscillator 8.5Ultra Low Power RC Oscillator 8.6CPU, I/O, Flash, and ADC Clock 8.7Watchdog Timer and Battery Protection 8.8Clock Startup Sequence 8.9Clock Output
8.10System Clock Prescaler 8.11ADC Clock Prescaler 8.12OSI Oscillator Sampling Interface 8.13Register Description
9 Power Management and Sleep Modes 32
9.1Sleep Modes 9.2Idle Mode 9.3ADC Noise Reduction 9.4Power-save Mode 9.5Power-off Mode 9.6Power Reduction Register 9.7Minimizing Power Consumption 9.8Register Description
27 Typical Characteristics TBD 150 28 Register Summary 151 29 Instruction Set Summary 155 30 Ordering Information 158
30.1ATmega4HVD 30.2ATmega8HVD
31 Packaging Information 160
31.118M1
32 Errata 161
32.1ATmega4HVD 32.2ATmega8HVD
33.1Rev. B - 09/08 33.2Rev. A - 09/08

Table of i

Headquarters

Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel 1 408 441-0311 Fax 1 408 487-2600

International

Atmel Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel 852 2721-9778 Fax 852 2722-1369

Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-enYvelines Cedex France Tel 33 1-30-60-70-00 Fax 33 1-30-60-71-11

Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel 81 3-3523-3551 Fax 81 3-3523-7581

Product Contact

Web Site

Literature Requests

Technical Support

Sales Contact

Disclaimer The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
2008 Atmel Corporation. All rights reserved. logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
More datasheets: MPXQP56K | MPXQP47K | MPXQP33K | MPXQP22K | MPXQP1K | MPXQP15K | MPXQD68K | MPXQD47K | MPXQS47K | ATMEGA4HVD-4MX


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived ATMEGA8HVD-4MX Datasheet file may be downloaded here without warranties.

Datasheet ID: ATMEGA8HVD-4MX 519266