Sign In
Upload
Manuals
Brands
Atmel Manuals
Microcontrollers
ATtiny25
Atmel ATtiny25 Manuals
Manuals and User Guides for Atmel ATtiny25. We have
1
Atmel ATtiny25 manual available for free PDF download: Manual
Atmel ATtiny25 Manual (196 pages)
Microcontroller with 2/4/8K Bytes In-System Programmable Flash
Brand:
Atmel
| Category:
Microcontrollers
| Size: 3.41 MB
Table of Contents
Features
1
1 Pin Configurations
2
2 Overview
2
Block Diagram
3
Automotive Quality Grade
4
Pin Descriptions
5
3 About Code Examples
5
4 AVR CPU Core
5
Introduction
5
Architectural Overview
6
ALU - Arithmetic Logic Unit
7
Status Register
7
General Purpose Register File
9
Stack Pointer
10
Instruction Execution Timing
11
Reset and Interrupt Handling
11
5 AVR Attiny25/45/85 Memories
13
In-System Re-Programmable Flash Program Memory
13
SRAM Data Memory
14
EEPROM Data Memory
15
I/O Memory
21
6 System Clock and Clock Options
21
Clock Systems and Their Distribution
21
Clock Sources
23
Default Clock Source
24
Crystal Oscillator
24
Low-Frequency Crystal Oscillator
25
Calibrated Internal RC Oscillator
26
External Clock
27
128 Khz Internal Oscillator
28
Clock Output Buffer
29
System Clock Prescaler
29
7 Power Management and Sleep Modes
31
MCU Control Register - MCUCR
31
Idle Mode
32
ADC Noise Reduction Mode
32
Power-Down Mode
32
Limitations
33
Power Reduction Register
33
Minimizing Power Consumption
34
8 System Control and Reset
35
Resetting the AVR
35
Reset Sources
35
Power-On Reset
36
External Reset
37
Brown-Out Detection
38
Watchdog Reset
39
MCU Status Register - MCUSR
40
Internal Voltage Reference
40
Watchdog Timer
41
Timed Sequences for Changing the Configuration of the Watchdog Timer
44
9 Interrupts
45
Interrupt Vectors in Attiny25/45/85
45
10 O Ports
46
Introduction
46
Ports as General Digital I/O
47
Alternate Port Functions
52
Register Description for I/O-Ports
58
11 External Interrupts
58
MCU Control Register - MCUCR
59
General Interrupt Mask Register - GIMSK
59
General Interrupt Flag Register - GIFR
60
Pin Change Mask Register - PCMSK
60
12 8-Bit Timer/Counter0 with PWM
61
Overview
61
Timer/Counter Clock Sources
62
Counter Unit
62
Output Compare Unit
63
Compare Match Output Unit
65
Modes of Operation
66
Timer/Counter Timing Diagrams
70
8-Bit Timer/Counter Register Description
72
13 Timer/Counter Prescaler
78
Prescaler Reset
78
External Clock Source
79
14 Counter and Compare Units
81
Timer/Counter1
81
15 Dead Time Generator
93
Timer/Counter1 Dead Time Prescaler Register 1 - DTPS1
94
Timer/Counter1 Dead Time a - DT1A
95
Timer/Counter1 Dead Time B - DT1B
95
16 Universal Serial Interface - USI
96
Overview
96
Functional Descriptions
97
Alternative USI Usage
103
USI Register Descriptions
103
17 Analog Comparator
108
ADC Control and Status Register B - ADCSRB
108
Analog Comparator Control and Status Register - ACSR
108
Analog Comparator Multiplexed Input
110
18 Analog to Digital Converter
111
Features
111
Operation
112
Starting a Conversion
113
Prescaling and Conversion Timing
114
Changing Channel or Reference Selection
117
ADC Noise Canceler
118
ADC Conversion Result
121
19 Debugwire On-Chip Debug System
128
Features
128
Overview
128
Physical Interface
128
Software Break Points
129
Limitations of Debugwire
129
Debugwire Related Register in I/O Memory
129
20 Self-Programming the Flash
130
Performing Page Erase by SPM
130
Filling the Temporary Buffer
130
Performing a
131
Addressing the Flash During Self-Programming
131
21 Memory Programming
134
Program and Data Memory Lock Bits
134
Fuse Bytes
135
Signature Bytes
137
Calibration Byte
137
Page Size
137
Serial Downloading
138
High-Voltage Serial Programming
142
High-Voltage Serial Programming Algorithm Sequence
144
High-Voltage Serial Programming Characteristics
149
22 Electrical Characteristics
150
Absolute Maximum Ratings
150
External Clock Drive Waveforms
151
External Clock Drive
152
ADC Characteristics - Preliminary Data
153
Calibrated RC Oscillator Accuracy
154
23 Typical Characteristics
154
Active Supply Current
155
Idle Supply Current
157
Power-Down Supply Current
161
Pin Pull-Up
162
Pin Driver Strength
165
Pin Thresholds and Hysteresis
168
BOD Thresholds and Analog Comparator Offset
171
Internal Oscillator Speed
172
Current Consumption of Peripheral Units
175
Current Consumption in Reset and Reset Pulse Width
176
Analog to Digital Converter
177
24 Register Summary
182
25 Instruction Set Summary
184
26 Ordering Information
186
27 Packaging Information
187
28 Document Revision History
189
Revision 7598H - 07/09
189
Revision 7598G - 03/08
189
Revision 7598F - 11/07
189
Revision 7598E - 03/07
189
Revision 7598D - 02/07
189
Revision 7598C - 09/06
189
Revision 7598B - 08/06
189
Changes from Revision 2535A-09/01 to Revision 7598A-04/06
189
29 Errata
190
Attiny25, Revision E
190
Attiny45, Revision G
190
Attiny85, Revision C
190
Advertisement
Advertisement
Related Products
Atmel AVR ATtiny22
Atmel AVR ATtiny22L
Atmel ATtiny26
Atmel ATtiny26L
Atmel ATtiny104 Xplained Nano
Atmel ATtiny1634-EK1
Atmel ATtiny85
Atmel AVR ATtiny10 Series
Atmel AVR ATtiny11 Series
Atmel AVR ATtiny12 Series
Atmel Categories
Microcontrollers
Motherboard
Computer Hardware
Controller
Accessories
More Atmel Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL