Part Number: ATtiny2313-20MUR

Manufacturer: Microchip Technology

Description: IC MCU 8BIT 2KB FLASH 20QFN

Shipped from: Shenzhen/HK Warehouse

Stock Available: Check with us

Technical Specifications of ATTINY2313-20MUR

Datasheet  ATTINY2313-20MUR datasheet
Category Integrated Circuits (ICs)
Family Embedded – Microcontrollers
Manufacturer Atmel
Series AVR? ATtiny
Packaging Tape & Reel (TR)
Part Status Active
Core Processor AVR
Core Size 8-Bit
Speed 20MHz
Connectivity SPI, UART/USART
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Number of I/O 18
Program Memory Size 2KB (1K x 16)
Program Memory Type FLASH
EEPROM Size 128 x 8
RAM Size 128 x 8
Voltage – Supply (Vcc/Vdd) 2.7 V ~ 5.5 V
Data Converters
Oscillator Type Internal
Operating Temperature -40°C ~ 85°C (TA)
Package / Case 20-WFQFN Exposed Pad
Supplier Device Package 20-QFN (4×4)


The ATtiny2313-20MUR is a powerful microcontroller that is part of the AVR family. It combines a robust instruction set with 32 general-purpose working registers to provide a diverse set of features and capabilities for embedded control applications. In this comprehensive overview, we will look at the ATtiny2313-20MUR microcontroller’s essential features, benefits, and potential applications.

Understanding the AVR Architecture

The ATtiny2313-20MUR is founded on the Reduced Instruction Set Computer, or RISC, architecture that is native to AVR devices. This architecture is well-known for its excellent performance as well as its low consumption of power, all of which make it appropriate for a substantial number of different applications. The following is a list of some of the most essential elements of the AVR architecture:

  • Rich Instruction Set: There are a total of 120 powerful instructions included in the AVR design, the vast majority of which may be carried out within a single cycle of the clock. Because of this efficiency, execution times are reduced, and the resulting code is more efficient.
  • General-Purpose Working Registers: The ATtiny2313-20MUR offers effective data manipulation with its 32 general-purpose working registers that are directly tied to the Arithmetic Logic Unit (ALU). This configuration enables the simultaneous access of two independent registers within a single cycle of the clock.
  • entirely Static Operation: The microcontroller is completely static, which means that it can operate at any clock frequency within the range that it is rated for without the risk of causing damage to the data.
  • High Throughput: The AVR architecture is capable of reaching throughputs of up to 20 MIPS (Million Instructions Per Second) while operating at a clock frequency of 20 MHz, which ensures that instructions are executed quickly.

Memory and Storage

The ATtiny2313-20MUR has plenty of memory and storage for your applications:

It has 2K bytes of In-System Self-Programmable Flash memory, which allows you to rewrite the program memory without removing the microcontroller from the circuit. The Flash memory can withstand 10,000 write/erase cycles.

  • EEPROM: You can store non-volatile data that persists even after the power is switched off with 128 bytes of In-System Programmable EEPROM. The EEPROM has a write/erase cycle endurance of 100,000.
  • SRAM: For data storage during program execution, the microcontroller has 128 bytes of inbuilt SRAM.

Powerful Peripheral Features

The ATtiny2313-20MUR offers a range of peripheral features to enhance its versatility:

  • Timers and Counters: It includes both 8-bit and 16-bit timers/counters with various modes, making it suitable for tasks requiring precise timing and control.
  • PWM Channels: Four PWM (Pulse Width Modulation) channels allow for control of analog devices such as motors and LEDs.
  • Analog Comparator: The on-chip analog comparator enables you to compare analog voltages, useful for tasks like sensor interfacing.
  • Communication Interfaces: The microcontroller supports communication through the Universal Serial Interface (USI) and a full-duplex USART (Universal Synchronous Asynchronous Receiver Transmitter), facilitating data exchange with external devices.

Special Microcontroller Features

The ATtiny2313-20MUR comes with special features that enhance its usability and reliability:

  • debugWIRE On-Chip Debugging: Because to this feature, the process of debugging is made more simpler, and it is now much simpler to discover and fix problems in your code.
  • In-System Programmability: You can reprogram the microcontroller’s Flash memory via the SPI port, allowing for easy updates and enhancements.
  • Low-Power Modes: Idle, Power-down, and Standby are some of the low-power modes that can be utilized by the microcontroller in order to reduce the amount of power that is used when it is not being actively used.
  • Brown-out Detection: A programmable brown-out detection circuit ensures reliable operation by monitoring the supply voltage.
  • Internal Calibrated Oscillator: The internal oscillator provides accurate clock signals for precise timing.

I/O and Packages

The ATtiny2313-20MUR offers flexibility in terms of pin layout and form factor, with 18 programmable I/O lines and several package configurations, including 20-pin PDIP, 20-pin SOIC, and 20-pad QFN/MLF.

Operating Voltage and Speed Grades

The microcontroller supports different voltage ranges and speed grades:

  • Operating Voltages: Depending on the variant (ATtiny2313V or ATtiny2313), it can operate within a voltage range of 1.8V to 5.5V or 2.7V to 5.5V.
  • Speed Grades: It offers different speed grades with varying clock frequencies, ensuring compatibility with a wide range of applications.

Power Consumption

Efficiency in power consumption is crucial for battery-powered and energy-efficient applications. The ATtiny2313-20MUR excels in this regard:

  • Active Mode: In active mode, it consumes as little as 230 µA at 1.8V and 1 MHz, making it suitable for low-power applications.
  • Power-down Mode: In power-down mode, it draws less than 0.1 µA at 1.8V, ensuring minimal power usage during idle periods.


The ATtiny2313-20MUR is a versatile microcontroller suitable for a wide range of applications, including but not limited to:

  • Embedded Systems: Use it to control and manage various functions in embedded systems such as home automation, IoT devices, and robotics.
  • Sensor Interfaces: Its analog comparator and communication interfaces make it ideal for interfacing with sensors and acquiring data.
  • Motor Control: The PWM channels and timers enable precise control of motors and actuators.
  • Consumer Electronics: It can be integrated into consumer electronic products to provide control and functionality.
  • Automotive: Applications in automotive electronics can benefit from its low-power modes and reliability features.

Development Tools

To support the ATtiny2313-20MUR, a comprehensive set of development tools is available:

  • C Compilers: Utilize C compilers to write and compile code for the microcontroller.
  • Macro Assemblers: Assemblers allow for low-level programming and customization.
  • Program Debugger/Simulators: Debugging tools help identify and fix code issues during development.
  • In-Circuit Emulators: These tools enable real-time debugging and testing within the target hardware.
  • Evaluation Kits: Evaluation kits provide a convenient platform for prototyping and testing your projects.


In conclusion, the ATtiny2313-20MUR is a versatile microcontroller, blending AVR architecture with an array of features and energy-efficient modes. Whether you’re a hobbyist, student, or professional, this microcontroller equips you to bring your innovative ideas to life.

As technology advances, the ATtiny2313-20MUR remains a cost-effective solution for embedded systems and microcontroller applications. Unleash your creativity in electronics and automation—contact ICRFQ now to incorporate the ATtiny2313-20MUR series into your project and realize your vision today!

4.8/5 - (397 votes)
Kevin Chen