8-bit Atmel tinyAVR Microcontroller with 16K Bytes In-System Programmable Flash ATtiny1634 Features High Performance, Low Power AVR 8-bit Microcontroller Advanced RISC Architecture 125 Powerful Instructions Most Single Clock Cycle Execution 32 x 8 General Purpose Working Registers Fully Static Operation High Endurance, Non-volatile Memory Segments 16K Bytes of In-System, Self-Programmable Flash Program Memory Endurance: 10,000 Write/Erase Cycles 256 Bytes of In-System Programmable EEPROM Endurance: 100,000 Write/Erase Cycles 1K Byte of Internal SRAM Data retention: 20 years at 85 C / 100 years at 25 C Programming Lock for Self-Programming Flash & EEPROM Data Security Peripheral Features Dedicated Hardware and QTouch Library Support for Capacitive Touch Sensing One 8-bit and One 16-bit Timer/Counter with Two PWM Channels, Each 12-channel, 10-bit ADC Programmable Ultra Low Power Watchdog Timer On-chip Analog Comparator Two Full Duplex USARTs with Start Frame Detection Universal Serial Interface 2 Slave I C Serial Interface Special Microcontroller Features debugWIRE On-chip Debug System In-System Programmable via SPI Port Internal and External Interrupt Sources Pin Change Interrupt on 18 Pins Low Power Idle, ADC Noise Reduction, Standby and Power-down Modes Enhanced Power-on Reset Circuit Programmable Brown-out Detection Circuit with Supply Voltage Sampling Calibrated 8MHz Oscillator with Temperature Calibration Option Calibrated 32kHz Ultra Low Power Oscillator On-chip Temperature Sensor I/O and Packages 18 Programmable I/O Lines 20-pad QFN/MLF, and 20-pin SOIC Operating Voltage: 1.8 5.5V Speed Grade: 0 2MHz 1.8 5.5V 0 8MHz 2.7 5.5V 0 12MHz 4.5 5.5V Temperature Range: -40 C to +105 C Low Power Consumption Active Mode: 0.2mA at 1.8V and 1MHz Idle Mode: 30A at 1.8V and 1MHz Power-Down Mode (WDT Enabled): 1A at 1.8V Power-Down Mode (WDT Disabled): 100nA at 1.8V Atmel-8303H-AVR-ATtiny1634-Datasheet02/20141. Pin Configurations Figure 1-1. Pinout of ATtiny1634 SOIC (PCINT8/TXD0/ADC5) PB0 1 20 PB1 (ADC6/DI/SDA/RXD1/PCINT9) (PCINT7/RXD0/ADC4) PA7 2 19 PB2 (ADC7/DO/TXD1/PCINT10) (PCINT6/OC1B/ADC3) PA6 3 18 PB3 (ADC8/OC1A/PCINT11) (PCINT5/OC0B/ADC2) PA5 4 17 PC0 (ADC9/OC0A/XCK0/PCINT12) (PCINT4/T0/ADC1) PA4 5 16 PC1 (ADC10/ICP1/SCL/USCK/XCK1/PCINT13) (PCINT3/T1/SNS/ADC0) PA3 6 15 PC2 (ADC11/CLKO/INT0/PCINT14) (PCINT2/AIN1) PA2 7 14 PC3 (RESET/dW/PCINT15) (PCINT1/AIN0) PA1 8 13 PC4 (XTAL2/PCINT16) (PCINT0/AREF) PA0 9 12 PC5 (XTAL1/CLKI/PCINT17) GND 10 11 VCC QFN/MLF (PCINT6/OC1B/ADC3) PA6 1 15 PC0 (ADC9/OC0A/XCK0/PCINT12) (PCINT5/OC0B/ADC2) PA5 2 14 PC1 (ADC10/ICP1/SCL/USCK/XCK1/PCINT13) (PCINT4/T0/ADC1) PA4 3 13 PC2 (ADC11/CLKO/INT0/PCINT14) (PCINT3/T1/SNS/ADC0) PA3 4 12 PC3 (RESET/dW/PCINT15) (PCINT2/AIN1) PA2 5 11 PC4 (XTAL2/PCINT16) NOTE Bottom pad should be soldered to ground. ATtiny1634 DATASHEET 2 Atmel-8303H-AVR-ATtiny1634-Datasheet 02/2014 (PCINT1/AIN0) PA1 6 20 PA7 (PCINT7/RXD0/ADC4) (PCINT0/AREF) PA0 7 19 PB0 (PCINT8/TXD0/ADC5) GND 8 18 PB1 (ADC6/DI/SDA/RXD1/PCINT9) VCC 9 17 PB2 (ADC7/DO/TXD1/PCINT10) PC5 (XTAL1/CLKI/PCINT17) 10 16 PB3 (ADC8/OC1A/PCINT11)