
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
Footprint
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| Parameter | Conditions | As printed | Page |
|---|---|---|---|
| Power Supply Voltage VDD | min -0.5 · max 6 V | 531 | |
| Current into a VDD pin IVDD | T=[-40, 85]°C | max 200 mA | 531 |
| Current into a VDD pin IVDD | T=[85, 125]°C | max 100 mA | 531 |
| Current out of a GND pin IGND | T=[-40, 85]°C | max 200 mA | 531 |
| Current out of a GND pin IGND | T=[85, 125]°C | max 100 mA | 531 |
| RESET pin voltage with respect to GND VRST | min -0.5 · max 13 V | 531 | |
| Pin voltage with respect to GND VPIN | min -0.5 V | 531 | |
| I/O pin sink/source current IPIN | min -40 · max 40 mA | 531 | |
| I/O pin injection current except RESET pin Ic1(1) | Vpin<GND-0.6V or 5.5V<Vpin<=6.1V; 4.9V<VDD<=5.5V | min -1 · max 1 mA | 531 |
| I/O pin injection current except RESET pin Ic2(1) | Vpin<GND-0.6V or Vpin<=5.5V; VDD<=4.9V | min -15 · max 15 mA | 531 |
| Sum of I/O pin injection current except RESET pin Ictot | min -45 · max 45 mA | 531 | |
| Storage temperature Tstorage | min -65 · max 150 °C | 531 | |
| Operating Supply Voltage VDD | Operation ensured down to 1.8V or BOD triggering level, VBOD | min 1.8 · max 5.5 V | 532 |
| Operating temperature range(1) T | Standard temperature range; ATtiny816-MN | min -40 · max 105 °C | 532 |
| Operating system clock frequency CLK_CPU | VDD=[1.8, 5.5]V; T=[-40, 105]°C(1) | min 0 · max 5 MHz | 532 |
| Operating system clock frequency CLK_CPU | VDD=[2.7, 5.5]V; T=[-40, 105]°C(2) | min 0 · max 10 MHz | 532 |
| Operating system clock frequency CLK_CPU | VDD=[4.5, 5.5]V; T=[-40, 105]°C(3) | min 0 · max 20 MHz | 532 |
| Active power consumption | ATtiny816; CLK_CPU=20MHz (OSC20M); VDD=5V; T=25°C | typ 9.6 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=5V; T=25°C | typ 5.1 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=3V; T=25°C | typ 2.8 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=5V; T=25°C | typ 3 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=3V; T=25°C | typ 1.6 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=2V; T=25°C | typ 1.1 mA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=5V; T=25°C | typ 19 uA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=3V; T=25°C | typ 11 uA | 535 |
| Active power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=2V; T=25°C | typ 7.3 uA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=20MHz (OSC20M); VDD=5V; T=25°C | typ 4.2 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=5V; T=25°C | typ 2.4 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=10MHz (OSC20M div2); VDD=3V; T=25°C | typ 1.3 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=5V; T=25°C | typ 1.5 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=3V; T=25°C | typ 0.8 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=5MHz (OSC20M div4); VDD=2V; T=25°C | typ 0.5 mA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=5V; T=25°C | typ 8 uA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=3V; T=25°C | typ 4 uA | 535 |
| Idle power consumption | ATtiny816; CLK_CPU=32KHz (OSCULP32K); VDD=2V; T=25°C | typ 2.6 uA | 535 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from external XOSC32K (CL=7.5pF); VDD=3V; 25°C | typ 0.69 uA | 535 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; typical at 25°C, maximum at 85°C | typ 0.71 · max 6 uA | 535 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; maximum at 125°C | max 8 uA | 535 |
| Power down/Standby power consumption are the same when all peripherals are stopped | ATtiny816; all peripherals stopped; VDD=3V; typical at 25°C, maximum at 85°C | typ 0.1 · max 5 uA | 535 |
| Power down/Standby power consumption are the same when all peripherals are stopped | ATtiny816; all peripherals stopped; VDD=3V; maximum at 125°C | max 7 uA | 535 |
| Reset power consumption | ATtiny816; Reset line pulled down; VDD=3V; 25°C | typ 100 uA | 536 |
| Start-up time from any Reset release twakeup | VDD=3V; T=25°C; OSC20M | typ 200 us | 536 |
| Wake-up from Idle mode twakeup | OSC20M @ 20MHz; VDD=5V; T=25°C | typ 1 us | 536 |
| Wake-up from Idle mode twakeup | OSC20M @ 10MHz; VDD=3V; T=25°C | typ 2 us | 536 |
| Wake-up from Idle mode twakeup | OSC20M @ 5MHz; VDD=2V; T=25°C | typ 4 us | 536 |
| Wake-up from Standby and Power Down mode twakeup | VDD=3V; T=25°C; OSC20M | typ 10 us | 536 |
| BOD | Continuous; VDD=3V; T=25°C; OSC20M at 1MHz | typ 19 uA | 536 |
| BOD | Sampling @ 1kHz; VDD=3V; T=25°C; OSC20M at 1MHz | typ 1.2 uA | 536 |
| TCA | 16bit count @ 1MHz; VDD=3V; T=25°C | typ 12.6 uA | 536 |
| TCB | 16bit count @ 1MHz; VDD=3V; T=25°C | typ 7.4 uA | 537 |
| RTC | 16bit count @ OSCULP32K; VDD=3V; T=25°C | typ 1.2 uA | 537 |
| WDT (including OSCULP32K) | VDD=3V; T=25°C | typ 0.7 uA | 537 |
| OSC20M | VDD=3V; T=25°C | typ 125 uA | 537 |
| AC | Fast Mode(2); CPU in Standby mode; VDD=3V; T=25°C | typ 92 uA | 537 |
| AC | Low Power Mode(2); CPU in Standby mode; VDD=3V; T=25°C | typ 45 uA | 537 |
| ADC | 50ksps; VDD=3V; T=25°C | typ 325 uA | 537 |
| ADC | 100ksps; VDD=3V; T=25°C | typ 340 uA | 537 |
| XOSC32K | CL=7.5pF; VDD=3V; T=25°C | typ 0.5 uA | 537 |
| OSCULP32K | VDD=3V; T=25°C | typ 0.4 uA | 537 |
| USART | Enable @ 9600 Baud; VDD=3V; T=25°C; OSC20M at 1MHz | typ 13 uA | 537 |
| SPI (Master) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz | typ 2.1 uA | 537 |
| TWI (Master) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz | typ 23.9 uA | 537 |
| TWI (Slave) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz | typ 17.1 uA | 537 |
| Flash programming | Erase Operation; VDD=3V; T=25°C | typ 1.5 mA | 537 |
| Flash programming | Write Operation; VDD=3V; T=25°C | typ 3 mA | 537 |
| Power-on Slope SRON | max 100 V/ms | 537 | |
| POR threshold voltage on VDD falling VPOR | VDD falls/rises at 0.5V/ms or slower | min 0.8 · max 1.6 V | 537 |
| POR threshold voltage on VDD rising VPOR | VDD falls/rises at 0.5V/ms or slower | min 1.4 · max 1.8 V | 537 |
| BOD triggering level (falling/rising) VBOD | BODLEVEL7 | min 3.9 · typ 4.2 · max 4.5 V | 538 |
| BOD triggering level (falling/rising) VBOD | BODLEVEL2 | min 2.4 · typ 2.6 · max 2.9 V | 538 |
| BOD triggering level (falling/rising) VBOD | BODLEVEL0 | min 1.7 · typ 1.8 · max 2 V | 538 |
| Interrupt level 0 VINT | Percentage above the selected BOD level | typ 4 % | 538 |
| Interrupt level 1 VINT | Percentage above the selected BOD level | typ 13 % | 538 |
| Interrupt level 2 VINT | Percentage above the selected BOD level | typ 25 % | 538 |
| Hysteresis VHYS | BODLEVEL7 | typ 80 mV | 538 |
| Hysteresis VHYS | BODLEVEL2 | typ 40 mV | 538 |
| Hysteresis VHYS | BODLEVEL0 | typ 25 mV | 538 |
| Detection time TBOD | Continuous | typ 7 us | 538 |
| Detection time TBOD | Sampled, 1kHz | typ 1 ms | 538 |
| Detection time TBOD | Sampled, 125Hz | typ 8 ms | 538 |
| Start-up time Tstart | Time from enable to ready | typ 40 us | 538 |
| RESET pin threshold for High-Voltage Reset VHVRST | min 11.5 · max 12.5 V | 538 | |
| Input Low Voltage for RESET VRST_VIL | min -0.2 V | 538 | |
| Minimum pulse width on RESET pin tRST | min 2.5 us | 538 | |
| RESET pull-up resistor RRST | VReset=0V | min 20 · max 60 kΩ | 538 |
| Accuracy with 16MHz and 20MHz Frequency Selection relative to the factory-stored frequency value fOSC20M | Factory 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 fOSC20M | Factory 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 fOSC20M | Factory calibrated; T=25°C, 3.0V | min -3 · max 3 % | 539 |
| Accuracy with 16MHz and 20MHZ Frequency Selection fOSC20M | Factory calibrated; T=[0, 70]°C, VDD=[1.8, 3.6]V(3) | min -4 · max 4 % | 539 |
| Accuracy with 16MHz and 20MHZ Frequency Selection fOSC20M | Factory calibrated; Full operation range(3) | min -5 · max 5 % | 539 |
| User calibration range fCAL | OSC16M(2) | min 14.5 · max 17.5 MHz | 539 |
| User calibration range fCAL | OSC20M(2) | min 18.5 · max 21.5 MHz | 539 |
| Calibration step size %CAL | typ 1.5 % | 539 | |
| Duty cycle DC | typ 50 % | 539 | |
| Start-up time Tstart | Within 2% accuracy | typ 8 us | 539 |
| Accuracy fOSCULP32K | Factory calibrated; T=25°C, 3.0V | min -3 · max 3 % | 539 |
| Accuracy fOSCULP32K | Factory calibrated; T=[0, 70]°C, VDD=[1.8, 3.6]V(1) | min -10 · max 10 % | 539 |
| Accuracy fOSCULP32K | Factory calibrated; Full operation range(1) | min -30 · max 30 % | 539 |
| Start-up time Tstart | typ 250 us | 539 | |
| Frequency Fout | typ 32.768 kHz | 540 | |
| Startup time Tstart | CL=7.5pF | typ 300 ms | 540 |
| Crystal load capacitance CL | min 7.5 · max 12.5 pF | 540 | |
| Parasitic capacitor load CTOSC1 | typ 5.5 pF | 540 | |
| Parasitic capacitor load CTOSC2 | typ 5.5 pF | 540 | |
| Equivalent Series Resistance - Safety Factor=3 ESR | CL=7.5pF | max 80 kΩ | 540 |
| Equivalent Series Resistance - Safety Factor=3 ESR | CL=12.5pF | max 40 kΩ | 540 |
| Frequency fCLCL | VDD=[1.8, 5.5]V | min 0 · max 5 MHz | 540 |
| Frequency fCLCL | VDD=[2.7, 5.5]V | min 0 · max 10 MHz | 540 |
| Frequency fCLCL | VDD=[4.5, 5.5]V | min 0 · max 20 MHz | 540 |
| Clock Period tCLCL | VDD=[1.8, 5.5]V | min 200 ns | 540 |
| Clock Period tCLCL | VDD=[2.7, 5.5]V | min 100 ns | 540 |
| Clock Period tCLCL | VDD=[4.5, 5.5]V | min 50 ns | 540 |
| High Time tCHCX | VDD=[1.8, 5.5]V | min 80 ns | 540 |
| High Time tCHCX | VDD=[2.7, 5.5]V | min 40 ns | 540 |
| High Time tCHCX | VDD=[4.5, 5.5]V | min 20 ns | 540 |
| Low Time tCLCX | VDD=[1.8, 5.5]V | min 80 ns | 540 |
| Low Time tCLCX | VDD=[2.7, 5.5]V | min 40 ns | 540 |
| Low Time tCLCX | VDD=[4.5, 5.5]V | min 20 ns | 540 |
| Input low-voltage, except RESET pin as I/O VIL | min -0.2 V | 540 | |
| I/O pin drive strength VOL | VDD=1.8V, IOL=1.5 mA | max 0.36 V | 541 |
| I/O pin drive strength VOL | VDD=3.0V, IOL=7.5 mA | max 0.6 V | 541 |
| I/O pin drive strength VOL | VDD=5.0V, IOL=15 mA | max 1 V | 541 |
| I/O pin drive strength VOH | VDD=1.8V, IOH=1.5 mA | min 1.44 V | 541 |
| I/O pin drive strength VOH | VDD=3.0V, IOH=7.5 mA | min 2.4 V | 541 |
| I/O pin drive strength VOH | VDD=5.0V, IOH=15 mA | min 4 V | 541 |
| Maximum combined I/O sink current per pin group(1) Itotal | Pin group A (PA[7:0]), pin group B (PB[7:0]) | max 100 mA | 541 |
| Maximum combined I/O source current per pin group(1) Itotal | Pin group A (PA[7:0]), pin group B (PB[7:0]) | max 100 mA | 541 |
| Input low-voltage on RESET pin as I/O VIL2 | min -0.2 V | 541 | |
| I/O pin drive strength on RESET pin as I/O VOL2 | VDD=1.8V, IOL=0.1 mA | max 0.36 V | 541 |
| I/O pin drive strength on RESET pin as I/O VOL2 | VDD=3.0V, IOL=0.25 mA | max 0.6 V | 541 |
| I/O pin drive strength on RESET pin as I/O VOL2 | VDD=5.0V, IOL=0.5 mA | max 1 V | 541 |
| I/O pin drive strength on RESET pin as I/O VOH2 | VDD=1.8V, IOH=0.1 mA | min 1.44 V | 541 |
| I/O pin drive strength on RESET pin as I/O VOH2 | VDD=3.0V, IOH=0.25 mA | min 2.4 V | 541 |
| I/O pin drive strength on RESET pin as I/O VOH2 | VDD=5.0V, IOH=0.5 mA | min 4 V | 541 |
| Rise time tRISE | VDD=3.0V, load=20 pF | typ 2.5 ns | 541 |
| Rise time tRISE | VDD=5.0V, load=20 pF | typ 1.5 ns | 541 |
| Fall time tFALL | VDD=3.0V, load=20 pF | typ 2 ns | 541 |
| Fall time tFALL | VDD=5.0V, load=20 pF | typ 1.3 ns | 541 |
| I/O pin capacitance except TOSC and TWI pins Cpin | typ 3 pF | 541 | |
| I/O pin capacitance on TOSC pins Cpin | typ 5.5 pF | 541 | |
| I/O pin capacitance on TWI pins Cpin | typ 10 pF | 541 | |
| Pull-up resistor Rp | min 20 · typ 35 · max 50 kΩ | 541 | |
| θJA θJA | 20-pin VQFN (ZCL) | typ 79.7 °C/W | 605 |
| θJC θJC | 20-pin VQFN (ZCL) | typ 36 °C/W | 605 |
| MAX Recommended Baud Rate | UPDICLKSEL[1:0] = 0x1 (16MHz) | max 0.9 Mbps | 501 |
| MIN Recommended Baud Rate | UPDICLKSEL[1:0] = 0x1 (16MHz) | min 0.3 kbps | 501 |
| MAX Recommended Baud Rate | UPDICLKSEL[1:0] = 0x2 (8MHz) | max 450 kbps | 501 |
| MIN Recommended Baud Rate | UPDICLKSEL[1:0] = 0x2 (8MHz) | min 0.15 kbps | 501 |
| MAX Recommended Baud Rate | UPDICLKSEL[1:0] = 0x3 (4MHz), Default | max 225 kbps | 501 |
| MIN Recommended Baud Rate | UPDICLKSEL[1:0] = 0x3 (4MHz), Default | min 0.075 kbps | 501 |
| Max Total Error | Data + parity bits = 9; Rslow = 96.39; Rfast = 104.76 | min -3.61 · max 4.76 % | 501 |
| Recommended max RX error | Data + parity bits = 9; Rslow = 96.39; Rfast = 104.76 | min -1.5 · max 1.5 % | 501 |
| Pin voltage with respect to GND VPIN | Maximum is VDD+0.5 V | min -0.5 V | 531 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 25°C | typ 0.71 uA | 535 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 85°C | max 6 uA | 535 |
| Standby power consumption | ATtiny816; RTC running at 1.024kHz from internal OSCULP32K; VDD=3V; 125°C | max 8 uA | 535 |
| Power down/Standby power consumption | ATtiny816; All peripherals stopped; VDD=3V; 25°C | typ 0.1 uA | 535 |
| Power down/Standby power consumption | ATtiny816; All peripherals stopped; VDD=3V; 85°C | max 5 uA | 535 |
| Power down/Standby power consumption | ATtiny816; All peripherals stopped; VDD=3V; 125°C | max 7 uA | 535 |
| Start-up time from any Reset release twakeup | VDD=3V; T=25°C; OSC20M as system clock source | typ 200 us | 536 |
| Wake-up from Standby and Power Down mode twakeup | VDD=3V; T=25°C; OSC20M as system clock source | typ 10 us | 536 |
| BOD | Continuous; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 19 uA | 536 |
| BOD | Sampling @ 1kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 1.2 uA | 536 |
| TCA | 16bit count @ 1MHz; VDD=3V; T=25°C; module only | typ 12.6 uA | 536 |
| TCB | 16bit count @ 1MHz; VDD=3V; T=25°C; module only | typ 7.4 uA | 537 |
| RTC | 16bit count @ OSCULP32K; VDD=3V; T=25°C; module only | typ 1.2 uA | 537 |
| WDT (including OSCULP32K) | VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 0.7 uA | 537 |
| OSC20M | VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 125 uA | 537 |
| AC | Fast Mode; CPU in Standby mode; VDD=3V; T=25°C; module only | typ 92 uA | 537 |
| AC | Low Power Mode; CPU in Standby mode; VDD=3V; T=25°C; module only | typ 45 uA | 537 |
| ADC | 50ksps; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 325 uA | 537 |
| ADC | 100ksps; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 340 uA | 537 |
| XOSC32K | CL=7.5pF; VDD=3V; T=25°C; module only | typ 0.5 uA | 537 |
| OSCULP32K | VDD=3V; T=25°C; module only | typ 0.4 uA | 537 |
| USART | Enable @ 9600 Baud; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 13 uA | 537 |
| SPI (Master) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 2.1 uA | 537 |
| TWI (Master) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 23.9 uA | 537 |
| TWI (Slave) | Enable @ 100kHz; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 17.1 uA | 537 |
| Flash programming | Erase Operation; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 1.5 mA | 537 |
| Flash programming | Write Operation; VDD=3V; T=25°C; OSC20M at 1MHz; module only | typ 3 mA | 537 |
| SCK clock frequency fSCK | Master | max 10 MHz | 542 |
| SCK period tSCK | Master | min 100 ns | 542 |
| SCK rise time tSCKR | Master | typ 2.7 ns | 542 |
| SCK fall time tSCKF | Master | typ 2.7 ns | 542 |
| MISO setup to SCK tMIS | Master | typ 10 ns | 542 |
| MISO hold after SCK tMIH | Master | typ 10 ns | 542 |
| MOSI hold after SCK tMOH | Master | typ 1 ns | 542 |
| Internal reference voltage INT11V | VDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production test | min -2 · max 2 % | 547 |
| Internal reference voltage INT055V | VDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production test | min -3 · max 3 % | 547 |
| Internal reference voltage INT055V | VDD=[1.8V,5.5V]; T=[-40-125]°C; based on characterization, not covered by production test | min -5 · max 5 % | 547 |
| Internal reference voltage INT055V | VDD=[1.8V,3.6V]; T=[0-105]°C; based on characterization, not covered by production test | min -3 · max 3 % | 547 |
| Supply Voltage(1) VDD | DAC; supply voltage must meet the VDD specification for the VREF level used as DAC reference | min 1.8 · typ 3 · max 5.5 V | 550 |
| Resistive External Load RLoad | DAC | min 5 kΩ | 550 |
| Capacitive External Load CLoad | DAC | max 30 pF | 550 |
| Output Voltage Range VOUT | DAC | min 0.2 V | 550 |
| Output sink/source IOUT | DAC | typ 1 mA | 550 |
| Maximum Conversion Rate fDAC | 0.55V≤ VREF≤2.5V | typ 350 ksps | 550 |
| Maximum Conversion Rate fDAC | VREF=4.3 V | typ 270 ksps | 550 |
| Resolution Res | DAC | max 8 bits | 550 |
| Integral Non-Linearity INL | 0.55V≤VREF≤4.3 | typ 0.3 LSB | 550 |
| Differential Non-Linearity DNL | 0.55V≤VREF≤4.3 | typ 0.25 LSB | 550 |
| Input voltage VIN | min -0.2 V | 550 | |
| Input pin capacitance CIN | PA6 | typ 9 pF | 550 |
| Input pin capacitance CIN | PA7, PB5, PB4 | typ 5 pF | 550 |
| Input offset voltage VOFF | VIN=VDD/2 | min -20 · max 20 mV | 550 |
| Input leakage current IL | typ 5 nA | 550 | |
| Start-up time TSTART | typ 1.3 us | 550 |
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
- 2 layers12 × 21 mm

- 2 layers25.5 × 35 mm

- 2 layers41 × 55.4 mm

- 2 layers38 × 24 mm

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 mm

- 2 layers

- 2 layers64 × 31.2 mm

- 2 layers83.9 × 83.9 mm

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
8ATTINY416-MN
QFN-20-EP(3x3)-40℃~+105℃ 1.8V~5.5V 10bit 128Byte 18 20MHz 256Byte 4KB 8 Bit 8bit AVR Built-in FLASH QFN-20-EP(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY1616-MF
VQFN-20(3x3)VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY1606-MN
QFN-20-EP(3x3)-40℃~+105℃ 1.8V~5.5V 10bit 16KB 18 1KB 20MHz 256Byte 8 Bit AVR Built-in FLASH QFN-20-EP(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY826-MU
VQFN-20(3x3)-40℃~+85℃ 1.8V~5.5V 128Byte 12bit 18 1KB 20MHz 8 Bit 8KB AVR Built-in FLASH VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY1626-MF
VQFN-20(3x3)VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY3226-MF
VQFN-20(3x3)-40℃~+125℃ 1.8V~5.5V 12bit 18 20MHz 256Byte 32KB 3KB 8 Bit AVR Built-in FLASH VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY426-MU
VQFN-20(3x3)-40℃~+85℃ 1.8V~5.5V 128Byte 12bit 18 20MHz 4KB 512Byte 8 Bit AVR Built-in FLASH VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)ATTINY3226-MU
VQFN-20(3x3)-40℃~+85℃ 1.8V~5.5V 12bit 18 20MHz 256Byte 32KB 3KB 8 Bit AVR Built-in FLASH VQFN-20(3x3) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)
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.