component
ATTINY4313-SU
Public Made by Adomby adom
Microchip Tech Global Sourcing Parts, SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Contents
README
markdownATTINY4313-SU
Microchip Tech · Global Sourcing Parts · SOIC-20-300mil
ATTINY4313-SU from Microchip Tech, in a SOIC-20-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PA2 (RESET/dW/PCINT10) | bidirectional | Port A bit 2 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active; it doubles as the active-low RESET input unless the RSTDISBL fuse is programmed, and as debugWIRE (dW). |
| 2 | PD0 (RXD/PCINT11) | bidirectional | Port D bit 0 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the RXD (USART receive) alternate function. |
| 3 | PD1 (TXD/PCINT12) | bidirectional | Port D bit 1 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the TXD (USART transmit) alternate function. |
| 4 | PA1/XTAL2/PCINT9 | bidirectional | Port A bit 1 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active, and it serves as XTAL2, the output from the inverting oscillator amplifier. |
| 5 | PA0 (XTAL1/CLKI/PCINT8) | bidirectional | Port A bit 0 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active, and it serves as XTAL1, the input to the inverting oscillator amplifier and internal clock circuit. |
| 6 | PD2 (INT0/XCK/CKOUT/PCINT13) | bidirectional | Port D bit 2 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the CKOUT, XCK and INT0 alternate functions shown in Figure 1-1. |
| 7 | PD3 (INT1/PCINT14) | bidirectional | Port D bit 3 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the INT1 external interrupt alternate function. |
| 8 | PD4/T0/PCINT15 | bidirectional | Port D bit 4 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the T0 Timer/Counter0 clock input alternate function. |
| 9 | PD5 (T1/OC0B/PCINT16) | bidirectional | Port D bit 5 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the T1 and OC0B alternate functions shown in Figure 1-1. |
| 10 | GND | power_in | Ground. |
| 11 | PD6 (ICP1/PCINT17) | bidirectional | Port D bit 6 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the ICP1 input capture alternate function. |
| 12 | PB0 (AIN0/PCINT0) | bidirectional | Port B bit 0 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the AIN0 analog comparator positive input alternate function. |
| 13 | PB1 (AIN1/PCINT1) | bidirectional | Port B bit 1 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the AIN1 analog comparator negative input alternate function. |
| 14 | PB2 (OC0A/PCINT2) | bidirectional | Port B bit 2 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC0A Timer/Counter0 output compare alternate function. |
| 15 | PB3 (OC1A/PCINT3) | bidirectional | Port B bit 3 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC1A Timer/Counter1 output compare alternate function. |
| 16 | PB4 (OC1B/PCINT4) | bidirectional | Port B bit 4 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC1B Timer/Counter1 output compare alternate function. |
| 17 | PB5 (MOSI/DI/SDA/PCINT5) | bidirectional | Port B bit 5 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the MOSI/DI/SDA alternate functions used for SPI and USI operation. |
| 18 | PB6 (MISO/DO/PCINT6) | bidirectional | Port B bit 6 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the MISO/DO alternate function. |
| 19 | PB7 (USCK/SCL/SCK/PCINT7) | bidirectional | Port B bit 7 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the USCK/SCL/SCK alternate functions. |
| 20 | VCC | power_in | Digital supply voltage. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-20-300mil |
| Category | Global Sourcing Parts |
| Pins | 20 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage | VCC | 1.8 | 5.5 | V | VCC = 1.8V to 5.5V (DC characteristics header) | 198 | |
| Operating temperature (industrial) | TA | -40 | 85 | °C | TA = -40°C to 85°C (DC characteristics header) | 198 | |
| Operating temperature | -55 | 125 | °C | 198 | |||
| Storage temperature | -65 | 150 | °C | 198 | |||
| Voltage on any pin except RESET with respect to ground | -0.5 | V | Upper limit printed as VCC+0.5V | 198 | |||
| Voltage on RESET with respect to ground | -0.5 | 13 | V | 198 | |||
| Maximum operating voltage | 6 | V | 198 | ||||
| DC current per I/O pin | 40 | mA | 198 | ||||
| DC current VCC and GND pins | 200 | mA | 198 | ||||
| Input low voltage (except XTAL1 and RESET) | VIL | -0.5 | V | VCC = 1.8V - 2.4V; max printed as 0.2VCC | 198 | ||
| Input low voltage XTAL1 pin | VIL1 | -0.5 | V | VCC = 1.8V - 5.5V; max printed as 0.1VCC | 198 | ||
| Input low voltage RESET pin | VIL2 | -0.5 | V | VCC = 1.8V - 5.5V; max printed as 0.2VCC | 198 | ||
| Input low voltage RESET pin as I/O | VIL3 | -0.5 | V | VCC = 1.8V - 2.4V; max printed as 0.2VCC | 198 | ||
| Output low voltage (except RESET pin) | VOL | 0.8 | V | IOL = 20 mA, VCC = 5V | 198 | ||
| Output low voltage (except RESET pin) | VOL | 0.6 | V | IOL = 10 mA, VCC = 3V | 198 | ||
| Output high voltage (except RESET pin) | VOH | 4.2 | V | IOH = -20 mA, VCC = 5V | 198 | ||
| Output high voltage (except RESET pin) | VOH | 2.4 | V | IOH = -10 mA, VCC = 3V | 198 | ||
| Input leakage current I/O pin (low) | IIL | 1 | µA | VCC = 5.5V, pin low (absolute value) | 198 | ||
| Input leakage current I/O pin (high) | IIH | 1 | µA | VCC = 5.5V, pin high (absolute value) | 198 | ||
| Reset pull-up resistor | RRST | 30 | 60 | kΩ | 198 | ||
| Power supply current, active mode | ICC | 0.2 | 0.55 | mA | Active 1MHz, VCC = 2V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, active mode | ICC | 1.3 | 2.5 | mA | Active 4MHz, VCC = 3V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, active mode | ICC | 3.9 | 7 | mA | Active 8MHz, VCC = 5V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, idle mode | ICC | 0.03 | 0.15 | mA | Idle 1MHz, VCC = 2V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, idle mode | ICC | 0.25 | 0.6 | mA | Idle 4MHz, VCC = 3V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, idle mode | ICC | 1 | 2 | mA | Idle 8MHz, VCC = 5V (PRR=0xFF, external clock, no I/O drive) | 199 | |
| Power supply current, power-down mode | ICC | 4 | 10 | µA | Power-down, WDT enabled, VCC = 3V | 199 | |
| Power supply current, power-down mode | ICC | 2 | µA | Power-down, WDT disabled, VCC = 3V; typ printed as < 0.15 µA | 199 | ||
| Clock frequency (external clock drive) | 1/tCLCL | 0 | 4 | MHz | VCC = 1.8 - 5.5V | 201 | |
| Clock frequency (external clock drive) | 1/tCLCL | 0 | 10 | MHz | VCC = 2.7 - 5.5V | 201 | |
| Clock frequency (external clock drive) | 1/tCLCL | 0 | 20 | MHz | VCC = 4.5 - 5.5V | 201 | |
| Minimum pulse width on RESET pin | tRST | 2.5 | µs | VCC = 1.8 - 5.5V (when RESET used as reset) | 201 | ||
| Min pulse width on brown-out reset | tBOD | 2 | µs | 201 | |||
| Brown-out detection threshold (BODLEVEL 10) | VBOT | 1.7 | 1.8 | 2 | V | BODLEVEL[1:0] = 10 | 202 |
| Brown-out detection threshold (BODLEVEL 01) | VBOT | 2.5 | 2.7 | 2.9 | V | BODLEVEL[1:0] = 01 | 202 |
| Brown-out detection threshold (BODLEVEL 00) | VBOT | 4.1 | 4.3 | 4.5 | V | BODLEVEL[1:0] = 00 | 202 |
| Release threshold of power-on reset | VPOR | 1.1 | 1.4 | 1.6 | V | TA = -40 - 85°C | 202 |
| Activation threshold of power-on reset | VPOA | 0.6 | 1.3 | 1.6 | V | TA = -40 - 85°C | 202 |
| Analog comparator input offset voltage | VACIO | 40 | mV | VCC = 5V, VIN = VCC/2; typ printed as < 10 mV | 202 | ||
| Analog comparator input leakage current | IACLK | -50 | 50 | nA | VCC = 5V, VIN = VCC/2 | 202 | |
| Digital propagation delay | tDPD | 1 | 2 | CLK | VCC = 1.8V - 5.5V | 202 | |
| Factory calibration accuracy of internal RC oscillator | -10 | 10 | % | Factory calibration 4.0/8.0 MHz at VCC = 3V, 25°C | 200 | ||
| User calibration accuracy of internal RC oscillator | -2 | 2 | % | Fixed frequency 3.1-4.7 / 7.3-9.1 MHz, fixed VCC 1.8-5.5V, fixed temperature -40-85°C | 200 | ||
| Internal bandgap reference voltage | VBG | 1 | 1.1 | 1.2 | V | VCC = 2.7V, TA = 25°C | 201 |
| Internal bandgap reference start-up time | tBG | 40 | 70 | µs | VCC = 2.7V, TA = 25°C | 201 | |
| Programming enable voltage (parallel programming) | VPP | 11.5 | 12.5 | V | Parallel programming, VCC = 5V ± 10% | 203 | |
| Oscillator frequency (serial programming) | 1/tCLCL | 0 | 4 | MHz | TA = -40°C to 85°C, VCC = 1.8 - 5.5V | 205 | |
| Oscillator frequency (serial programming) | 1/tCLCL | 0 | 20 | MHz | VCC = 4.5 - 5.5V | 205 |
Materials and finish
As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).
| Part | Material | Colour / plating | Datasheet says | Page |
|---|---|---|---|---|
| contacts | tin | , H: NiPdAu lead finish, U or N: matte tin | 259 |
CAD (KiCad official)
- Symbol:
ATTINY4313-SU - Footprint:
Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm - 3D model: SOIC-20-300mil (KiCad packages3D, STEP)
- 3D model files:
attiny4313-su-etched.step/attiny4313-su-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);attiny4313-su.step/attiny4313-su.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (274 pp, sha256
2c4b584c9b0bc5cb, retrieved 2026-10-20, tier: lcsc) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).