Features
• High Performance, Low Power AVR® 8-bit Microcontroller
• Advanced RISC Architecture
– 131 Powerful Instructions - Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 8 MIPS Throughput at 8 MHz
• High Endurance Non-volatile Memory Segments
– 16K/32K Bytes of In-System Self-Programmable Flash (ATmega16HVB/32HVB)
– 512/1K Bytes EEPROM
8-bit
– 1K/2K 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)
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
Microcontroller
with 16K/32K
Bytes In-System
Programmable
Flash
– Programming Lock for Software Security
• Battery Management Features
– Two, three or Four Cells in Series
– High-current Protection (Charge and Discharge)
– Over-current Protection (Charge and Discharge)
– Short-circuit Protection (Discharge)
– High Voltage Outputs to Drive N-Channel Charge/Discharge FETs
– Optional Deep Under Voltage Recovery mode - allowing 0-volt charging without
external Precharge FET
– Optional High Voltage Open Drain ouput - allowing 0-volt charging with external
Precharge FET
ATmega16HVB
ATmega32HVB
– Integrated Cell Balancing FETs
• Peripheral Features
– Two configurable 8- or 16-bit Timers with Separate Prescaler, Optional Input Capture
(IC), Compare Mode and CTC
Preliminary
– SPI - Serial Peripheral Interface
– 12-bit Voltage ADC, Six External and One Internal ADC Input
– High Resolution Coulomb Counter ADC for Current Measurements
– TWI Serial Interface supporting SMBus implementation
– Programmable Watchdog Timer
• Special Microcontroller Features
– debugWIRE On-chip Debug System
– In-System Programmable via SPI ports
– Power-on Reset
– On-chip Voltage Regulator with Short-circuit Monitoring Interface
– External and Internal Interrupt Sources
– Sleep Modes: Idle, ADC Noise Reduction, Power-save, and Power-off
• Additional Secure Authentication Features available only under NDA
• Packages
– 44-pin TSSOP
• Operating Voltage: 4 - 25V
• Maximum Withstand Voltage (High-voltage pins): 35V
• Temperature Range: -40°C to 85°C
• Speed Grade: 1-8 MHz
Note:
1. See ”Data Retention” on page 8 for details.
8042B–AVR–06/10