- •Features
- •Overview
- •Block Diagram
- •Pin Descriptions
- •Port A (PA2..PA0)
- •Port B (PB7..PB0)
- •Port D (PD6..PD0)
- •RESET
- •XTAL1
- •XTAL2
- •Resources
- •Code Examples
- •Disclaimer
- •AVR CPU Core
- •Introduction
- •Status Register
- •Stack Pointer
- •Erase
- •Write
- •I/O Memory
- •Clock Systems and their Distribution
- •CPU Clock – clkCPU
- •I/O Clock – clkI/O
- •Flash Clock – clkFLASH
- •Clock Sources
- •Crystal Oscillator
- •External Clock
- •Idle Mode
- •Power-down Mode
- •Standby Mode
- •Analog Comparator
- •Watchdog Timer
- •Port Pins
- •Resetting the AVR
- •Reset Sources
- •Power-on Reset
- •External Reset
- •Watchdog Reset
- •Watchdog Timer
- •Interrupts
- •I/O-Ports
- •Introduction
- •Configuring the Pin
- •Toggling the Pin
- •Reading the Pin Value
- •Alternate Port Functions
- •Register Description for I/O-Ports
- •8-bit Timer/Counter0 with PWM
- •Overview
- •Registers
- •Definitions
- •Counter Unit
- •Normal Mode
- •Fast PWM Mode
- •8-bit Timer/Counter Register Description
- •Timer/Counter0 and Timer/Counter1 Prescalers
- •Internal Clock Source
- •Prescaler Reset
- •External Clock Source
- •16-bit Timer/Counter1
- •Overview
- •Registers
- •Definitions
- •Compatibility
- •Counter Unit
- •Input Capture Unit
- •Noise Canceler
- •Force Output Compare
- •Normal Mode
- •Fast PWM Mode
- •16-bit Timer/Counter Register Description
- •USART
- •Overview
- •AVR USART vs. AVR UART – Compatibility
- •Clock Generation
- •External Clock
- •Frame Formats
- •Parity Bit Calculation
- •Parity Generator
- •Receiver Error Flags
- •Parity Checker
- •Disabling the Receiver
- •Using MPCM
- •Overview
- •Three-wire Mode
- •Two-wire Mode
- •4-bit Counter
- •12-bit Timer/Counter
- •Software Interrupt
- •Analog Comparator
- •Features
- •Overview
- •Physical Interface
- •Limitations of debugWIRE
- •debugWire Data Register – DWDR
- •Fuse Bits
- •Latching of Fuses
- •Signature Bytes
- •Calibration Byte
- •Page Size
- •Signal Names
- •Chip Erase
- •Reading the Flash
- •Reading the EEPROM
- •Electrical Characteristics
- •Absolute Maximum Ratings*
- •DC Characteristics
- •External Clock Drive Waveforms
- •Maximum Speed vs. VCC
- •Idle Supply Current
- •Pin Pull-up
- •Pin Driver Strength
- •Register Summary
- •Instruction Set Summary
- •Ordering Information
- •Packaging Information
- •Errata
- •ATtiny2313 Rev C
- •ATtiny2313 Rev B
- •ATtiny2313 Rev A
- •Changes from Rev. 2543H-02/05 to Rev. 2543I-04/06
- •Changes from Rev. 2543G-10/04 to Rev. 2543H-02/05
- •Changes from Rev. 2543F-08/04 to Rev. 2543G-10/04
- •Changes from Rev. 2543E-04/04 to Rev. 2543F-08/04
- •Changes from Rev. 2543D-03/04 to Rev. 2543E-04/04
- •Changes from Rev. 2543C-12/03 to Rev. 2543D-03/04
- •Changes from Rev. 2543B-09/03 to Rev. 2543C-12/03
- •Changes from Rev. 2543A-09/03 to Rev. 2543B-09/03
- •Table of Contents
|
|
|
|
|
|
ATtiny2313 |
|
|
|
|
|
|
|
|
Ordering Information |
|
|
|
||
|
|
|
|
|
||
|
|
|
|
|
||
|
Speed (MHz)(3) |
Power Supply (V) |
Ordering Code(4) |
Package(2) |
|
Operation Range |
|
|
|
ATtiny2313V-10PU |
20P3 |
|
|
|
|
|
ATtiny2313V-10SU |
20S |
|
Industrial |
|
10 |
1.8 - 5.5 |
ATtiny2313V-10SUR |
20S |
|
|
|
|
(-40°C to +85°C)(1) |
||||
|
|
|
ATtiny2313V-10MU |
20M1 |
|
|
|
|
|
|
|
||
|
|
|
ATtiny2313V-10MUR |
20M1 |
|
|
|
|
|
|
|
|
|
|
|
|
ATtiny2313-20PU |
20P3 |
|
|
|
|
|
ATtiny2313-20SU |
20S |
|
Industrial |
|
20 |
2.7 - 5.5 |
ATtiny2313-20SUR |
20S |
|
|
|
|
(-40°C to +85°C)(1) |
||||
|
|
|
ATtiny2313-20MU |
20M1 |
|
|
|
|
|
|
|
||
|
|
|
ATtiny2313-20MUR |
20M1 |
|
|
|
|
|
|
|
|
|
Notes: 1. These devices can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities.
2.Pb-free packaging alternative, complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green.
3.For Speed vs. VCC, see Figure 82 on page 180 and Figure 83 on page 180.
4.Code Indicators:
–U: matte tin
–R: tape & reel
|
Package Type |
20P3 |
20-lead, 0.300" Wide, Plastic Dual Inline Package (PDIP) |
|
|
20S |
20-lead, 0.300" Wide, Plastic Gull Wing Small Outline Package (SOIC) |
|
|
20M1 |
20-pad, 4 x 4 x 0.8 mm Body, Quad Flat No-Lead/Micro Lead Frame Package (MLF) |
|
|
215
2543L–AVR–08/10
Packaging Information
20P3
D
PIN 1
E1
A
SEATING PLANE 
A1
L
B
B1
e
E
C 
eC
eB
Notes: 1. This package conforms to JEDEC reference MS-001, Variation AD.
2.Dimensions D and E1 do not include mold Flash or Protrusion. Mold Flash or Protrusion shall not exceed 0.25 mm (0.010").
COMMON DIMENSIONS
(Unit of Measure = mm)
SYMBOL |
MIN |
NOM |
MAX |
NOTE |
A |
– |
– |
5.334 |
|
|
|
|
|
|
A1 |
0.381 |
– |
– |
|
D |
25.493 |
– |
25.984 |
Note 2 |
|
|
|
|
|
E |
7.620 |
– |
8.255 |
|
|
|
|
|
|
E1 |
6.096 |
– |
7.112 |
Note 2 |
|
|
|
|
|
B |
0.356 |
– |
0.559 |
|
|
|
|
|
|
B1 |
1.270 |
– |
1.551 |
|
|
|
|
|
|
L |
2.921 |
– |
3.810 |
|
|
|
|
|
|
C |
0.203 |
– |
0.356 |
|
|
|
|
|
|
eB |
– |
– |
10.922 |
|
|
|
|
|
|
eC |
0.000 |
– |
1.524 |
|
e |
|
2.540 TYP |
|
|
1/12/04
|
2325 Orchard Parkway |
TITLE |
|
20P3, 20-lead (0.300"/7.62 mm Wide) Plastic Dual |
|
|
San Jose, CA 95131 |
|
R |
Inline Package (PDIP) |
|
|
|
|
DRAWING NO. REV.
20P3 C
216 ATtiny2313
2543L–AVR–08/10
ATtiny2313
20S
217
2543L–AVR–08/10
20M1
D
1
Pin 1 ID
2
3 |
|
E |
|
|
|
|
|
|
|
|
|
|
|
|
|
TOP VIEW
D2
|
1 |
|
Pin #1 |
2 |
|
Notch |
3 |
E2 |
(0.20 R) |
b
L
e
BOTTOM VIEW
Note: Reference JEDEC Standard MO-220, Fig. 1 (SAW Singulation) WGGD-5.
SIDE VIEW


A2


A1
A 

0.08 C
COMMON DIMENSIONS
(Unit of Measure = mm)
SYMBOL |
MIN |
NOM |
MAX |
NOTE |
A |
0.70 |
0.75 |
0.80 |
|
|
|
|
|
|
A1 |
– |
0.01 |
0.05 |
|
|
|
|
|
|
A2 |
|
0.20 REF |
|
|
|
|
|
|
|
b |
0.18 |
0.23 |
0.30 |
|
|
|
|
|
|
D |
|
4.00 BSC |
|
|
|
|
|
|
|
D2 |
2.45 |
2.60 |
2.75 |
|
|
|
|
|
|
E |
|
4.00 BSC |
|
|
|
|
|
|
|
E2 |
2.45 |
2.60 |
2.75 |
|
|
|
|
|
|
e |
|
0.50 BSC |
|
|
|
|
|
|
|
L |
0.35 |
0.40 |
0.55 |
|
|
|
|
|
|
10/27/04
|
|
|
|
|
|
TITLE |
DRAWING NO. |
REV. |
|
|
|
|
|
2325 Orchard Parkway |
20M1, 20-pad, 4 x 4 x 0.8 mm Body, Lead Pitch 0.50 mm, |
20M1 |
A |
|
|
|
|
|
R San Jose, CA 95131 |
2.6 mm Exposed Pad, Micro Lead Frame Package (MLF) |
||
|
|
|
|
|
|
|
|
|
218 ATtiny2313 
2543L–AVR–08/10
