- •Features
- •Pin Configurations
- •Overview
- •Block Diagram
- •Pin Descriptions
- •Port A (PA2..PA0)
- •Port B (PB7..PB0)
- •Port D (PD6..PD0)
- •RESET
- •XTAL1
- •XTAL2
- •Disclaimer
- •AVR CPU Core
- •Introduction
- •Architectural Overview
- •Status Register
- •Stack Pointer
- •Interrupt Response Time
- •SRAM Data Memory
- •Data Memory Access Times
- •EEPROM Data Memory
- •EEPROM Read/Write Access
- •Atomic Byte Programming
- •Split Byte Programming
- •Erase
- •Write
- •I/O Memory
- •General Purpose I/O Registers
- •Clock Systems and their Distribution
- •Clock Sources
- •Default Clock Source
- •Crystal Oscillator
- •External Clock
- •Idle Mode
- •Power-down Mode
- •Standby Mode
- •Analog Comparator
- •Brown-out Detector
- •Internal Voltage Reference
- •Watchdog Timer
- •Port Pins
- •Resetting the AVR
- •Reset Sources
- •Power-on Reset
- •External Reset
- •Brown-out Detection
- •Watchdog Reset
- •Watchdog Timer
- •Interrupts
- •I/O-Ports
- •Introduction
- •Configuring the Pin
- •Toggling the Pin
- •Reading the Pin Value
- •Alternate Port Functions
- •Alternate Functions of Port A
- •Alternate Functions of Port B
- •Alternate Functions of Port D
- •Register Description for I/O-Ports
- •External Interrupts
- •8-bit Timer/Counter0 with PWM
- •Overview
- •Registers
- •Definitions
- •Counter Unit
- •Output Compare Unit
- •Force Output Compare
- •Modes of Operation
- •Normal Mode
- •Fast PWM Mode
- •Phase Correct PWM Mode
- •Internal Clock Source
- •Prescaler Reset
- •External Clock Source
- •16-bit Timer/Counter1
- •Overview
- •Registers
- •Definitions
- •Compatibility
- •Counter Unit
- •Input Capture Unit
- •Input Capture Trigger Source
- •Noise Canceler
- •Using the Input Capture Unit
- •Output Compare Units
- •Force Output Compare
- •Modes of Operation
- •Normal Mode
- •Fast PWM Mode
- •Phase Correct PWM Mode
- •USART
- •Overview
- •Clock Generation
- •External Clock
- •Synchronous Clock Operation
- •Frame Formats
- •Parity Bit Calculation
- •USART Initialization
- •Sending Frames with 5 to 8 Data Bit
- •Sending Frames with 9 Data Bit
- •Parity Generator
- •Disabling the Transmitter
- •Receiving Frames with 5 to 8 Data Bits
- •Receiving Frames with 9 Data Bits
- •Receiver Error Flags
- •Parity Checker
- •Disabling the Receiver
- •Flushing the Receive Buffer
- •Asynchronous Data Recovery
- •Using MPCM
- •Overview
- •Functional Descriptions
- •Three-wire Mode
- •SPI Slave Operation Example
- •Two-wire Mode
- •Start Condition Detector
- •Alternative USI Usage
- •4-bit Counter
- •12-bit Timer/Counter
- •Software Interrupt
- •Analog Comparator
- •debugWIRE On-chip Debug System
- •Features
- •Overview
- •Physical Interface
- •Software Break Points
- •Limitations of debugWIRE
- •debugWIRE Related Register in I/O Memory
- •Performing a Page Write
- •Reading the Fuse and Lock Bits from Software
- •Preventing Flash Corruption
- •Fuse Bits
- •Latching of Fuses
- •Signature Bytes
- •Calibration Byte
- •Page Size
- •Signal Names
- •Parallel Programming
- •Enter Programming Mode
- •Chip Erase
- •Programming the Flash
- •Programming the EEPROM
- •Reading the Flash
- •Reading the EEPROM
- •Programming the Lock Bits
- •Reading the Signature Bytes
- •Reading the Calibration Byte
- •Serial Downloading
- •Electrical Characteristics
- •Absolute Maximum Ratings*
- •DC Characteristics
- •External Clock Drive Waveforms
- •External Clock Drive
- •Active Supply Current
- •Idle Supply Current
- •Power-down Supply Current
- •Standby Supply Current
- •Pin Pull-up
- •Pin Driver Strength
- •Internal Oscillator Speed
- •Register Summary
- •Instruction Set Summary
- •Ordering Information
- •Packaging Information
- •Errata
- •ATtiny2313 Rev B
- •ATtiny2313 Rev A
- •Changes from Rev. 2514F-08/04 to Rev. 2514G-10/04
- •Changes from Rev. 2514F-08/04 to Rev. 2514G-10/04
- •Changes from Rev. 2514E-04/04 to Rev. 2514F-08/04
- •Changes from Rev. 2514D-03/04 to Rev. 2514E-04/04
- •Changes from Rev. 2514C-12/03 to Rev. 2514D-03/04
- •Changes from Rev. 2514B-09/03 to Rev. 2514C-12/03
- •Changes from Rev. 2514A-09/03 to Rev. 2514B-09/03
- •Table of Contents
ATtiny2313/V
Figure 99. Power-down Supply Current vs. VCC (Watchdog Timer Enabled)
POWER-DOWN SUPPLY CURRENT vs. Vcc
WATCHDOG TIMER ENABLED
|
20 |
|
|
|
|
|
|
|
85 °C |
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
14 |
|
|
|
|
|
|
|
|
(uA) |
12 |
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
cc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I |
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
Vcc (V) |
|
|
|
|
Standby Supply Current |
Figure 100. Standby Supply Current vs. VCC |
STANDBY SUPPLY CURRENT vs. Vcc
|
0.08 |
|
|
|
|
|
|
|
|
|
0.07 |
|
|
|
|
|
|
|
2MHz Res |
|
|
|
|
|
|
|
|
2MHz Xtal |
|
|
|
|
|
|
|
|
|
|
|
|
0.06 |
|
|
|
|
|
|
|
455KHz Res |
|
|
|
|
|
|
|
|
|
|
(m A) |
0.05 |
|
|
|
|
|
|
|
1MHz Res |
0.04 |
|
|
|
|
|
|
|
|
|
cc |
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
0.03 |
|
|
|
|
|
|
|
|
|
0.02 |
|
|
|
|
|
|
|
|
|
0.01 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
Vcc (V)
189
2543H–AVR–02/05
|
|
|
|
|
|
|
|
|
|
|
|
Pin Pull-up |
Figure 101. I/O Pin Pull-up Resistor Current vs. Input Voltage (VCC = 5V) |
I/O PIN PULL-UP RESISTOR CURRENT vs. INPUT VOLTAGE
160 |
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
|
|
|
|
|
|
|
|
|
|
85 °C |
25 °C |
|
|
|
|
|
|
|
|
|
120 |
|
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
|
|
|
|
|
|
|
|
|
(uA) |
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
|
OP |
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
VOP (V)
Figure 102. I/O Pin Pull-up Resistor Current vs. Input Voltage (VCC = 2.7V)
I/O PIN PULL-UP RESISTOR CURRENT vs. INPUT VOLTAGE
|
80 |
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
85 °C |
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
||
|
70 |
|
|
|
|
|
|
|
60 |
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
(uA) |
40 |
|
|
|
|
|
|
OP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
VOP (V)
190 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 103. Reset Pull-up Resistor Current vs. Reset Pin Voltage (VCC = 5V)
RESET PULL-UP RESISTOR CURRENT vs. RESET PIN VOLTAGE
|
120 |
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-40 °C |
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
100 |
|
|
|
|
|
|
|
|
|
|
|
80 |
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(uA) |
60 |
|
|
|
|
|
|
|
|
|
|
RESET |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
VRESET(V)
Figure 104. Reset Pull-up Resistor Current vs. Reset Pin Voltage (VCC = 2.7V)
RESET PULL-UP RESISTOR CURRENT vs. RESET PIN VOLTAGE
|
60 |
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
-40 °C |
25 °C |
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
40 |
|
|
|
|
|
|
(uA) |
30 |
|
|
|
|
|
|
RESET |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
|
|
|
|
VRESET (V) |
|
|
|
191
2543H–AVR–02/05
|
|
|
|
|
|
|
|
|
|
|
|
Pin Driver Strength |
Figure 105. I/O Pin Source Current vs. Output Voltage (VCC = 5V) |
I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
|
|
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
70 |
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
-40 °C |
|
|
|
|
|
|
|
|
|
|
(mA) |
|
25 °C |
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OH |
40 |
|
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
3.2 |
3.4 |
3.6 |
3.8 |
4 |
4.2 |
4.4 |
4.6 |
4.8 |
5 |
VOH (V)
Figure 106. I/O Pin Source Current vs. Output Voltage (VCC = 2.7V)
I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
35 |
|
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
30 |
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
25 °C |
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(mA) |
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OH |
15 |
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
VOH (V)
192 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 107. I/O Pin Source Current vs. Output Voltage (VCC = 1.8V)
I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
9 |
|
|
|
|
Vcc = 1.8V |
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 °C 8 |
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
(mA) |
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OH |
4 |
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
2 |
VOH (V)
Figure 108. I/O Pin Sink Current vs. Output Voltage (VCC = 5V)
I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
100 |
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
|
|
|
|
|
|
|
|
25 °C |
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
|
|
|
|
|
|
|
|
85 °C |
(mA) |
|
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
OL |
|
|
|
|
|
|
|
|
|
|
|
I |
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
2 |
VOL (V)
193
2543H–AVR–02/05
Figure 109. I/O Pin Sink Current vs. Output Voltage (VCC = 2.7V)
I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
40 |
|
|
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
|
|
|
|
|
|
|
|
-40 °C |
|
30 |
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
|
|
|
|
|
|
|
|
85 °C |
(mA) |
|
|
|
|
|
|
|
|
|
|
|
20 |
|
|
|
|
|
|
|
|
|
|
|
OL |
|
|
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
|
|
|
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
2 |
VOL (V)
Figure 110. I/O Pin Sink Current vs. Output Voltage (VCC = 1.8V)
I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
14 |
|
|
|
|
Vcc = 1.8V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
|
|
|
|
|
|
|
-40 °C |
|
10 |
|
|
|
|
|
|
|
|
25 °C |
(mA) |
8 |
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
OL |
6 |
|
|
|
|
|
|
|
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
VOL (V)
194 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 111. Reset I/O Pin Source Current vs. Output Voltage (VCC = 5V)
RESET I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
16 |
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
|
|
(mA) |
10 |
|
|
|
|
|
|
|
|
|
|
8 |
|
|
|
|
|
|
|
|
|
|
|
Current |
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
VOH (V)
Figure 112. Reset I/O Pin Source Current vs. Output Voltage (VCC = 2.7V)
RESET I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
4.5 |
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
3.5 |
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
(m A) |
3 |
|
|
|
|
|
|
2.5 |
|
|
|
|
|
|
|
Current |
85 °C |
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
1.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
VOH (V)
195
2543H–AVR–02/05
Figure 113. Reset I/O Pin Source Current vs. Output Voltage (VCC = 1.8V)
RESET I/O PIN SOURCE CURRENT vs. OUTPUT VOLTAGE
|
1.4 |
|
|
|
|
Vcc = 1.8V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
1.2 |
|
|
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
(mA) |
0.8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Current |
|
85 °C |
|
|
|
|
|
|
|
|
|
0.6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.4 |
|
|
|
|
|
|
|
|
|
|
|
0.2 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
2 |
VOH (V)
Figure 114. Reset I/O Pin Sink Current vs. Output Voltage (VCC = 5V)
RESET I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
16 |
|
|
|
|
Vcc = 5V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
|
|
|
|
|
|
|
|
25 °C |
(mA) |
10 |
|
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
|
||
8 |
|
|
|
|
|
|
|
|
|
|
|
Current |
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
VOL (V)
196 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 115. Reset I/O Pin Sink Current vs. Output Voltage (VCC = 2.7V)
RESET I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
4.5 |
|
|
|
|
Vcc = 2.7V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
3.5 |
|
|
|
|
|
|
|
|
|
25 °C |
|
3 |
|
|
|
|
|
|
|
|
|
85 °C |
(mA) |
2.5 |
|
|
|
|
|
|
|
|
|
|
Current |
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.5 |
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0.5 |
1 |
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
VOL (V)
Figure 116. Reset I/O Pin Sink Current vs. Output Voltage (VCC = 1.8V)
RESET I/O PIN SINK CURRENT vs. OUTPUT VOLTAGE
|
1.4 |
|
|
|
Vcc = 1.8V |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-40 °C |
|
1.2 |
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
85 °C |
(mA) |
0.8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Current |
0.6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.4 |
|
|
|
|
|
|
|
|
|
|
0.2 |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
0 |
0.2 |
0.4 |
0.6 |
0.8 |
1 |
1.2 |
1.4 |
1.6 |
1.8 |
VOL (V)
197
2543H–AVR–02/05
Pin Thresholds and
Hysteresis
Figure 117. I/O Pin Input Threshold Voltage vs. VCC (VIH, I/O Pin Read as “1”)
. cc
VIH, IO PIN READ AS '1'
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
-40 °C |
|
2.5 |
|
|
|
|
|
|
|
25 °C |
|
2 |
|
|
|
|
|
|
|
|
(V) |
|
|
|
|
|
|
|
|
|
Threshold |
1.5 |
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
VCC (V) |
|
|
|
|
Figure 118. I/O Pin Input Threshold Voltage vs. VCC (VIL, I/O Pin Read as “0”)
I/O PIN INPUT THRESHOLD VOLTAGE vs. Vcc
VIL, IO PIN READ AS '0'
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 °C |
|
2.5 |
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
(V) |
|
|
|
|
|
|
|
|
|
Threshold |
1.5 |
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
VCC (V) |
|
|
|
|
198 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 119. Reset I/O Input Threshold Voltage vs. VCC (VIH,Reset Pin Read as “1”)
RESET I/O PIN INPUT THRESHOLD VOLTAGE vs. Vcc
VIH, IO PIN READ AS '1'
|
3 |
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
-40 °C |
|
2.5 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
(V) |
|
|
|
|
|
|
|
|
|
Threshold |
1.5 |
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
Vcc (V) |
|
|
|
|
Figure 120. Reset I/O Input Threshold Voltage vs. VCC (VIL,Reset Pin Read as “0”)
RESET I/O PIN INPUT THRESHOLD VOLTAGE vs. Vcc
VIL, IO PIN READ AS '0'
|
2.5 |
|
|
|
|
|
|
|
85°C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25°C |
|
|
|
|
|
|
|
|
|
-40°C |
|
2 |
|
|
|
|
|
|
|
|
(V) |
1.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Threshold |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
Vcc (V) |
|
|
|
|
199
2543H–AVR–02/05
Figure 121. Reset I/O Input Pin Hysteresis vs. VCC
RESET I/O INPUT PIN HYSTERESIS vs. Vcc
|
1 |
|
|
|
|
|
|
|
|
|
0.9 |
|
|
|
|
|
|
|
|
|
0.8 |
|
|
|
|
|
|
|
|
(V) |
-40 °C |
|
|
|
|
|
|
|
|
0.7 |
|
|
|
|
|
|
|
|
|
Hysteresis |
0.6 |
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
Input |
85 °C |
|
|
|
|
|
|
|
|
0.4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.3 |
|
|
|
|
|
|
|
|
|
0.2 |
|
|
|
|
|
|
|
|
|
0.1 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
VCC (V)
Figure 122. Reset Input Threshold Voltage vs. VCC (VIH,Reset Pin Read as “1”)
RESET INPUT THRESHOLD VOLTAGE vs. Vcc
VIH, IO PIN READ AS '1'
|
2.5 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
(V) |
1.5 |
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
Threshold |
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
VCC (V) |
|
|
|
|
200 ATtiny2313/V
2543H–AVR–02/05
ATtiny2313/V
Figure 123. Reset Input Threshold Voltage vs. VCC (VIL,Reset Pin Read as “0”)
RESET INPUT THRESHOLD VOLTAGE vs. Vcc
VIL, IO PIN READ AS '0'
|
2.5 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
(V) |
1.5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Threshold |
1 |
|
|
|
|
|
|
|
|
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 °C |
|
|
|
|
|
|
|
|
|
-40 °C |
|
|
|
|
|
|
|
|
|
0.5 |
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
|
|
|
|
|
Vcc (V) |
|
|
|
|
Figure 124. Reset Input Pin Hysteresis vs. VCC
RESET INPUT PIN HYSTERESIS vs. Vcc
|
0.7 |
|
|
|
|
|
|
|
|
|
|
0.6 |
-40 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(V) |
0.5 |
25 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
Hysteresis |
0.4 |
|
|
|
|
|
|
|
|
|
0.3 |
85 °C |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
Input |
0.2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0.1 |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
1.5 |
2 |
2.5 |
3 |
3.5 |
4 |
4.5 |
5 |
5.5 |
Vcc (V)
201
2543H–AVR–02/05
BOD Thresholds and Analog Figure 125.
Comparator Offset
|
4.45 |
|
|
|
|
|
4.4 |
|
hol d (V ) |
4.35 |
|
Thres |
|
|
|
4.3 |
|
|
4.25 |
|
|
-40 |
BOD Thresholds vs. Temperature (BOD Level is 4.3V)
BOD THRESHOLDS vs. TEMPERATURE
BODLEVEL IS 4.3V
Rising Vcc
Falling Vcc
-30 |
-20 |
-10 |
0 |
10 |
20 |
30 |
40 |
50 |
60 |
70 |
80 |
90 |
|
|
|
|
|
Temperature (C) |
|
|
|
|
|
|
Figure 126. BOD Thresholds vs. Temperature (BOD Level is 2.7V)
Threshold (V)
BOD THRESHOLDS vs. TEMPERATURE
BODLEVEL IS 2.7V
2.85
Rising Vcc
2.8
2.75
Falling Vcc
2.7
2.65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-40 |
-30 |
-20 |
-10 |
0 |
10 |
20 |
30 |
40 |
50 |
60 |
70 |
80 |
90 |
|||
|
|
|
|
|
|
|
|
Temperature (C) |
|
|
|
|
|
|
|
202 ATtiny2313/V
2543H–AVR–02/05