Skip to the content
21

ATTINY816-MN

Microchip TechnologyExtended

-40℃~+105℃ 1.8V~5.5V 10bit 128Byte 18 20MHz 512Byte 8 Bit 8KB 8bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、Built-in general-purpose timer、Hardware CRC、Calendar function、Touch function、Window watchdog (WWDG) VQFN-20-EP(3x3) Microcontrollers (MCU/MPU/SOC) ROHS

Part id
microchip/ATTINY816-MN
Category
Microcontrollers (MCU, MPU, SOC)
Package
QFN-20-EP(3x3)
Pins
21
In stock
2,048 at JLCPCB (C2052778)
Used on
22 open-source boards

Overview

The ATTINY816-MN is a microcontroller made by Microchip Technology in a QFN-20-EP(3x3) package with 21 pins. -40℃~+105℃ 1.8V~5.5V 10bit 128Byte 18 20MHz 512Byte 8 Bit 8KB 8bit AVR Built-in FLASH Power-on reset (POR)、Undervoltage detection (BOR/LVD/LVR/LVI)、Watchdog reset、Built-in general-purpose timer、Hardware CRC、Calendar function、Touch function、Window watchdog (WWDG) VQFN-20-EP(3x3) Microcontrollers (MCU/MPU/SOC) ROHS.

PCBKit's library has its KiCad symbol (MCU_Microchip_ATtiny:ATtiny816-M, from KiCad's library) and its footprint (Package_DFN_QFN:VQFN-20-1EP_3x3mm_P0.4mm_EP1.7x1.7mm, from KiCad's library), ready for a KiCad board. 2,048 are in stock at JLCPCB (part C2052778). 22 open-source boards in 16 repositories on GitHub use it.

Symbol

1PA22PA33GND4VCC5PA46PA57PA68PA79PB510PB411PB312PB213PB114PB015PC016PC117PC218PC319RESET/PA020PA1
MCU_Microchip_ATtiny:ATtiny816-MFrom KiCad's library

Footprint

21
Package_DFN_QFN:VQFN-20-1EP_3x3mm_P0.4mm_EP1.7x1.7mmFrom KiCad's library

From the datasheet

12
Supply, least
1.8 V · VDD, recommended operating min · p. 532
Supply, most
5.5 V · VDD, recommended operating max · p. 532
Supply, absolute maximum
6 V · VDD, absolute max · p. 531
Works from
-40 °C · Standard operating ambient min · p. 532
Works up to
105 °C · Standard operating ambient max · p. 532
Takes working
9.6 mA · Active typical, CLK_CPU=20MHz, VDD=5V · p. 535
Takes at most
9.6 mA · Largest listed active current, typical, 20MHz, VDD=5V · p. 535
Takes asleep
100 nA · Power Down/Standby typical, peripherals stopped, VDD=3V, 25°C · p. 535
A pin gives at most
40 mA · I/O pin sink/source absolute max · p. 531
Junction to air (20-pin VQFN (ZCL))
79.7 K/W · Junction to ambient · p. 605
Junction to case (20-pin VQFN (ZCL))
36 K/W · Junction to case · p. 605
Edge
1.3 ns · Fall time typical, VDD=5.0V, load=20 pF · p. 541

What it is and has

32
CPU
AVR · p. 1
Maximum clock
20 MHz · p. 1
Hardware multiplier
Two-cycle · p. 1
Interrupt controller
Two-level · p. 1
Flash memory
8 KB · p. 12
SRAM
512B · p. 12
EEPROM
128B · p. 12
Pins
20 · p. 12
16-bit Timer/Counter type A (TCA)
1 · p. 12
16-bit Timer/Counter type B (TCB)
1 · p. 12
12-bit Timer/Counter type D (TCD)
1 · p. 12
Real-Time Counter (RTC)
1 · p. 12
Flash endurance
10,000 cycles · p. 1
EEPROM endurance
100,000 cycles · p. 1
Data retention
40 years at 55°C · p. 1
Reset
Power-on Reset (POR) · p. 1
Brown-out Detector
BOD · p. 1
Internal RC oscillator
16/20 MHz low-power · p. 1
Internal low-power RC oscillator
32.768 kHz · p. 1
External crystal oscillator
32.768 kHz · p. 1
Sleep modes
Idle, Standby, Power Down · p. 95
Peripheral Touch Controller
Available on ATtiny816 · p. 98
CPU
AVR® CPU · p. 1
CPU clock
Up to 20 MHz · p. 1
I/O access
Single-cycle · p. 1
Flash write/erase endurance
10,000 cycles · p. 1
EEPROM write/erase endurance
100,000 cycles · p. 1
Power-on Reset
POR · p. 1
Internal ULP RC oscillator
32.768 kHz · p. 1
Programming interface
UPDI 1-wire · p. 497
Hardware breakpoints
2 · p. 497
Internal RC oscillator
16/20 MHz, low-power · p. 1

Specifications

207
ParameterConditionsAs printedPage
Power Supply Voltage VDDmin -0.5 · max 6 V531
Current into a VDD pin IVDDT=[-40, 85]°Cmax 200 mA531
Current into a VDD pin IVDDT=[85, 125]°Cmax 100 mA531
Current out of a GND pin IGNDT=[-40, 85]°Cmax 200 mA531
Current out of a GND pin IGNDT=[85, 125]°Cmax 100 mA531
RESET pin voltage with respect to GND VRSTmin -0.5 · max 13 V531
Pin voltage with respect to GND VPINmin -0.5 V531
I/O pin sink/source current IPINmin -40 · max 40 mA531
I/O pin injection current except RESET pin Ic1(1)Vpin<GND-0.6V or 5.5V<Vpin<=6.1V; 4.9V<VDD<=5.5Vmin -1 · max 1 mA531
I/O pin injection current except RESET pin Ic2(1)Vpin<GND-0.6V or Vpin<=5.5V; VDD<=4.9Vmin -15 · max 15 mA531
Sum of I/O pin injection current except RESET pin Ictotmin -45 · max 45 mA531
Storage temperature Tstoragemin -65 · max 150 °C531
Operating Supply Voltage VDDOperation ensured down to 1.8V or BOD triggering level, VBODmin 1.8 · max 5.5 V532
Operating temperature range(1) TStandard temperature range; ATtiny816-MNmin -40 · max 105 °C532
Operating system clock frequency CLK_CPUVDD=[1.8, 5.5]V; T=[-40, 105]°C(1)min 0 · max 5 MHz532
Operating system clock frequency CLK_CPUVDD=[2.7, 5.5]V; T=[-40, 105]°C(2)min 0 · max 10 MHz532
Operating system clock frequency CLK_CPUVDD=[4.5, 5.5]V; T=[-40, 105]°C(3)min 0 · max 20 MHz532
Active power consumptionATtiny816; CLK_CPU=20MHz (OSC20M); VDD=5V; T=25°Ctyp 9.6 mA535
Active power consumptionATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=5V; T=25°Ctyp 5.1 mA535
Active power consumptionATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=3V; T=25°Ctyp 2.8 mA535
Active power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=5V; T=25°Ctyp 3 mA535
Active power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=3V; T=25°Ctyp 1.6 mA535
Active power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=2V; T=25°Ctyp 1.1 mA535
Active power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=5V; T=25°Ctyp 19 uA535
Active power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=3V; T=25°Ctyp 11 uA535
Active power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=2V; T=25°Ctyp 7.3 uA535
Idle power consumptionATtiny816; CLK_CPU=20MHz (OSC20M); VDD=5V; T=25°Ctyp 4.2 mA535
Idle power consumptionATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=5V; T=25°Ctyp 2.4 mA535
Idle power consumptionATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=3V; T=25°Ctyp 1.3 mA535
Idle power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=5V; T=25°Ctyp 1.5 mA535
Idle power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=3V; T=25°Ctyp 0.8 mA535
Idle power consumptionATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=2V; T=25°Ctyp 0.5 mA535
Idle power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=5V; T=25°Ctyp 8 uA535
Idle power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=3V; T=25°Ctyp 4 uA535
Idle power consumptionATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=2V; T=25°Ctyp 2.6 uA535
Standby power consumptionATtiny816; RTC running at 1.024kHz from external XOSC32K (CL=7.5pF); VDD=3V; 25°Ctyp 0.69 uA535
Standby power consumptionATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; typical at 25°C, maximum at 85°Ctyp 0.71 · max 6 uA535
Standby power consumptionATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; maximum at 125°Cmax 8 uA535
Power down/Standby power consumption are the same when all peripherals are stoppedATtiny816; all peripherals stopped; VDD=3V; typical at 25°C, maximum at 85°Ctyp 0.1 · max 5 uA535
Power down/Standby power consumption are the same when all peripherals are stoppedATtiny816; all peripherals stopped; VDD=3V; maximum at 125°Cmax 7 uA535
Reset power consumptionATtiny816; Reset line pulled down; VDD=3V; 25°Ctyp 100 uA536
Start-up time from any Reset release twakeupVDD=3V; T=25°C; OSC20Mtyp 200 us536
Wake-up from Idle mode twakeupOSC20M @ 20MHz; VDD=5V; T=25°Ctyp 1 us536
Wake-up from Idle mode twakeupOSC20M @ 10MHz; VDD=3V; T=25°Ctyp 2 us536
Wake-up from Idle mode twakeupOSC20M @ 5MHz; VDD=2V; T=25°Ctyp 4 us536
Wake-up from Standby and Power Down mode twakeupVDD=3V; T=25°C; OSC20Mtyp 10 us536
BODContinuous; VDD=3V; T=25°C; OSC20M at 1MHztyp 19 uA536
BODSampling @ 1kHz; VDD=3V; T=25°C; OSC20M at 1MHztyp 1.2 uA536
TCA16bit count @ 1MHz; VDD=3V; T=25°Ctyp 12.6 uA536
TCB16bit count @ 1MHz; VDD=3V; T=25°Ctyp 7.4 uA537
RTC16bit count @ OSCULP32K; VDD=3V; T=25°Ctyp 1.2 uA537
WDT (including OSCULP32K)VDD=3V; T=25°Ctyp 0.7 uA537
OSC20MVDD=3V; T=25°Ctyp 125 uA537
ACFast Mode(2); CPU in Standby mode; VDD=3V; T=25°Ctyp 92 uA537
ACLow Power Mode(2); CPU in Standby mode; VDD=3V; T=25°Ctyp 45 uA537
ADC50ksps; VDD=3V; T=25°Ctyp 325 uA537
ADC100ksps; VDD=3V; T=25°Ctyp 340 uA537
XOSC32KCL=7.5pF; VDD=3V; T=25°Ctyp 0.5 uA537
OSCULP32KVDD=3V; T=25°Ctyp 0.4 uA537
USARTEnable @ 9600 Baud; VDD=3V; T=25°C; OSC20M at 1MHztyp 13 uA537
SPI (Master)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHztyp 2.1 uA537
TWI (Master)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHztyp 23.9 uA537
TWI (Slave)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHztyp 17.1 uA537
Flash programmingErase Operation; VDD=3V; T=25°Ctyp 1.5 mA537
Flash programmingWrite Operation; VDD=3V; T=25°Ctyp 3 mA537
Power-on Slope SRONmax 100 V/ms537
POR threshold voltage on VDD falling VPORVDD falls/rises at 0.5V/ms or slowermin 0.8 · max 1.6 V537
POR threshold voltage on VDD rising VPORVDD falls/rises at 0.5V/ms or slowermin 1.4 · max 1.8 V537
BOD triggering level (falling/rising) VBODBODLEVEL7min 3.9 · typ 4.2 · max 4.5 V538
BOD triggering level (falling/rising) VBODBODLEVEL2min 2.4 · typ 2.6 · max 2.9 V538
BOD triggering level (falling/rising) VBODBODLEVEL0min 1.7 · typ 1.8 · max 2 V538
Interrupt level 0 VINTPercentage above the selected BOD leveltyp 4 %538
Interrupt level 1 VINTPercentage above the selected BOD leveltyp 13 %538
Interrupt level 2 VINTPercentage above the selected BOD leveltyp 25 %538
Hysteresis VHYSBODLEVEL7typ 80 mV538
Hysteresis VHYSBODLEVEL2typ 40 mV538
Hysteresis VHYSBODLEVEL0typ 25 mV538
Detection time TBODContinuoustyp 7 us538
Detection time TBODSampled, 1kHztyp 1 ms538
Detection time TBODSampled, 125Hztyp 8 ms538
Start-up time TstartTime from enable to readytyp 40 us538
RESET pin threshold for High-Voltage Reset VHVRSTmin 11.5 · max 12.5 V538
Input Low Voltage for RESET VRST_VILmin -0.2 V538
Minimum pulse width on RESET pin tRSTmin 2.5 us538
RESET pull-up resistor RRSTVReset=0Vmin 20 · max 60 kΩ538
Accuracy with 16MHz and 20MHz Frequency Selection relative to the factory-stored frequency value fOSC20MFactory calibrated VDD=3V(1); T=[0, 70]°C; VDD=[1.8, 4.5]V(3)min -2 · max 2 %539
Accuracy with 16MHz and 20MHz Frequency Selection relative to the factory-stored frequency value fOSC20MFactory calibrated VDD=5V(1); T=[0, 70]°C; VDD=[4.5, 5.5]V(3)min -2 · max 2 %539
Accuracy with 16MHz and 20MHZ Frequency Selection fOSC20MFactory calibrated; T=25°C, 3.0Vmin -3 · max 3 %539
Accuracy with 16MHz and 20MHZ Frequency Selection fOSC20MFactory calibrated; T=[0, 70]°C, VDD=[1.8, 3.6]V(3)min -4 · max 4 %539
Accuracy with 16MHz and 20MHZ Frequency Selection fOSC20MFactory calibrated; Full operation range(3)min -5 · max 5 %539
User calibration range fCALOSC16M(2)min 14.5 · max 17.5 MHz539
User calibration range fCALOSC20M(2)min 18.5 · max 21.5 MHz539
Calibration step size %CALtyp 1.5 %539
Duty cycle DCtyp 50 %539
Start-up time TstartWithin 2% accuracytyp 8 us539
Accuracy fOSCULP32KFactory calibrated; T=25°C, 3.0Vmin -3 · max 3 %539
Accuracy fOSCULP32KFactory calibrated; T=[0, 70]°C, VDD=[1.8, 3.6]V(1)min -10 · max 10 %539
Accuracy fOSCULP32KFactory calibrated; Full operation range(1)min -30 · max 30 %539
Start-up time Tstarttyp 250 us539
Frequency Fouttyp 32.768 kHz540
Startup time TstartCL=7.5pFtyp 300 ms540
Crystal load capacitance CLmin 7.5 · max 12.5 pF540
Parasitic capacitor load CTOSC1typ 5.5 pF540
Parasitic capacitor load CTOSC2typ 5.5 pF540
Equivalent Series Resistance - Safety Factor=3 ESRCL=7.5pFmax 80 kΩ540
Equivalent Series Resistance - Safety Factor=3 ESRCL=12.5pFmax 40 kΩ540
Frequency fCLCLVDD=[1.8, 5.5]Vmin 0 · max 5 MHz540
Frequency fCLCLVDD=[2.7, 5.5]Vmin 0 · max 10 MHz540
Frequency fCLCLVDD=[4.5, 5.5]Vmin 0 · max 20 MHz540
Clock Period tCLCLVDD=[1.8, 5.5]Vmin 200 ns540
Clock Period tCLCLVDD=[2.7, 5.5]Vmin 100 ns540
Clock Period tCLCLVDD=[4.5, 5.5]Vmin 50 ns540
High Time tCHCXVDD=[1.8, 5.5]Vmin 80 ns540
High Time tCHCXVDD=[2.7, 5.5]Vmin 40 ns540
High Time tCHCXVDD=[4.5, 5.5]Vmin 20 ns540
Low Time tCLCXVDD=[1.8, 5.5]Vmin 80 ns540
Low Time tCLCXVDD=[2.7, 5.5]Vmin 40 ns540
Low Time tCLCXVDD=[4.5, 5.5]Vmin 20 ns540
Input low-voltage, except RESET pin as I/O VILmin -0.2 V540
I/O pin drive strength VOLVDD=1.8V, IOL=1.5 mAmax 0.36 V541
I/O pin drive strength VOLVDD=3.0V, IOL=7.5 mAmax 0.6 V541
I/O pin drive strength VOLVDD=5.0V, IOL=15 mAmax 1 V541
I/O pin drive strength VOHVDD=1.8V, IOH=1.5 mAmin 1.44 V541
I/O pin drive strength VOHVDD=3.0V, IOH=7.5 mAmin 2.4 V541
I/O pin drive strength VOHVDD=5.0V, IOH=15 mAmin 4 V541
Maximum combined I/O sink current per pin group(1) ItotalPin group A (PA[7:0]), pin group B (PB[7:0])max 100 mA541
Maximum combined I/O source current per pin group(1) ItotalPin group A (PA[7:0]), pin group B (PB[7:0])max 100 mA541
Input low-voltage on RESET pin as I/O VIL2min -0.2 V541
I/O pin drive strength on RESET pin as I/O VOL2VDD=1.8V, IOL=0.1 mAmax 0.36 V541
I/O pin drive strength on RESET pin as I/O VOL2VDD=3.0V, IOL=0.25 mAmax 0.6 V541
I/O pin drive strength on RESET pin as I/O VOL2VDD=5.0V, IOL=0.5 mAmax 1 V541
I/O pin drive strength on RESET pin as I/O VOH2VDD=1.8V, IOH=0.1 mAmin 1.44 V541
I/O pin drive strength on RESET pin as I/O VOH2VDD=3.0V, IOH=0.25 mAmin 2.4 V541
I/O pin drive strength on RESET pin as I/O VOH2VDD=5.0V, IOH=0.5 mAmin 4 V541
Rise time tRISEVDD=3.0V, load=20 pFtyp 2.5 ns541
Rise time tRISEVDD=5.0V, load=20 pFtyp 1.5 ns541
Fall time tFALLVDD=3.0V, load=20 pFtyp 2 ns541
Fall time tFALLVDD=5.0V, load=20 pFtyp 1.3 ns541
I/O pin capacitance except TOSC and TWI pins Cpintyp 3 pF541
I/O pin capacitance on TOSC pins Cpintyp 5.5 pF541
I/O pin capacitance on TWI pins Cpintyp 10 pF541
Pull-up resistor Rpmin 20 · typ 35 · max 50 kΩ541
θJA θJA20-pin VQFN (ZCL)typ 79.7 °C/W605
θJC θJC20-pin VQFN (ZCL)typ 36 °C/W605
MAX Recommended Baud RateUPDICLKSEL[1:0] = 0x1 (16MHz)max 0.9 Mbps501
MIN Recommended Baud RateUPDICLKSEL[1:0] = 0x1 (16MHz)min 0.3 kbps501
MAX Recommended Baud RateUPDICLKSEL[1:0] = 0x2 (8MHz)max 450 kbps501
MIN Recommended Baud RateUPDICLKSEL[1:0] = 0x2 (8MHz)min 0.15 kbps501
MAX Recommended Baud RateUPDICLKSEL[1:0] = 0x3 (4MHz), Defaultmax 225 kbps501
MIN Recommended Baud RateUPDICLKSEL[1:0] = 0x3 (4MHz), Defaultmin 0.075 kbps501
Max Total ErrorData + parity bits = 9; Rslow = 96.39; Rfast = 104.76min -3.61 · max 4.76 %501
Recommended max RX errorData + parity bits = 9; Rslow = 96.39; Rfast = 104.76min -1.5 · max 1.5 %501
Pin voltage with respect to GND VPINMaximum is VDD+0.5 Vmin -0.5 V531
Standby power consumptionATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 25°Ctyp 0.71 uA535
Standby power consumptionATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 85°Cmax 6 uA535
Standby power consumptionATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 125°Cmax 8 uA535
Power down/Standby power consumptionATtiny816; All peripherals stopped; VDD=3V; 25°Ctyp 0.1 uA535
Power down/Standby power consumptionATtiny816; All peripherals stopped; VDD=3V; 85°Cmax 5 uA535
Power down/Standby power consumptionATtiny816; All peripherals stopped; VDD=3V; 125°Cmax 7 uA535
Start-up time from any Reset release twakeupVDD=3V; T=25°C; OSC20M as system clock sourcetyp 200 us536
Wake-up from Standby and Power Down mode twakeupVDD=3V; T=25°C; OSC20M as system clock sourcetyp 10 us536
BODContinuous; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 19 uA536
BODSampling @ 1kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 1.2 uA536
TCA16bit count @ 1MHz; VDD=3V; T=25°C; module onlytyp 12.6 uA536
TCB16bit count @ 1MHz; VDD=3V; T=25°C; module onlytyp 7.4 uA537
RTC16bit count @ OSCULP32K; VDD=3V; T=25°C; module onlytyp 1.2 uA537
WDT (including OSCULP32K)VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 0.7 uA537
OSC20MVDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 125 uA537
ACFast Mode; CPU in Standby mode; VDD=3V; T=25°C; module onlytyp 92 uA537
ACLow Power Mode; CPU in Standby mode; VDD=3V; T=25°C; module onlytyp 45 uA537
ADC50ksps; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 325 uA537
ADC100ksps; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 340 uA537
XOSC32KCL=7.5pF; VDD=3V; T=25°C; module onlytyp 0.5 uA537
OSCULP32KVDD=3V; T=25°C; module onlytyp 0.4 uA537
USARTEnable @ 9600 Baud; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 13 uA537
SPI (Master)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 2.1 uA537
TWI (Master)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 23.9 uA537
TWI (Slave)Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 17.1 uA537
Flash programmingErase Operation; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 1.5 mA537
Flash programmingWrite Operation; VDD=3V; T=25°C; OSC20M at 1MHz; module onlytyp 3 mA537
SCK clock frequency fSCKMastermax 10 MHz542
SCK period tSCKMastermin 100 ns542
SCK rise time tSCKRMastertyp 2.7 ns542
SCK fall time tSCKFMastertyp 2.7 ns542
MISO setup to SCK tMISMastertyp 10 ns542
MISO hold after SCK tMIHMastertyp 10 ns542
MOSI hold after SCK tMOHMastertyp 1 ns542
Internal reference voltage INT11VVDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production testmin -2 · max 2 %547
Internal reference voltage INT055VVDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production testmin -3 · max 3 %547
Internal reference voltage INT055VVDD=[1.8V,5.5V]; T=[-40-125]°C; based on characterization, not covered by production testmin -5 · max 5 %547
Internal reference voltage INT055VVDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production testmin -3 · max 3 %547
Supply Voltage(1) VDDDAC; supply voltage must meet the VDD specification for the VREF level used as DAC referencemin 1.8 · typ 3 · max 5.5 V550
Resistive External Load RLoadDACmin 5 kΩ550
Capacitive External Load CLoadDACmax 30 pF550
Output Voltage Range VOUTDACmin 0.2 V550
Output sink/source IOUTDACtyp 1 mA550
Maximum Conversion Rate fDAC0.55V≤ VREF≤2.5Vtyp 350 ksps550
Maximum Conversion Rate fDACVREF=4.3 Vtyp 270 ksps550
Resolution ResDACmax 8 bits550
Integral Non-Linearity INL0.55V≤VREF≤4.3typ 0.3 LSB550
Differential Non-Linearity DNL0.55V≤VREF≤4.3typ 0.25 LSB550
Input voltage VINmin -0.2 V550
Input pin capacitance CINPA6typ 9 pF550
Input pin capacitance CINPA7, PB5, PB4typ 5 pF550
Input offset voltage VOFFVIN=VDD/2min -20 · max 20 mV550
Input leakage current ILtyp 5 nA550
Start-up time TSTARTtyp 1.3 us550

Pins, by the datasheet

20
1 PA2
GPIO; EVOUT0, ADC0 AIN2, alternate USART0 RxD and TWI0 SCL, SPI0 MISO, CCL LUT0-IN2. · p. 18
2 PA3
GPIO; EXTCLK, ADC0 AIN3, alternate USART0 XCK, SPI0 SCK, TCA0 WO3. · p. 18
3 GND
Ground. · p. 18
4 VDD
Input supply. · p. 17
5 PA4
GPIO; ADC0 AIN4, PTC X0/Y0, alternate USART0 XDIR, SPI0 SS, TCA0 WO4, TCD0 WOA, CCL LUT0-OUT. · p. 18
6 PA5
GPIO; ADC0 AIN5, PTC X1/Y1, AC0 OUT, TCA0 WO5, TCB0 WO, TCD0 WOB. · p. 18
7 PA6
GPIO; ADC0 AIN6, PTC X2/Y2, AC0 AINN0, DAC0 OUT. · p. 18
8 PA7
GPIO; ADC0 AIN7, PTC X3/Y3, AC0 AINP0, CCL LUT1-OUT. · p. 18
9 PB5
GPIO; CLKOUT, ADC0 AIN8, AC0 AINP1, alternate TCA0 WO2. · p. 18
10 PB4
GPIO; ADC0 AIN9, AC0 AINN1, alternate TCA0 WO1 and CCL LUT0-OUT. · p. 18
11 PB3
GPIO; TOSC1, USART0 RxD, alternate TCA0 WO0. · p. 18
12 PB2
GPIO; TOSC2, EVOUT1, USART0 TxD, TCA0 WO2. · p. 18
13 PB1
GPIO; ADC0 AIN10, PTC X4/Y4, USART0 XCK, TWI0 SDA, TCA0 WO1. · p. 18
14 PB0
GPIO; ADC0 AIN11, PTC X5/Y5, USART0 XDIR, TWI0 SCL, TCA0 WO0. · p. 18
15 PC0
GPIO; alternate SPI0 SCK and TCB0 WO, TCD0 WOC. · p. 18
16 PC1
GPIO; alternate SPI0 MISO and CCL LUT1-OUT, TCD0 WOD. · p. 18
17 PC2
GPIO; EVOUT2, alternate SPI0 MOSI. · p. 18
18 PC3
GPIO; alternate SPI0 SS and TCA0 WO3, CCL LUT1-IN0. · p. 18
19 PA0
GPIO; RESET/UPDI, ADC0 AIN0, CCL LUT0-IN0. · p. 18
20 PA1
GPIO; ADC0 AIN1, alternate USART0 TxD and TWI0 SDA, SPI0 MOSI, CCL LUT0-IN1. · p. 18

Ordering codes, by the datasheet

8
ATtiny816-MNR
VQFN · 8 KB Flash, 512B SRAM; 20 MHz; 1.8V to 5.5V; -40°C to +105°C; Tape & Reel · p. 595
ATtiny816-MN
VQFN · 8 KB Flash, 512B SRAM; 20 MHz; 1.8V to 5.5V; -40°C to +105°C; Tube or Tray · p. 595
ATtiny816-MFR
VQFN · 8 KB Flash, 512B SRAM; 16 MHz; 2.7V to 5.5V; -40°C to +125°C; Tape & Reel · p. 595
ATtiny816-MF
VQFN · 8 KB Flash, 512B SRAM; 16 MHz; 2.7V to 5.5V; -40°C to +125°C; Tube or Tray · p. 595
ATtiny816-SNR
SOIC · 8 KB Flash, 512B SRAM; 20 MHz; 1.8V to 5.5V; -40°C to +105°C; Tape & Reel · p. 595
ATtiny816-SN
SOIC · 8 KB Flash, 512B SRAM; 20 MHz; 1.8V to 5.5V; -40°C to +105°C; Tube or Tray · p. 595
ATtiny816-SFR
SOIC · 8 KB Flash, 512B SRAM; 16 MHz; 2.7V to 5.5V; -40°C to +125°C; Tape & Reel · p. 595
ATtiny816-SF
SOIC · 8 KB Flash, 512B SRAM; 16 MHz; 2.7V to 5.5V; -40°C to +125°C; Tube or Tray · p. 595

Open-source boards using it

22See all 22
  • 2 layers12 × 21 mmFpx, the printed circuit board in 3D

    Fpx

    oxplot/fpx

    easy USB-C power for all your devices

    36 parts336BSD-3-Clause
  • 2 layers25.5 × 35 mmFlux Condenser, the printed circuit board in 3D

    Flux Condenser

    curiousmindsdev/Flux_Condenser

    Cool PCB badge with animated LEDs.

    40 parts27GPL-3.0
  • 2 layers41 × 55.4 mmTouchwheelSAO, the printed circuit board in 3D

    TouchwheelSAO

    todbot/TouchwheelSAO

    Touchwheel SAO for Hackaday Supercon 2024

    21 parts12GPL-3.0
  • 2 layers38 × 24 mmBMS, the printed circuit board in 3D

    BMS

    SMalasGit/2s-BMS

    A repository for a 2s lithium ion BMS that utilizes the BQ28Z620. This IC is an all-in-one chip that features battery protection, cell balancing, battery charging, battery current and voltage monitoring, and gas gauging…

    82 parts2
  • 2 layers8 × 11 mmReDOT RGB, the printed circuit board in 3D

    ReDOT RGB

    tinyledmatrix/reDOT_RGB

    Files for reDOT_RGB SAO PCB.

    43 parts2
  • 2 layersSketching2025badge, the printed circuit board in 3D

    Sketching2025badge

    todbot/Sketching2025badge

    Badge for Sketching in Hardware 2025

    47 parts2GPL-3.0
  • 2 layers64 × 31.2 mmTwinkletwinkie, the printed circuit board in 3D

    Twinkletwinkie

    hamster/twinkletwinkie

    TwinkleTwinkie SAO

    21 parts1MIT
  • 2 layers83.9 × 83.9 mmMicrobadge panelized 8x8, the printed circuit board in 3D

    Microbadge panelized 8x8

    Pips801/microbadge

    Do you find Minibadges too big? Do you want to go even smaller? Try out the Microbadge! A minibadge can hold 4 of them!

    2,332 parts1

Parts like it

8

Questions

Is there a KiCad symbol and footprint for the ATTINY816-MN?

Yes. The symbol is MCU_Microchip_ATtiny:ATtiny816-M and the footprint Package_DFN_QFN:VQFN-20-1EP_3x3mm_P0.4mm_EP1.7x1.7mm, both drawn on this page. PCBKit places them on a board for you when you design with it.

What package is the ATTINY816-MN?

QFN-20-EP(3x3), with 21 pins. Its footprint is drawn on this page.

Where is the ATTINY816-MN datasheet?

Microchip Technology publishes it: the Datasheet link on this page opens it.

Where can I order the ATTINY816-MN?

JLCPCB lists it as part C2052778, with 2,048 in stock; the sellers' links on this page open their listings.

What can replace the ATTINY816-MN?

Parts like it in the library: the ATTINY416-MN by Microchip Technology, the ATTINY1616-MF by Microchip Technology, the ATTINY1606-MN by Microchip Technology and the ATTINY826-MU by Microchip Technology. Check their datasheets: a part that fits the footprint may still differ in its ratings.

Which open-source boards use the ATTINY816-MN?

22 boards in 16 repositories on GitHub; the most starred are listed on this page, with their KiCad files.