ATtiny4313 Atmel Corporation, ATtiny4313 Datasheet
ATtiny4313
Specifications of ATtiny4313
Available stocks
Related parts for ATtiny4313
ATtiny4313 Summary of contents
Page 1
... Low Power Consumption – Active Mode • 190 µA at 1.8V and 1MHz – Idle Mode • 24 µA at 1.8V and 1MHz – Power-down Mode • 0.1 µA at 1.8V and +25°C ® 8-Bit Microcontroller 8-bit Microcontroller with 2/4K Bytes In-System Programmable Flash ATtiny2313A ATtiny4313 Summary Rev. 8246BS–AVR–09/11 ...
Page 2
Pin Configurations Figure 1-1. ATtiny2313A/4313 2 Pinout ATtiny2313A/4313 PDIP/SOIC (PCINT10/RESET/dW) PA2 (PCINT11/RXD) PD0 (PCINT12/TXD) PD1 (PCINT9/XTAL2) PA1 (PCINT8/CLKI/XTAL1) PA0 (PCINT13/CKOUT/XCK/INT0) PD2 (PCINT14/INT1) PD3 (PCINT15/T0) PD4 (PCINT16/OC0B/T1) PD5 GND MLF/VQFN (PCINT12/TXD) PD1 1 (PCINT9/XTAL2) PA1 2 (PCINT8/CLKI/XTAL1) PA0 3 (PCINT13/CKOUT/XCK/INT0) ...
Page 3
Pin Descriptions 1.1.1 VCC Digital supply voltage. 1.1.2 GND Ground. 1.1.3 Port A (PA2..PA0) Port 3-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port A output buffers have symmetrical drive characteristics ...
Page 4
XTAL2 Output from the inverting Oscillator amplifier. XTAL2 is an alternate function for PA1. ATtiny2313A/4313 4 8246BS–AVR–09/11 ...
Page 5
Overview The ATtiny2313A/4313 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny2313A/4313 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to ...
Page 6
... The ATtiny2313A/4313 AVR is supported with a full suite of program and system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Circuit Emu- lators, and Evaluation kits. 2.2 Comparison Between ATtiny2313A and ATtiny4313 The ATtiny2313A and ATtiny4313 differ only in memory sizes. ent memory sizes for the two devices. Table 2-1. Device ATtiny2313A ...
Page 7
About 3.1 Resources A comprehensive set of drivers, application notes, data sheets and descriptions on development tools are available for download at http://www.atmel.com/avr. 3.2 Code Examples This documentation contains simple code examples that briefly show how to use various ...
Page 8
Register Summary Address Name Bit 7 0x3F (0x5F) SREG I 0x3E (0x5E) Reserved – 0x3D (0x5D) SPL SP7 0x3C (0x5C) OCR0B 0x3B (0x5B) GIMSK INT1 0x3A (0x5A) GIFR INTF1 0x39 (0x59) TIMSK TOIE1 0x38 (0x58) TIFR TOV1 0x37 (0x57) ...
Page 9
Notes: 1. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory addresses should never be written. 2. I/O Registers within the address range 0x00 - 0x1F are directly bit-accessible using the SBI ...
Page 10
Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr Add two Registers ADC Rd, Rr Add with Carry two Registers ADIW Rdl,K Add Immediate to Word SUB Rd, Rr Subtract two Registers SUBI Rd, K Subtract ...
Page 11
Mnemonics Operands ROR Rd Rotate Right Through Carry ASR Rd Arithmetic Shift Right SWAP Rd Swap Nibbles BSET s Flag Set BCLR s Flag Clear BST Rr, b Bit Store from Register to T BLD Rd, b Bit load from ...
Page 12
Ordering Information 6.1 ATtiny2313A (1) Speed (MHz) Supply Voltage (V) 20 1.8 – 5.5 Notes: 1. For speed vs. supply voltage, see section 2. All packages are Pb-free, halide-free and fully green, and they comply with the European directive ...
Page 13
... Body, Very Thin Quad Flat No Lead Package (VQFN) 8246BS–AVR–09/11 Temperature Range Package 20P3 20S Industrial (4) (-40°C to +85°C) 20M1 (5)(6) 20M2 22.3 “Speed” on page 199. Package Type ATtiny2313A/4313 (2) (3) Ordering Code ATtiny4313-PU ATtiny4313-SU ATtiny4313-SUR ATtiny4313-MU ATtiny4313-MUR ATtiny4313-MMH ATtiny4313-MMHR 13 ...
Page 14
Packaging Information 7.1 20P3 A SEATING PLANE 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 ...
Page 15
ATtiny2313A/4313 15 ...
Page 16
D 1 Pin TOP VIEW D2 Pin #1 Notch (0. BOTTOM VIEW Note: Reference JEDEC Standard MO-220, Fig. 1 (SAW Singulation) WGGD-5. 2325 Orchard Parkway San Jose, CA 95131 R ATtiny2313A/4313 16 ...
Page 17
Pin TOP VIEW Pin #1 Chamfer BOTTOM VIEW Package Drawing Contact: packagedrawings@atmel.com 8246BS–AVR–09/ C0.18 (8X 0.3) ...
Page 18
... Errata The revision letters in this section refer to the revision of the corresponding ATtiny2313A/4313 device. 8.1 ATtiny2313A 8.1.1 Rev known errata. 8.1.2 Rev. A – C These device revisions were referred to as ATtiny2313/ATtiny2313V. 8.2 ATtiny4313 8.2.1 Rev known errata. ATtiny2313A/4313 18 8246BS–AVR–09/11 ...
Page 19
Datasheet Revision History 9.1 Rev. 8246B – 10/11 1. Updated device status from Preliminary to Final. 2. Updated document template. 3. Added order codes for tape&reel devices Updated figures: – – – – 5. Updated sections: – ...
Page 20
... Added 23. Updated 24. Changed BS to BS1 in 25. Updated 26. Added 27. Updated characteristic plots in (pages 207 - 230), and added plots for ATtiny4313 (pages 231 - 254). 28. Updated 29. Updated 20M2 and the ordering code -MMH (VQFN), and added the topside marking note. ATtiny2313A/4313 20 Section 19.7.1 “SPMCSR – Store Program Memory Control and Status Regis- 175. Section 20.3 “ ...
Page 21
ATtiny2313A/4313 21 ...
Page 22
... 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. © 2011 Atmel Corporation. All rights reserved. Atmel marks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. International Atmel Asia Limited Atmel Munich GmbH Unit 01-5 & ...