ATmega16HVB Atmel Corporation, ATmega16HVB Datasheet
ATmega16HVB
Specifications of ATmega16HVB
Available stocks
Related parts for ATmega16HVB
ATmega16HVB Summary of contents
Page 1
... Fully static operation – eight MIPS throughput at 8MHz • High endurance non-volatile memory segments – 16K/32Kbytes of in-system self-programmable flash (Atmel ATmega16HVB/32HVB) – 512/1Kbytes EEPROM – 1K/2Kbytes internal SRAM – Write/erase cycles 10,000 flash/100,000 EEPROM – Data retention: 20 years at 85°C/100 years at 25°C – ...
Page 2
... Pin configurations 1.1 TSSOP Figure 1-1. TSSOP - pinout the Atmel ATmega16HVB/32HVB. NI NNI VREFGND VREF GND VREG PA0(ADC0/SGND/PCINT0) PA1(ADC1/SGND/PCINT1) PA2(PCINT2/T0) PA3(PCINT3/T1) VCLMP10 VFET BATT VCC GND RESET/dw PB0(PCINT4/ICP00) PB1(PCINT5/CKOUT) PB2(PCINT6) ATmega16HVB/32HVB ...
Page 3
... As inputs, Port A pins that are externally pulled low will source current if the pull-up resistors are activated. The Port A pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port A also serves the functions of various special features of the Atmel ATmega16HVB/32HVB as listed in 1.2.9 Port B (PB7 ...
Page 4
... Reset input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running. The minimum pulse length is given in 228. Shorter pulses are not guaranteed to generate a reset. This pin is also used as debugWIRE communication pin. ATmega16HVB/32HVB 4 ”FET driver” on page ”Voltage ADC – 7-channel gen- 117. ” ...
Page 5
... Overview The Atmel ATmega16HVB/32HVB is a monitoring and protection circuit for 3- and 4-cell Li-ion applications with focus on highest safety including safe authentication, low cost and high utiliza- tion of the cell energy. The device contains secure authentication features as well as autonomous battery protection during charging and discharging. The External Protection Input ...
Page 6
... It is part of the AVR Battery Management family that provides secure authentication, highly accurate monitoring and autonomous protection for Lithium-ion battery cells. The ATmega16HVB/32HVB AVR is supported with a full suite of program and system develop- ment tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, and On- chip Debugger. ...
Page 7
... Comparison between the Atmel ATmega16HVB and the Atmel ATmega32HVB The ATmega16HVB and the ATmega32HVB differ only in memory size for Flash, EEPROM and internal SRAM. Table 2-1. 8042CS–AVR–06/11 Table 2-1 summarizes the different configuration for the two devices. Configuration summary. Device Flash ...
Page 8
... Data retention Reliability Qualification results show that the projected data retention failure rate is much less than one PPM over 20 years at 85°C or 100 years at 25°C. ATmega16HVB/32HVB 8 1. 8042CS–AVR–06/11 ...
Page 9
... ATmega16HVB/32HVB Bit 2 Bit 1 Bit 0 – – – – BPPLE BPPL COCD DHCD CHCD HCPT[5:0] OCPT[5:0] – – – COCIF DHCIF CHCIF ...
Page 10
... TCNT1L (0x83) Reserved – (0x82) Reserved – (0x81) TCCR1B – (0x80) TCCR1A TCW1 (0x7F) Reserved – (0x7E) DIDR0 – ATmega16HVB/32HVB 10 Bit 6 Bit 5 Bit 4 Bit 3 – – – – TWBCIE – – – TWAM[6:0] TWEA TWSTA TWSTO TWWC 2–wire Serial Interface Data Register ...
Page 11
... EEPROM Address Register Low Byte EEPROM Data Register – EEPM1 EEPM0 EERIE General Purpose I/O Register 0 – – – INT3 – – – INTF3 ATmega16HVB/32HVB Bit 2 Bit 1 Bit 0 – – – VADMUX[3:0] – – – VADSC VADCCIF VADCCIE VADC Data Register High byte – ...
Page 12
... When using the I/O specific commands IN and OUT, the I/O addresses $00 - $3F must be used. When addressing I/O regis- ters as data space using LD and ST instructions, $20 must be added to these addresses. The Atmel ATmega16HVB/32HVB is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions ...
Page 13
... PC ← then PC ← then PC ← then PC ← then PC ← then PC ← ATmega16HVB/32HVB Operation Flags ...
Page 14
... Rd, Z Load Program Memory LPM Rd, Z+ Load Program Memory and Post-Inc SPM Store Program Memory IN Rd Port ATmega16HVB/32HVB 14 Description then PC ← then PC ← I/O(P,b) ← 1 I/O(P,b) ← 0 Rd(n+1) ← Rd(n), Rd(0) ← 0 Rd(n) ← Rd(n+1), Rd(7) ← 0 Rd(0)←C,Rd(n+1)← Rd(n),C←Rd(7) Rd(7)←C,Rd(n)← Rd(n+1),C←Rd(0) Rd(n) ← ...
Page 15
... WDR Watchdog Reset BREAK Break 8042CS–AVR–06/11 Description P ← Rr STACK ← ← STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only ATmega16HVB/32HVB Operation Flags None None None None None None None #Clocks 1 ...
Page 16
... Ordering information 9.1 The Atmel ATmega16HVB Speed (MHz) Power supply 1MHz - 8MHz 4V - 25V 44X1 44-lead, 4.4mm body width, plastic thin shrink small outline package (TSSOP) ATmega16HVB/32HVB 16 Ordering code Package ATMEGA16HVB-8X3 44X1 Package type Operation range -40°C to 85°C 8042CS–AVR–06/11 ...
Page 17
... The Atmel ATmega32HVB Speed (MHz) Power supply 1MHz - 8MHz 4V - 25V 44X1 44-lead, 4.4mm body width, plastic thin shrink small outline package (TSSOP) 8042CS–AVR–06/11 ATmega16HVB/32HVB Ordering code Package ATMEGA32HVB-8X3 44X1 Package type Operation range -40°C to 85°C 17 ...
Page 18
... Note: These drawings are for general information only. Refer to JEDEC Drawing MO-153BE. Note: These drawings are for general information only. Refer to JEDEC Drawing MO-153BE. 2325 Orchard Parkway San Jose, CA 95131 2325 Orchard Parkway R San Jose, CA 95131 R ATmega16HVB/32HVB ...
Page 19
... The Atmel ATmega16HVB 11.1.1 Rev. B Stack pointer initial value The stack pointer in ATmega16HVB is incorrectly initialized to 0x08ff instead of 0x04ff. Problem fix/workaround Initialize the stack pointer in software before the stack is used. Most C-compilers does initial- ize the stack pointer without manual intervention. Assembly Code Example: ldi r16,high(RAMEND) ...
Page 20
... Rev. 8042B-06/ 12.3 Rev. 8042A-08/09 1. ATmega16HVB/32HVB 20 The columns “Minimum” and “Maximum” new row (“Device lot ID and position” new note (“Note 16”) in Table 29-3 on page 197 In ”Absolute maximum ratings*” on page 226 on OC and OD with respect to ground”, “Voltage on PC5, BATT, PVT, VFET, PV4, PV3, and PV2 with respect to ground” ...
Page 21
... Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 ® and others are registered trademarks or trademarks of Atmel Corporation or its 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 8042CS–AVR–06/11 ...