Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

8-Bit MCUs

ATtiny3217 Product Family

Next-Generation tinyAVR® Family

Demonstrating Microchip’s 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, 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, Atmel 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 Atmel 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 the Atmel Studio Integrated Development Environment (IDE) and can be easily modified at any time. Download Atmel Studio 7.

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 in addition to proximity sensing with one pin per sensor and no external components needed. 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. All of this enables 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 ADC and 8-bit 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 and Cyclic Redundancy Check with Automated Memory Scan. Together, these hardware-based CIPs provide engineers with the necessary features to easily incorporate safety and system management into their application.


Flexible and Feature Rich Timer/Counters

The tiny3217 series of devices feature 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 proved 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 applications such as LED, motor control, H-bridge and power converters.

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 Mbit/s. Both modes are SMBus compatible.

Configurable Custom Logic (CCL)

The Configurable Custom Logic is a programmable logic peripheral which can be connected to the device pins, events, or other internal peripherals. This allows the user 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.

View Training Videos

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
  • 6-channel Peripheral Event System
  • Analog comparator reference input
  • Configurable, internally generated reference voltage