Datasheet
Table Of Contents
- Features
- Pin Configuration
- Description
- Architectural Overview
- General-purpose Register File
- ALU – Arithmetic Logic Unit
- Flash Program Memory
- Program and Data Addressing Modes
- Subroutine and Interrupt Hardware Stack
- EEPROM Data Memory
- Memory Access and Instruction Execution Timing
- I/O Memory
- Reset and Interrupt Handling
- ATtiny12 Internal Voltage Reference
- Interrupt Handling
- Sleep Modes for the ATtiny11
- Sleep Modes for the ATtiny12
- ATtiny12 Calibrated Internal RC Oscillator
- Timer/Counter0
- Watchdog Timer
- ATtiny12 EEPROM Read/Write Access
- Analog Comparator
- I/O Port B
- Memory Programming
- Program (and Data) Memory Lock Bits
- Fuse Bits in ATtiny11
- Fuse Bits in ATtiny12
- Signature Bytes
- Calibration Byte in ATtiny12
- Programming the Flash and EEPROM
- High-voltage Serial Programming
- High-voltage Serial Programming Algorithm
- High-voltage Serial Programming Characteristics
- Low-voltage Serial Downloading (ATtiny12 only)
- Low-voltage Serial Programming Characteristics
- Electrical Characteristics
- Register Summary ATtiny11
- Register Summary ATtiny12
- Instruction Set Summary
- Ordering Information
- Packaging Information
- Data Sheet Change Log for ATtiny11/12
- Table of Contents

48
ATtiny11/12
1006D–AVR–07/03
provides a convenient way to download program and data into the ATtiny12 inside the
user’s system.
The program and data memory arrays in the ATtiny12 are programmed byte-by-byte in
either programming mode. For the EEPROM, an auto-erase cycle is provided within the
self-timed write instruction in the Low-voltage Serial Programming mode.
ATtiny11/12 During programming, the supply voltage must be in accordance with Table 22.
Table 22. Supply Voltage during Programming
High-voltage Serial
Programming
This section describes how to program and verify Flash Program memory, EEPROM
Data memory (ATtiny12), lock bits and fuse bits in the ATtiny11/12.
Figure 27. High-voltage Serial Programming
Part Low-voltage Serial Programming High-voltage Serial Programming
ATtiny11L Not applicable 4.5 - 5.5V
ATtiny11 Not applicable 4.5 - 5.5V
ATtiny12V 2.2 - 5.5V 4.5 - 5.5V
ATtiny12L 2.7 - 5.5V 4.5 - 5.5V
ATtiny12 4.0 - 5.5V 4.5 - 5.5V
PB5 (RESET)
PB3 (XTAL1)
GND
VCC
PB2
PB1
PB0
SERIAL DATA OUTPUT
SERIAL INSTR. INPUT
SERIAL DATA INPUT
SERIAL CLOCK INPUT
11.5 - 12.5V 4.5 - 5.5V
ATtiny