ATTINY11-6PU

ATTINY11-6PU Datasheet


In-System Programmable ATtiny12 Endurance 1,000 Write/Erase Cycles ATtiny11/12 64 Bytes of In-System Programmable EEPROM Data Memory for ATtiny12 Endurance 100,000 Write/Erase Cycles Programming Lock for Flash Program and EEPROM Data Security<br>• Peripheral Features Interrupt and Wake-up on Pin Change One 8-bit Timer/Counter with Separate Prescaler On-chip Analog Comparator Programmable Watchdog Timer with On-chip Oscillator<br>• Special Microcontroller Features Low-power Idle and Power-down Modes External and Internal Interrupt Sources In-System Programmable via SPI Port ATtiny12 Enhanced Power-on Reset Circuit ATtiny12 Internal Calibrated RC Oscillator ATtiny12<br>• Specification Low-power, High-speed CMOS Process Technology Fully Static Operation<br>• Power Consumption at 4 MHz, 3V, 25°C Active mA Idle Mode mA Power-down Mode &lt;1 µA<br>• Packages 8-pin PDIP and SOIC<br>• Operating Voltages - 5.5V for ATtiny12V-1 - 5.5V for ATtiny11L-2 and ATtiny12L-4 - 5.5V for ATtiny11-6 and ATtiny12-8<br>• Speed Grades 0 - MHz ATtiny12V-1 0 - 2 MHz ATtiny11L-2 0 - 4 MHz ATtiny12L-4 0 - 6 MHz ATtiny11-6 0 - 8 MHz ATtiny12-8

Part Datasheet
ATTINY11-6PU ATTINY11-6PU ATTINY11-6PU (pdf)
Related Parts Information
ATTINY11-6SU ATTINY11-6SU ATTINY11-6SU
ATTINY11L-2SU ATTINY11L-2SU ATTINY11L-2SU
PDF Datasheet Preview
• Utilizes the RISC Architecture
• High-performance and Low-power 8-bit RISC Architecture
90 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Up to 8 MIPS Throughput at 8 MHz
• Nonvolatile Program and Data Memory 1K Byte of Flash Program Memory

In-System Programmable ATtiny12 Endurance 1,000 Write/Erase Cycles ATtiny11/12 64 Bytes of In-System Programmable EEPROM Data Memory for ATtiny12 Endurance 100,000 Write/Erase Cycles Programming Lock for Flash Program and EEPROM Data Security
• Peripheral Features Interrupt and Wake-up on Pin Change One 8-bit Timer/Counter with Separate Prescaler On-chip Analog Comparator Programmable Watchdog Timer with On-chip Oscillator
• Special Microcontroller Features Low-power Idle and Power-down Modes External and Internal Interrupt Sources In-System Programmable via SPI Port ATtiny12 Enhanced Power-on Reset Circuit ATtiny12 Internal Calibrated RC Oscillator ATtiny12
• Specification Low-power, High-speed CMOS Process Technology Fully Static Operation
• Power Consumption at 4 MHz, 3V, 25°C Active mA Idle Mode mA Power-down Mode <1 µA
• Packages 8-pin PDIP and SOIC
• Operating Voltages - 5.5V for ATtiny12V-1 - 5.5V for ATtiny11L-2 and ATtiny12L-4 - 5.5V for ATtiny11-6 and ATtiny12-8
• Speed Grades 0 - MHz ATtiny12V-1 0 - 2 MHz ATtiny11L-2 0 - 4 MHz ATtiny12L-4 0 - 6 MHz ATtiny11-6 0 - 8 MHz ATtiny12-8

Pin Configuration

ATtiny11 PDIP/SOIC

RESET PB5 1 XTAL1 PB3 2 XTAL2 PB4 3

GND 4
8 VCC 7 PB2 T0 6 PB1 INT0/AIN1 5 PB0 AIN0

ATtiny12 PDIP/SOIC

RESET PB5 1 XTAL1 PB3 2 XTAL2 PB4 3

GND 4
8 VCC 7 PB2 SCK/T0 6 PB1 MISO/INT0/AIN1 5 PB0 MOSI/AIN0
8-bit Microcontroller with 1K Byte Flash ATtiny11 ATtiny12

Not recommended for new design

Overview

The ATtiny11/12 is a low-power CMOS 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny11/12 achieves throughputs approaching 1 MIPS per MHz, allowing the system designer to optimize power consumption versus processing speed.

The AVR core combines a rich instruction set with 32 general-purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit ALU , allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers.

Table Parts Description

Device

Flash EEPROM

ATtiny11L

ATtiny11

ATtiny12V

ATtiny12L

ATtiny12

Register 32

Voltage Range - 5.5V - 5.5V - 5.5V - 5.5V - 5.5V

Frequency 0-2 MHz 0-6 MHz 0-4 MHz 0-8 MHz

The ATtiny11/12 AVR is supported with a full suite of program and system development tools including macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits.
2 ATtiny11/12

ATtiny11/12

ATtiny11 Block Diagram

See Figure 1 on page The ATtiny11 provides the following features 1K bytes of Flash, up to five general-purpose I/O lines, one input line, 32 general-purpose working registers, an 8-bit timer/counter, internal and external interrupts, programmable Watchdog Timer with internal oscillator, and two software-selectable power-saving modes. The Idle Mode stops the CPU while allowing the timer/counters and interrupt system to continue functioning. The Power-down Mode saves the register contents but freezes the oscillator, disabling all other chip functions until the next interrupt or hardware reset. The wake-up or interrupt on pin change features enable the ATtiny11 to be highly responsive to external events, still featuring the lowest power consumption while in the power-down modes.

The device is manufactured using Atmel’s high-density nonvolatile memory technology. By combining an RISC 8-bit CPU with Flash on a monolithic chip, the Atmel ATtiny11 is a powerful microcontroller that provides a highly-flexible and cost-effective solution to many embedded control applications.

Figure The ATtiny11 Block Diagram

PROGRAM COUNTER
8-BIT DATA BUS

INTERNAL OSCILLATOR

STACK POINTER

WATCHDOG TIMER

TIMING AND CONTROL
The parts are characterized at frequencies higher than test limits. Parts are not guaranteed to function properly at frequencies higher than the ordering code indicates.

The difference between current consumption in Power-down Mode with Watchdog Timer enabled and Power-down Mode with Watchdog Timer disabled represents the differential current drawn by the Watchdog timer.

Figure Active Supply Current vs. Frequency

ICC mA

ACTIVE SUPPLY CURRENT vs. FREQUENCY

VCC = 6V
16 VCC = 5.5V
14 VCC = 5V
12 VCC = 4.5V

VCC = 4V

VCC = 3.6V 6

VCC = 3.3V

VCC = 3.0V

VCC = 2.7V

VCC = 2.1V VCC = 1.8V

VCC = 2.4V
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Frequency MHz
62 ATtiny11/12

ATtiny11/12

Figure Active Supply Current vs. VCC

ICC mA

ACTIVE SUPPLY CURRENT vs. Vcc

FREQUENCY = 4 MHz

TA = TA =

VCC V

Figure Active Supply Current vs. VCC, Device Clocked by Internal Oscillator

ACTIVE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 1.0MHz INTERNAL RC OSCILLATOR 6
5 TA =
4 TA =

I cc mA

Vcc V

Figure Active Supply Current vs. VCC, Device Clocked by External 32kHz Crystal

I cc mA

ACTIVE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 32KHz CRYSTAL

TA = TA =

Vcc V

Figure Idle Supply Current vs. Frequency

ICC mA
The parts are characterized at frequencies higher than test limits. Parts are not guaranteed to function properly at frequencies higher than the ordering code indicates.

The difference between current consumption in Power-down Mode with Watchdog Timer enabled and Power-down Mode with Watchdog Timer disabled represents the differential current drawn by the Watchdog timer.

Figure Active Supply Current vs. VCC, Device Clocked by Internal Oscillator

ACTIVE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 1.2MHz INTERNAL RC OSCILLATOR

Vcc V
74 ATtiny11/12

ATtiny11/12

Figure Active Supply Current vs. VCC, Device Clocked by External 32kHz Crystal

ACTIVE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 32KHz CRYSTAL 140
120 TA =
100 TA =

Vcc V

Figure Idle Supply Current vs. VCC, Device Clocked by Internal Oscillator

IDLE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 1.2MHz INTERNAL RC OSCILLATOR

TA = TA =

Vcc V

Figure Idle Supply Current vs. VCC, Device Clocked by External 32kHz Crystal

IDLE SUPPLY CURRENT vs. Vcc

DEVICE CLOCKED BY 32KHz CRYSTAL 30

TA = TA =

Vcc V

Analog Comparator offset voltage is measured as absolute offset. Figure Analog Comparator Offset Voltage vs. Common Mode Voltage

Offset Voltage mV

ANALOG COMPARATOR OFFSET VOLTAGE vs. COMMON MODE VOLTAGE VCC = 5V
16 TA =

Common Mode Voltage V
76 ATtiny11/12

ATtiny11/12

Figure Analog Comparator Offset Voltage vs. Common Mode Voltage

ANALOG COMPARATOR OFFSET VOLTAGE vs.

COMMON MODE VOLTAGE

VCC = 2.7V

TA = 8

Offset Voltage mV
6 TA =

Common Mode Voltage V

IACLK nA

Figure Analog Comparator Input Leakage Current
Ordering Information

ATtiny11

Power Supply

Speed MHz
Ordering Code

Package

Operation Range
- 5.5V

ATtiny11L-2PC ATtiny11L-2SC

ATtiny11L-2PI

ATtiny11L-2SI ATtiny11L-2SU 2

Commercial
0°C to 70°C

Industrial -40°C to 85°C

ATtiny11-6PC ATtiny11-6SC

Commercial
0°C to 70°C
- 5.5V

ATtiny11-6PI

ATtiny11-6PU 2

ATtiny11-6SI ATtiny11-6SU 2

Industrial
-40°C to 85°C

The speed grade refers to maximum clock rate when using an external crystal or external clock drive. The internal RC oscillator has the same nominal clock frequency for all speed grades.

Pb-free packaging alternative, complies to the European Directive for Restriction of Hazardous Substances RoHS directive . Also Halide free and fully Green.

Package Type
8-lead, Wide, Plastic Dual Inline Package PDIP
8-lead, Wide, Plastic Gull-Wing Small Outline EIAJ SOIC

ATtiny12

Power Supply

Speed MHz
Ordering Code

ATtiny12V-1PC ATtiny12V-1SC

Package
8P3 8S2

Operation Range

Commercial 0°C to 70°C
- 5.5V

ATtiny12V-1PI

ATtiny12V-1PU 2

ATtiny12V-1SI ATtiny12V-1SU 2

Industrial
-40°C to 85°C

ATtiny12L-4PC ATtiny12L-4SC

Commercial
0°C to 70°C
- 5.5V

ATtiny12L-4PI

ATtiny12L-4PU 2

ATtiny12L-4SI

ATtiny12L-4SU 2

Industrial
-40°C to 85°C

ATtiny12-8PC ATtiny12-8SC

Commercial
0°C to 70°C
- 5.5V

ATtiny12-8PI

ATtiny12-8PU 2

ATtiny12-8SI ATtiny12-8SU 2

Industrial
-40°C to 85°C

The speed grade refers to maximum clock rate when using an external crystal or external clock drive. The internal RC oscillator has the same nominal clock frequency for all speed grades.

Pb-free packaging alternative, complies to the European Directive for Restriction of Hazardous Substances RoHS directive . Also Halide free and fully Green.

Package Type
8-lead, Wide, Plastic Dual Inline Package PDIP
8-lead, Wide, Plastic Gull-Wing Small Outline EIAJ SOIC
88 ATtiny11/12

Packaging Information

ATtiny11/12

Top View

End View
“Not recommended for new design”. Updated chapter layout. Updated Power-down in “Sleep Modes for the ATtiny11” on page Updated Power-down in “Sleep Modes for the ATtiny12” on page Updated Table 16 on page Updated “Calibration Byte in ATtiny12” on page Updated “Ordering Information” on page Updated “Packaging Information” on page Updated VBOT values in Table 9 on page N/A

Table of Contents

ATtiny11/12

Pin 1

Description 2

ATtiny11 Block Diagram 2 ATtiny12 Block Diagram 4 Pin 5 Clock Options 5

Architectural 8

General-purpose Register 9 ALU Arithmetic Logic 10 Flash Program Memory 10 Program and Data Addressing 10 Subroutine and Interrupt Hardware Stack 12 EEPROM Data 13 Memory Access and Instruction Execution Timing 13 I/O Memory 14 Reset and Interrupt 15 ATtiny12 Internal Voltage 24 Interrupt Handling 25 Sleep Modes for the ATtiny11 31 Sleep Modes for the ATtiny12 31 ATtiny12 Calibrated Internal RC Oscillator 32

Timer/Counter0 33

Timer/Counter 33

Watchdog 36

ATtiny12 EEPROM Read/Write 38

Prevent EEPROM Corruption 40

Analog Comparator 41

I/O Port B 43

Memory 46

Program and Data Memory Lock Bits 46 Fuse Bits in 46 Fuse Bits in 46 Signature Bytes 47 Calibration Byte in ATtiny12 47 Programming the Flash and 47 High-voltage Serial 48

High-voltage Serial Programming 49 High-voltage Serial Programming Characteristics 52 Low-voltage Serial Downloading ATtiny12 only 52 Low-voltage Serial Programming 56

Electrical 57

Absolute Maximum Ratings 57 DC Characteristics Preliminary Data 57 External Clock Drive Waveforms 59 External Clock Drive ATtiny11 59 External Clock Drive ATtiny12 59 ATtiny11 Typical Characteristics 60 ATtiny12 Typical Characteristics 72

Register Summary 81

Register Summary 82

Instruction Set Summary 83
Ordering 85

Packaging Information 86
8P3 86 8S2 87

Data Sheet Change Log for Chip Number 88

Table of Contents i
ii ATtiny11/12

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 Enter Product Line E-mail

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.
2006 Atmel Corporation. All rights reserved. logo and combinations thereof, are the registered trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
More datasheets: TQW14A-48S12-R | WM8783GED/RV | FQA11N90C | FDZ493P | 26800B-445 | 76000738 | B39182B7844K410 | 1211 | AO4437L | 5450BP15T600E


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 ATTINY11-6PU Datasheet file may be downloaded here without warranties.

Datasheet ID: ATTINY11-6PU 519320