EasyManua.ls Logo

Atmel ATtiny26 User Manual

Atmel ATtiny26
182 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
1477G–AVR–03/05
Features
High-performance, Low-power AVR
®
8-bit Microcontroller
RISC Architecture
118 Powerful Instructions – Most Single Clock Cycle Execution
32 x 8 General Purpose Working Registers
Fully Static Operation
Up to 16 MIPS Throughput at 16 MHz
Data and Non-volatile Program Memory
2K Bytes of In-System Programmable Program Memory Flash
Endurance: 10,000 Write/Erase Cycles
128 Bytes of In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles
128 Bytes Internal SRAM
Programming Lock for Flash Program and EEPROM Data Security
Peripheral Features
8-bit Timer/Counter with Separate Prescaler
8-bit High-speed Timer with Separate Prescaler
2 High Frequency PWM Outputs with Separate Output Compare Registers
Non-overlapping Inverted PWM Output Pins
Universal Serial Interface with Start Condition Detector
10-bit ADC
11 Single Ended Channels
8 Differential ADC Channels
7 Differential ADC Channel Pairs with Programmable Gain (1x, 20x)
On-chip Analog Comparator
External Interrupt
Pin Change Interrupt on 11 Pins
Programmable Watchdog Timer with Separate On-chip Oscillator
Special Microcontroller Features
Low Power Idle, Noise Reduction, and Power-down Modes
Power-on Reset and Programmable Brown-out Detection
External and Internal Interrupt Sources
In-System Programmable via SPI Port
Internal Calibrated RC Oscillator
I/O and Packages
20-lead PDIP/SOIC: 16 Programmable I/O Lines
32-lead QFN/MLF: 16 programmable I/O Lines
Operating Voltages
2.7V - 5.5V for ATtiny26L
4.5V - 5.5V for ATtiny26
Speed Grades
0 - 8 MHz for ATtiny26L
0 - 16 MHz for ATtiny26
Power Consumption at 1 MHz, 3V and 25°C for ATtiny26L
Active 16 MHz, 5V and 25°C: Typ 15 mA
Active 1 MHz, 3V and 25°C: 0.70 mA
Idle Mode 1 MHz, 3V and 25°C: 0.18 mA
Power-down Mode: < 1 µA
8-bit
Microcontroller
with 2K Bytes
Flash
ATtiny26
ATtiny26L
Rev. 1477G–AVR–03/05

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Atmel ATtiny26 and is the answer not in the manual?

Atmel ATtiny26 Specifications

General IconGeneral
BrandAtmel
ModelATtiny26
CategoryMicrocontrollers
LanguageEnglish

Summary

Features

High-performance, Low-power AVR0 8-bit Microcontroller

High-performance, low-power 8-bit AVR microcontroller with RISC architecture.

RISC Architecture

Describes the RISC architecture of the ATtiny26(L) microcontroller.

Data and Non-volatile Program Memory

Details the Flash, EEPROM, and SRAM memory specifications.

Peripheral Features

Lists peripheral features like Timers, ADC, Comparator.

Special Microcontroller Features

Highlights features like low power modes, reset, interrupts.

Operating Voltages

Defines the operating voltage ranges for ATtiny26L and ATtiny26.

Speed Grades

Specifies the operating speed ranges for ATtiny26L and ATtiny26.

Power Consumption

Details power consumption in active and idle modes.

Pin Configuration

Description

Block Diagram

Pin Descriptions

Port A (PA7..PA0)

Describes Port A as an 8-bit general purpose I/O port with alternate functions.

Port B (PB7..PB0)

Describes Port B as an 8-bit general purpose I/O port with alternate functions.

AVR CPU Core

Architectural Overview

Explains the AVR RISC architecture and register file concept.

Status Register 0 SREG

Stack Pointer 0 SP

Program and Data Addressing Modes

Register Direct, Two Registers Rd and Rr

Details direct register addressing for two registers.

I/O Direct

Explains direct addressing for I/O memory locations.

Data Indirect with Displacement

Describes indirect addressing with displacement calculation.

Data Indirect with Pre-decrement

Explains indirect addressing with pre-decrement operation.

Data Indirect with Post-increment

Details indirect addressing with post-increment operation.

Indirect Program Addressing, IJMP and ICALL

Covers indirect addressing for program memory jumps and calls.

Memories

In-System Programmable Flash Program Memory

Details the 2K byte in-system programmable Flash memory for program storage.

SRAM Data Memory

Describes the 128 bytes of internal SRAM organization and usage.

EEPROM Data Memory

Covers the 128 bytes of EEPROM memory, organization, and read/write access.

System Clock and Clock Options

Clock Sources

Lists selectable clock source options via Flash Fuse bits.

Crystal Oscillator

External RC Oscillator

Calibrated Internal RC Oscillator

External Clock

High Frequency PLL Clock 0 PLLCLK

System Control and Reset

Power-on Reset

Details the on-chip detection circuit for power-on reset generation.

External Reset

Explains how to generate an external reset via the RESET pin.

Brown-out Detection

Describes the on-chip BOD circuit for monitoring VCC level during operation.

Power Management and Sleep Modes

MCU Control Register 0 MCUCR

Contains control bits for general MCU functions, including sleep modes.

Idle Mode

Stops CPU, allows peripherals to run; halts clkCPU and clkFLASH.

ADC Noise Reduction Mode

Halts clkIO, clkCPU, clkFLASH; improves ADC noise environment.

Power-down Mode

Stops external oscillator; halts most clocks, allows async modules to run.

Standby Mode

Similar to power-down, but keeps the oscillator running.

I/O Ports

Ports as General Digital I/O

Describes bi-directional I/O ports with optional internal pull-ups.

Alternate Port Functions

Details alternate functions for port pins beyond general digital I/O.

Interrupts

Interrupt Vectors

Lists interrupt sources, program vectors, and priority levels.

Interrupt Handling

Explains interrupt occurrence, disabling, and response time.

External Interrupt

Pin Change Interrupt

Timer/Counters

8-bit Timer/Counter0

Details the 8-bit Timer/Counter0, its block diagram, and control registers.

8-bit Timer/Counter1

Covers Timer/Counter1 modes, prescalers, and PWM capabilities.

Watchdog Timer

Universal Serial Interface 0 USI

Register Descriptions

Describes USI data register, status register, and control register.

Functional Descriptions

Explains three-wire and two-wire modes, and alternative USI usages.

Analog Comparator

Analog to Digital Converter

Features

Lists key features of the 10-bit successive approximation ADC.

ADC Conversion Result

Explains how to find and interpret the ADC conversion result.

Memory Programming

Program and Data Memory Lock Bits

Details lock bits for protecting Flash and EEPROM programming.

Fuse Bits

Signature Bytes

Calibration Byte

Page Size

Parallel Programming Parameters, Pin Mapping, and Commands

Parallel Programming

Describes the algorithm to put the device into parallel programming mode.

Serial Downloading

Explains programming via the serial SPI bus interface.

Electrical Characteristics

Absolute Maximum Ratings*

Lists the stress limits beyond which damage may occur to the device.

DC Characteristics

Provides DC electrical parameters like voltage thresholds and currents.

ADC Characteristics

Details ADC performance metrics for single-ended and differential channels.

ATtiny26 Typical Characteristics

Register Summary

Instruction Set Summary

Ordering Information

Packaging Information

20P3

Details the 20-lead PDIP package dimensions and specifications.

20S

Details the 20-lead SOIC package dimensions and specifications.

32M1-A

Details the 32-pad MLF package dimensions and specifications.

Errata

Datasheet Revision History

Related product manuals