We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Next-Generation tinyAVR® Family


 

Demonstrating our commitment to supporting the strong legacy of the AVR® family of 8-bit microcontrollers (MCUs), this tinyAVR® family expands the performance of the latest generation of AVR MCUs. These devices incorporate several features including Core Independent Peripherals (CIPs), a Peripheral Touch Controller (PTC) and a Peripheral Event System. These devices are also supported by Atmel START, an intuitive, online graphical configuration tool for embedded projects that allows you to configure drivers and software for your device.

tinyAVR devices offer an unrivalled combination of miniaturization, processing power, analog performance and system-level integration. The tinyAVR MCU is the most compact, feature-rich device in the AVR family.

 

Event System


The Event System allows peripherals to communicate directly with each other without involving the CPU or bus resources. The Event System is network independent of the traditional data bus paths. This means different triggers at the peripheral level can result in an event, such as a timer tick triggering a reaction in another peripheral. The Event System has six independent channels and offers a fixed latency of two cycles. Since there is no jitter, it is 100% deterministic method and a perfect fit for real-time applications. No events are lost, and they are handled at a peripheral level in two cycles, even if the CPU is performing a non-maskable interrupt.

Getting Started

The ATtiny3217 Curiosity Nano Evaluation Kit is the ideal platform for rapid prototyping with these tinyAVR MCUs. This USB-powered kit features an on-board programmer/debugger that seamlessly integrates with MPLAB® X, Microchip Studio and IAR Embedded Workbench Integrated Development Environments (IDEs). Its small form factor makes it excellent for breadboard soldering, or you can combine it with the Curiosity Nano Base for Click boards™, which features multiple mikroBUS™ sockets so you can easily add sensors, actuators or communications interfaces from Mikroelektronika’s extensive selection of Click boards.

Tools to Speed Up Your Development


 

Our intuitive, web-based graphical configuration tools will significantly reduce your development time. Offering an easy-to-use interface, MPLAB Code Configurator (MCC) and  Atmel START generate easy-to-use C code to help you get started quickly with your design. MCC is fully integrated into MPLAB X IDE so you can quickly and easily select and configure peripherals for your project. With just a few clicks, the online Atmel START generates a project that can be imported into both MPLAB X and Microchip Studio IDEs and can be easily modified at any time.

Example projects are available in Atmel START and are a great starting point for embedded programmers. They will work out of the box but are also easily modified.

Significantly reduce your development time with Atmel START, our intuitive, web-based graphical configuration tool for embedded projects. While you navigate through the easy-to-use interface, Atmel START generates factory-validated C-code to help get your design started quickly. Get started today at start.atmel.com.

With a few clicks, Atmel START projects can be imported into Microchip Studio IDE and can be easily modified at any time.

ATtiny3217 Key Attributes


  • Internal 20 MHz oscillator
  • Up to 32 KB of Flash memory
  • Up to two 10-bit ADCs
  • Peripheral Touch Controller (PTC)
  • 8-bit DAC
  • Cyclic Redundancy Check (CRC) scan
  • 16-bit real time clock and periodic interrupt timer
  • Advanced 12-bit timer/counter for control applications
  • Configurable Custom Logic (CCL) peripheral
  • Six-channel Peripheral Event System
  • Analog comparator reference input
  • Configurable, internally generated reference voltage

Building Blocks for Real-Time Control


Capacitive Touch
The Peripheral Touch Controller (PTC) is an autonomous unit that acquires and processes capacitive touch signals. It supports buttons, sliders and wheel configurations, as well as proximity sensing, with one pin per sensor without requiring any external components. This CIP offers a broad range of touch-enabled features, such as mutual and self-capacitance, noise filtering, moisture tolerance, auto calibration over temperature and voltage, as well as wake-up upon touch and/or proximity from sleep mode. These features enable a user-friendly interface that improves system performance and offers increased robustness, lower power consumption and end-application differentiation.
 
Integrated Analog
The on-board dual 10-bit, 115 ksps Analog-to-Digital Converter (ADC) and 8-bit Digital-to-Analog Converter (DAC) with multiple selectable internal voltage references and comparators can be connected internally to create closed-loop feedback without requiring pins or PCB space or can be used for other functions within the applications. In addition, the on-board analog comparator offers fast propagation delay which is configurable through hysteresis. The analog comparator can also be connected directly with the DAC and the output is directly available on a pin.

On-Board Safety and Monitoring
The tiny3217 product family features the Windowed Watchdog Timer (WWDT) and Cyclic Redundancy Check (CRC) with Automated Memory Scan. Together, these hardware-based CIPs provide you with the necessary features to easily incorporate safety and system management into your application.

Flexible and Feature-Rich Timer/Counters
The ATtiny3217 series of devices features two 16-bit timer/counters and one 12-bit timer/counter optimized for control applications. The 16-bit counters can be split into 8-bit counters and provide accurate program execution timing, frequency and waveform generation and command execution. Two timer/counters also support input capture with time and frequency measurement of digital signals. The 12-bit timer/counter is a high-performance waveform controller that consists of an asynchronous counter, a prescaler, compare logic, capture logic and control logic. This is perfectly suited for LED, motor control, H-bridge and power converter applications.

Serial Peripherals
There are several serial devices on-board, which are all CIPs. The USART supports full-duplex communication, asynchronous and synchronous operation and one-wire configurations. The USART can be set in Serial Peripheral Interface (SPI) master mode and used for SPI communication. The dedicated SPI is a high-speed full-duplex synchronous data transfer interface using three or four pins. It allows fast communication. The I2C supports both master and slave modes with address match up to 10-bit in 100k, 400k and 1 Mbps. Both modes are SMBus compatible.

Configurable Custom Logic (CCL)
The Configurable Custom Logic is a programmable logic peripheral that can be connected to the device pins, events, or other internal peripherals. This allows you to eliminate logic gates for glue logic functions on the PCB. Each Lookup Table (LUT) consists of three inputs, a truth table, options synchronizer, filter and edge detector. Each LUT can generate an output that can be routed internally or available on pins. This eliminates the need for external logic and reduces BOM cost.

New/Popular ATtiny3217 Family Products

View All Parametrics
Product Status 5K Pricing CPU Architecture Family Program Memory Size (KB) Program Memory Size (KWords) Bootload capable SRAM (Bytes) Emulated EEPROM in Flash Max I/O Pins Pin count Max CPU Speed (MHz) Peripheral Pin Select / Pin Muxing Vbat/Vddbu battery backup Brown-Out Reset Low Voltage Detection Power On Reset Internal Oscillator Hardware RTCC/RTC Watch Dog Timer Number of Comparators Number of Op Amps Number of ADCs ADC Input Max ADC Resolution (Bits) Max ADC Sampling Rate (ksps) ADC with Computation Number of DACs DAC Outputs Max DAC Resolution (Bits) Internal Voltage Reference (Bandgap) Zero Cross detect Slope Compensation / Programmable Ramp Generator Data Signal Modulator CTMU Max 8-Bit Digital Timers Max 16-Bit Digital Timers Signal Measurement Timer Hardware Limit Timer Stand alone PWMs Capture / Compare/PWM (CCP) Enhanced Capture/Compare/PWM (ECCP) Max PWM outputs (including complementary) Number of PWM Time Bases PWM Max Resolution (Bits) Quadrature Encoder Interface Angular Timer Math Accelerator UART SPI I2C Number of USB Modules USB Interface USB Active Clock Tuning Number of CAN Modules CAN Transmit Buffers CAN Receive Buffers Ethernet LIN IrDA Parallel Port Class B Support CRC Configurable Logic Cell (CLC/CCL) Complementary Waveform Generator / Complementary Output Generator Numerically Controlled Oscillator Programmable Switched Mode Controller Hardware Cap Voltage Divider Cap. Touch Channels Segmented LCD Keeloq Hardware Crypto Engine JTAG Temp Range Min Temp Range Max Operation Voltage Min (V) Operation Voltage Max (V) High Voltage Capable Packages
ATTINY414 In Production $0.39 8-bit AVR MCU 8 8-bit MCU 4 2 Yes 256 128 / HEF 12 14 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 0 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No No Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 14/SOIC
ATTINY412 In Production $0.32 8-bit AVR MCU 8 8-bit MCU 4 2 Yes 256 128 / HEF 6 8 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 1 6 10 115 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 0 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 8/SOIC
ATTINY416 In Production $0.45 8-bit AVR MCU 8 8-bit MCU 4 2 Yes 256 128 / HEF 18 20 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 0 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 20/SOIC, 20/VQFN
ATTINY417 In Production $0.57 8-bit AVR MCU 8 8-bit MCU 4 2 Yes 256 128 / HEF 22 24 20 Yes No BOR None Yes 20 MHz, 32 kHz No Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 0 6 0 0 8 3 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 0 0 No No None -40 125 1.8 5.5 No 24/VQFN
ATTINY814 In Production $0.46 8-bit AVR MCU 8 8-bit MCU 8 4 Yes 256 128 / HEF 12 14 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 8 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 14/SOIC
ATTINY816 In Production $0.50 8-bit AVR MCU 8 8-bit MCU 8 4 Yes 512 128 / HEF 18 20 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 3 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 20/SOIC, 20/VQFN
ATTINY817 In Production $0.64 8-bit AVR MCU 8 8-bit MCU 8 4 Yes 512 128 / HEF 22 24 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 3 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 24/VQFN
ATTINY1614 In Production $0.52 8-bit AVR MCU 8 8-bit MCU 16 8 Yes 2048 256 / HEF 12 14 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 3 0 2 10 10 115 No 3 1 8 Yes No 0 0 No 1 3 0 0 4 0 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 6 0 No No None -40 125 1.8 5.5 No 14/SOIC
ATTINY1616 In Production $0.55 8-bit AVR MCU 8 8-bit MCU 16 8 Yes 2048 256 / HEF 18 20 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 3 0 2 16 10 115 No 3 1 8 Yes No 0 0 No 1 3 0 0 4 0 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 36 0 No No None -40 125 1.8 5.5 No 20/SOIC, 20/VQFN
ATTINY1617 In Production $0.66 8-bit AVR MCU 8 8-bit MCU 16 8 Yes 2048 256 / HEF 22 24 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 3 0 2 20 10 115 No 3 1 8 Yes No 0 0 No 1 3 0 0 4 0 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 49 0 No No None -40 125 1.8 5.5 No 24/VQFN
ATTINY3216 In Production $0.73 8-bit AVR MCU 8 8-bit MCU 32 16 Yes 2048 256 / HEF 18 20 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 3 0 2 16 10 115 No 3 1 8 Yes No 0 0 No 1 3 0 0 4 0 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 12 0 No No None -40 125 1.8 5.5 No 20/SOIC
ATTINY3217 In Production $0.71 8-bit AVR MCU 8 8-bit MCU 32 16 Yes 2048 256 / HEF 18 24 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz No Yes 3 0 2 20 10 115 No 3 1 8 Yes No 0 0 No 1 3 0 0 4 0 0 8 0 0 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 14 0 No No None -40 125 1.8 5.5 No 24/VQFN
ATTINY212 In Production $0.31 8-bit AVR MCU 8 8-bit MCU 2 1 Yes 128 64 / HEF 6 8 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 1 6 10 115 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 0 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 8/SOIC
ATTINY214 In Production $0.37 8-bit AVR MCU 8 8-bit MCU 2 1 Yes 128 64 / HEF 12 14 20 Yes No Programmable BOR None Yes 20 MHz, 32 kHz N/A Yes 1 0 0 12 10 0 No 1 1 8 Yes No 0 0 No 1 2 0 0 6 0 0 0 0 8 0 No No 1 1 1 0 None No 0 0 0 None No No No Yes Yes 1 0 0 0 No 9 0 No No None -40 125 1.8 5.5 No 14/SOIC

New AVR® ATtiny MCUs Increase System Throughput and Lower Power Consumption in Embedded Applications

Learn how the ATtiny3217 family offers faster 8-bit throughput and lower power consumption.