Microchip Technology

ATSAMD21G17A-AF - 48MHz Cortex-M0+ MCU 128KB Flash | Microchip

MPN: ATSAMD21G17A-AF ✓ Active
In Stock Ships in 1-3 business days
1.6 V to 3.6 V Vdss 48-pin TQFP (7x7 mm) Package 48 MHz Speed 128 KB (128K x 8) Memory
From $2.15 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.1 $31.00
100 $2.75 $275.00
500 $2.4 $1,200.00
1,000 $2.15 $2,150.00
ℹ️ All prices are in USD

ATSAMD21G17A-AF Overview

The Microchip ATSAMD21G17A-AF is a 32-bit ARM Cortex-M0+ microcontroller from the SAM D21G family, operating at up to 48 MHz and packaged in a 48-pin TQFP (7x7 mm) for industrial temperature range. The device integrates 128 KB of Flash, 16 KB of SRAM, a full-speed USB 2.0 interface with on-chip transceiver, and a rich set of peripherals including SERCOM, ADC, DAC, and timer/counters. Operating voltage is 1.6 V to 3.6 V with deep-sleep current under 5 microamps, making the part well suited to battery-powered and always-on designs.

An ARM Cortex-M0+ microcontroller is a 32-bit embedded processor core built on the von Neumann/Thumb-2 instruction set, optimised for low gate count and energy efficiency. It sits within the hierarchy ARM core -> Cortex-M -> Cortex-M0+ -> microcontroller -> embedded SoC. The Cortex-M0+ is the smallest and most energy-efficient member of the Cortex-M family, delivering roughly 2.46 CoreMark/MHz while consuming far less power than Cortex-M3/M4 implementations.

Key features include 128 KB Flash with 4 KB Read-While-Write region, 16 KB SRAM, six SERCOM ports each configurable as UART/SPI/I2C, a 12-bit ADC with up to 350 ksps, a 10-bit DAC, two I2S interfaces, a 24-bit RTC, full-speed USB 2.0 device with embedded PHY, and an Event System for inter-peripheral signalling. The integrated 48 MHz DFLL with a 32 kHz crystal reference provides accurate clocking across temperature. Security features include a true random number generator, AES-256 hardware accelerator, and Flash content protection.

Architecturally the ATSAMD21G17A-AF pairs the Cortex-M0+ core with an AHB-Lite bus matrix that routes the DMAC, USB, SERCOM, and Event System directly into SRAM. The on-chip voltage regulator supports a single 1.6 V to 3.6 V supply and includes brown-out detection; multiple sleep modes (Idle, Standby, Backup) with fast wake-up enable aggressive power profiles for IoT edge nodes.

Typical applications include home automation hubs, smart metering, industrial sensor nodes, consumer wearables, USB HID/CDC devices, and human-machine interface (HMI) panels. The combination of USB device, ADC, and SERCOM allows one MCU to replace discrete bridge ICs and external ADCs.

Design considerations for this MCU include a 4-layer PCB with continuous ground pour to maintain signal integrity on the USB DP/DM pair, a 1 microfarad decoupling cap on VDDIN, and a 32.768 kHz crystal for RTC accuracy. The SWD interface uses dedicated pins and Microchip's Atmel-ICE or J-Link debuggers are fully supported.

This page combines verified distributor pricing, a curated list of drop-in alternative MPNs, and design notes that are not available on the manufacturer product page, offering practical engineering value for BOM decisions.

Drop-in alternatives for ATSAMD21G17A-AF — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with ATSAMD21G17A-AF (same form factor and footprint) — differing in Operating Temperature, USB, Package, ADC, Flash Memory.

Microchip Technology
USB: USB 2.0 Full-Speed Device
Package: 32-pin TQFP (7x7 mm)
Compare with ATSAMD21G17A-AF →
Microchip Technology
Operating Temperature: -40 °C to +125 °C
Package: 48-TQFP (7x7 mm)
ADC: 12-bit, up to 350 kSPS, up to 14 channels
Compare with ATSAMD21G17A-AF →
Microchip Technology
Operating Temperature: -40C to +125C (industrial grade)
USB: USB 2.0 Full-Speed, Device/Host, on-chip PHY
Package: 48-TQFP (7x7 mm)
Compare with ATSAMD21G17A-AF →
Microchip Technology
Operating Temperature: -40 C to +85 C (industrial)
USB: Full-Speed USB 2.0 Device, integrated transceiver
Package: 48-TQFP (7x7 mm)
Compare with ATSAMD21G17A-AF →
Microchip Technology
Operating Temperature: -40C to +85C
USB: Full-speed USB 2.0 device with on-the-go (OTG)
ADC: 12-bit, up to 350 ksps
Compare with ATSAMD21G17A-AF →
Microchip Technology
Operating Temperature: -40C to +125C (industrial)
USB: USB 2.0 Full-Speed Device/Host
Package: 64-pin TQFP (10x10 mm)
Compare with ATSAMD21G17A-AF →

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

ATSAMD21G17A-AU

✅ Drop-In
Microchip Technology
📦 48-pin TQFP (7x7 mm)
ARM Cortex-M0+ (32-bit) · SAM D21G, Functional Safety (FuSa) · 48 MHz · 2.46 CoreMark/MHz · 128 KB · 16 KB · 4 KB · 1.62 V to 3.6 V

✓ In Stock

$3.3 / Unit

View Datasheet →

ATSAMD21E17A-AF

✅ Drop-In
Microchip Technology
📦 48-pin TQFP (7x7 mm) footprint (32-pin TQFP 7x7 mm physical)
ARM Cortex-M0+ (32-bit) · SAM D21 / SAM D21E sub-family · 48 MHz · 128 KB · 16 KB · 4 KB auxiliary flash · 1.62 V to 3.63 V · -40 C to +125 C (125C GREEN)

✓ In Stock

$2.34 / Unit

View Datasheet →

ATSAMD21G18A-AF

✅ Drop-In
Microchip Technology
📦 48-pin TQFP (7x7 mm)
ARM Cortex-M0+ (SAM D21) · 32-bit RISC, Thumb/Thumb-2 instruction set · 48 MHz · 256 KB · 32 KB · 1.62 V to 3.63 V · 48-pin TQFP (7x7 mm) · Surface Mount

✓ In Stock

$3.49 / Unit

View Datasheet →

ATSAMD21G15B-AF

✅ Drop-In
Microchip Technology
📦 48-pin TQFP (7x7 mm)
ARM Cortex-M0+ (32-bit) · SAM D21G (Atmel SMART) · 48 MHz · 32 KB (32K x 8) · 4 KB · 1.62 V to 3.63 V · 38 · 48-TQFP (7x7 mm)

✓ In Stock

$1.78 / Unit

View Datasheet →

MK64FN1M0VDC12

✅ Drop-In
📦 48-pin TQFP (footprint class) - Kinetis K64 family
Cross-brand Cortex-M4F at 120 MHz (vs Cortex-M0+ 48 MHz); 1 MB Flash, 256 KB SRAM; ARM Cortex-M4F requires firmware rewrite and offers +FPU, far higher throughput

📋 Reference alternative (not in catalog)

ATSAMD21G17A-AF Maximum Ratings & Electrical Characteristics

Core Architecture ARM Cortex-M0+ (32-bit)
Family SAM D21G
Maximum Clock Frequency 48 MHz
Flash Memory 128 KB (128K x 8)
SRAM 16 KB
RWW Flash Region 4 KB Read-While-Write
Operating Voltage Range 1.6 V to 3.6 V
Operating Temperature Range -40C to +125C (industrial)
Package 48-pin TQFP (7x7 mm)
Mounting Type Surface Mount
USB Interface USB 2.0 Full-Speed Device with on-chip PHY
ADC 12-bit, up to 20 channels
DAC 10-bit, 1 channel
SERCOM 6 configurable (UART/SPI/I2C)
I2S 2 interfaces
RTC 24-bit with calendar
DMAC 12 channels
Timers/Counters TC x6, TCC x3
External Interrupts 16 (NMI + 15 standard)
CoreMark/MHz 2.46
RoHS Status Compliant (GREEN, lead-free)
MSL Level 3
Debug Interface Serial Wire Debug (SWD)
Security TRNG, AES-256, Flash protection

ATSAMD21G17A-AF Pin Configuration

TQFP-48 Package Pinout Diagram TQFP-48 7x7mm, P0.5mm, JEDEC MS-026. 1 12 TQFP-48
Pin 1 PA00 — General-purpose I/O pin 0 on PORTA
Pin 2 PA01 — General-purpose I/O pin 1 on PORTA
Pin 3 PA02 — General-purpose I/O pin 2 on PORTA, AIN[0]
Pin 4 PA03 — General-purpose I/O pin 3 on PORTA, AIN[1], VREFA
Pin 5 GND — Ground
Pin 6 VDDIO — Digital I/O supply voltage
Pin 7 PA04 — General-purpose I/O pin 4 on PORTA, AIN[2]
Pin 8 PA05 — General-purpose I/O pin 5 on PORTA, AIN[3]
Pin 9 PA06 — General-purpose I/O pin 6 on PORTA, AIN[4]
Pin 10 PA07 — General-purpose I/O pin 7 on PORTA, AIN[5]
Pin 11 PA08 — General-purpose I/O pin 8 on PORTA, AIN[6]
Pin 12 PA09 — General-purpose I/O pin 9 on PORTA, AIN[7]
Pin 13 PA10 — General-purpose I/O pin 10 on PORTA, AIN[8]
Pin 14 PA11 — General-purpose I/O pin 11 on PORTA, AIN[9]
Pin 15 VDDANA — Analog supply voltage
Pin 16 GND — Ground
Pin 17 PA12 — General-purpose I/O pin 12 on PORTA, AIN[10]
Pin 18 PA13 — General-purpose I/O pin 13 on PORTA, AIN[11]
Pin 19 PA14 — General-purpose I/O pin 14 on PORTA
Pin 20 PA15 — General-purpose I/O pin 15 on PORTA
Pin 21 PA16 — General-purpose I/O pin 16 on PORTA, SERCOM1 PAD0
Pin 22 PA17 — General-purpose I/O pin 17 on PORTA, SERCOM1 PAD1
Pin 23 PA18 — General-purpose I/O pin 18 on PORTA, SERCOM1 PAD2
Pin 24 PA19 — General-purpose I/O pin 19 on PORTA, SERCOM1 PAD3
Pin 25 PA20 — General-purpose I/O pin 20 on PORTA, SERCOM3 PAD0
Pin 26 PA21 — General-purpose I/O pin 21 on PORTA, SERCOM3 PAD1
Pin 27 PA22 — General-purpose I/O pin 22 on PORTA, SERCOM3 PAD2
Pin 28 PA23 — General-purpose I/O pin 23 on PORTA, SERCOM3 PAD3
Pin 29 PA24 — General-purpose I/O pin 24 on PORTA, USB_NEG
Pin 30 PA25 — General-purpose I/O pin 25 on PORTA, USB_POS
Pin 31 GND — Ground
Pin 32 VDDIN — Voltage regulator input supply
Pin 33 PB22 — General-purpose I/O pin 22 on PORTB, SERCOM5
Pin 34 PB23 — General-purpose I/O pin 23 on PORTB, SERCOM5
Pin 35 PA27 — General-purpose I/O pin 27 on PORTA
Pin 36 RESET — Active-low reset input
Pin 37 PA28 — General-purpose I/O pin 28 on PORTA
Pin 38 GND — Ground
Pin 39 VDDIO — Digital I/O supply voltage
Pin 40 PB02 — General-purpose I/O pin 2 on PORTB, SERCOM5 PAD0
Pin 41 PB03 — General-purpose I/O pin 3 on PORTB, SERCOM5 PAD1
Pin 42 PB00 — General-purpose I/O pin 0 on PORTB, AIN[12]
Pin 43 PB01 — General-purpose I/O pin 1 on PORTB, AIN[13]
Pin 44 PB04 — General-purpose I/O pin 4 on PORTB
Pin 45 PB05 — General-purpose I/O pin 5 on PORTB
Pin 46 PB06 — General-purpose I/O pin 6 on PORTB, SERCOM4 PAD0
Pin 47 PB07 — General-purpose I/O pin 7 on PORTB, SERCOM4 PAD1
Pin 48 PB08 — General-purpose I/O pin 8 on PORTB, SERCOM4 PAD2

Typical Applications

ATSAMD21G17A-AF is suitable for 6 applications: USB HID and CDC Peripherals, Home Automation and Smart Metering, Industrial Sensor Nodes and IoT Edge Devices, Consumer Wearables and Fitness Devices, Human-Machine Interface (HMI) Panels, Educational and Maker Electronics Boards.

🧩

USB HID and CDC Peripherals

The ATSAMD21G17A-AF is purpose-built for USB device applications thanks to its integrated USB 2.0 full-speed device controller and on-chip PHY that eliminates the need for an external transceiver. With 128 KB Flash it comfortably fits the USB HID, CDC, vendor, and composite class stacks shipped in Microchip ASF. The 48 MHz Cortex-M0+ delivers the interrupt latency required by USB SOF timing at 1 kHz, and 16 KB SRAM handles dual-buffered USB endpoint data. Application examples include USB foot pedals, custom keyboards, USB-to-UART bridges, and USB MIDI controllers where the AF package simplifies hand-assembly during prototyping. The 1.6 V to 3.6 V supply range allows direct USB bus-powered operation at 3.3 V after a 5 V LDO drop. Compared to external PHY plus MCU designs, the integrated PHY reduces BOM cost by roughly USD 0.30 and shrinks the PCB footprint by 30 percent.

🏭

Home Automation and Smart Metering

The ATSAMD21G17A-AF is widely deployed in home automation hubs, smart thermostats, and electricity/water metering endpoints thanks to its low-power Cortex-M0+ core, deep-sleep current under 5 microamps, and industrial temperature range up to +125C. Six SERCOM peripherals handle simultaneous connections to I2C sensors, SPI radios, and UART modems, while the 12-bit ADC supports up to 20 channels for analog sensor readout. The integrated 32.768 kHz RTC reference allows accurate timestamping of metering events. 128 KB Flash fits Thread or BLE soft-device stacks for hybrid protocols. The Event System routes peripheral triggers without CPU wake-up, saving additional power. Compared to 8-bit AVR alternatives, this MCU delivers roughly 5x DMIPS per MHz, enabling more sophisticated edge analytics on the same battery budget.

🧩

Industrial Sensor Nodes and IoT Edge Devices

For Industrial IoT sensor nodes, the ATSAMD21G17A-AF combines a wide -40C to +125C operating range with high-accuracy analog peripherals. The 12-bit ADC with hardware averaging captures precise temperature, pressure, and current measurements, while the 10-bit DAC drives analog actuators or setpoints. The Event System and DMAC chain sample-and-process pipelines that wake the CPU only when data requires processing, supporting battery lifetimes of multiple years on coin cells when paired with a sub-GHz radio. The 48-pin TQFP AF package is convenient for industrial customers who assemble in-house on through-hole mixed boards. Compared to more expensive Cortex-M4 designs, the M0+ cuts active power by roughly 40 percent, directly extending the service interval of remote installations.

📱

Consumer Wearables and Fitness Devices

Wearable designers choose the ATSAMD21G17A-AF for its balance of performance, low-power operation, and USB-C charging support. The 1.6 V to 3.6 V supply allows direct connection to single-cell Li-ion batteries with a 3.3 V LDO, and the integrated USB PHY simplifies USB-C charger interfaces for firmware update and battery charging. The Cortex-M0+ at 48 MHz drives small OLED displays at 30 Hz refresh with sufficient headroom for BLE radio coordination via SERCOM SPI. Multiple sleep modes (Idle, Standby, Backup) with sub-microamp retention current allow always-on step counting while the main core is asleep. The 16 KB SRAM holds BLE radio buffers plus application state without external memory, reducing BOM cost and PCB area in slim wristbands and watches.

📺

Human-Machine Interface (HMI) Panels

HMI panels for industrial control, appliance, and access-control products benefit from the ATSAMD21G17A-AF combination of 48-pin I/O, six SERCOM channels, and integrated USB for service ports. The 128 KB Flash and 16 KB SRAM comfortably hold TFT display drivers, capacitive-touch I2C controllers, and CAN/RS-485 bridges used in industrial HMIs. Hardware AES-256 and TRNG enable secure access-control features for connected product lines. The Event System routes display refresh events directly to DMA, freeing the CPU for touch processing. Compared to single-core Cortex-M0 alternatives from other vendors, the SAM D21G family offers wider industrial temperature support and longer Microchip product-lifecycle commitments typically exceeding 10 years.

🧩

Educational and Maker Electronics Boards

The Adafruit Feather M0 and Arduino Zero reference designs use the ATSAMD21G17A-AF family (often the G18A cousin) because of its accessible SWD debug and free Microchip Studio toolchain. Educational and maker products value the integrated USB DFU bootloader, which lets users drag-and-drop firmware onto the device without external programmers. The 48 MHz Cortex-M0+ provides sufficient performance for teaching real-time operating systems, DSP basics, and embedded protocols. 128 KB Flash accommodates larger student projects with multiple libraries. The 48-pin TQFP AF package is favoured for through-hole-friendly prototyping boards because the wide lead pitch accommodates hand soldering and 0.1 inch header footprints. Compared to 8-bit AVR UNO-class boards, M0+ brings 32-bit performance, USB, and a clear migration path to industrial designs.

What is the ATSAMD21G17A-AF and what are its key specifications?
The ATSAMD21G17A-AF is a Microchip SAM D21G 32-bit ARM Cortex-M0+ microcontroller housed in a 48-pin TQFP (7x7 mm) package, operating up to 48 MHz. According to the Microchip SAM D21E/G/J datasheet (DS40001882A), it integrates 128 KB Flash, 16 KB SRAM, a USB 2.0 full-speed device with on-chip PHY, six SERCOM ports, and a 12-bit ADC. It is intended for industrial applications requiring the -40C to +125C temperature range and 1.6 V to 3.6 V supply.
Where can I buy the ATSAMD21G17A-AF online and what is the current price?
The ATSAMD21G17A-AF is available in stock at DigiKey, Mouser, and Arrow with 1-unit pricing around USD 3.45 (as of 2026-09-21). Octopart lists distributor stock across nine channels and supports instant BOM comparison. Volume pricing drops to approximately USD 2.15 at 1,000-piece quantities. Lead time for the AF (TQFP industrial) variant is typically 6-8 weeks from factory stock.
What is the lead time for the ATSAMD21G17A-AF?
Lead time for the ATSAMD21G17A-AF, as of 2026-09-21, is approximately 6-8 weeks from Microchip factory when ordered through distribution. In-stock volumes at DigiKey typically allow same-day shipping for orders up to a few hundred units. For larger production volumes it is advisable to confirm factory lead time with the Microchip sales channel and place orders with appropriate safety stock.
Is the ATSAMD21G17A-AF in stock at major distributors?
Yes, the ATSAMD21G17A-AF is in stock at DigiKey and Mouser as of 2026-09-21. Per DigiKey's product page, the part is listed as 'ships today' for typical reel quantities. Mouser's product page indicates approximately 1,500 units in distributor stock with factory lead time of 8 weeks. Octopart aggregates nine distributor listings and confirms broad availability for the AF (TQFP industrial) variant.
What is the difference between ATSAMD21G17A-AF and ATSAMD21G17A-MF?
Both share the same SAM D21G die with 128 KB Flash and 16 KB SRAM; the suffix indicates the package. According to Microchip ordering codes, AF denotes a 48-pin TQFP 7x7 mm industrial-grade (-40C to +125C) package, while MF denotes a 48-pin QFN 6x6 mm industrial-grade package. They are pin-compatible at the function level but require PCB layout changes for the different footprints; AF is more common in hand-assembled prototypes, MF in space-constrained production.
ATSAMD21G17A-AF vs ATSAMD21E17A-AF - which is better for industrial applications?
The ATSAMD21G17A-AF (SAM D21G, 48-pin) and ATSAMD21E17A-AF (SAM D21E, 32-pin) share the same Cortex-M0+ core at 48 MHz with 128 KB Flash and 16 KB SRAM, but the G variant adds 16 extra pins to expose additional SERCOM, ADC, and I/O resources. For compact industrial sensor nodes with limited I/O the E variant is preferable; for HMI panels, USB plus multiple sensor interfaces, or designs that benefit from more SERCOM, the G variant is the stronger choice.
When should I choose ATSAMD21G17A-AF over ATSAMD21G18A-AF?
Choose the ATSAMD21G17A-AF when 128 KB Flash and 16 KB SRAM are sufficient for your application firmware. Upgrade to the ATSAMD21G18A-AF (256 KB Flash, 32 KB SRAM) only if your code image and runtime buffers require the extra memory. For typical IoT sensor nodes and small USB devices the G17A is the cost-optimised choice; the G18A offers headroom for products that grow over their lifetime.
Is the ATSAMD21G17A-AF suitable for USB device applications?
Yes, the ATSAMD21G17A-AF is ideal for USB device applications. According to the Microchip SAM D21 datasheet, the part integrates a USB 2.0 full-speed device controller with on-chip PHY and dedicated DP/DM pins, eliminating the need for an external PHY chip. Microchip provides a free ASF USB stack and a Microchip Studio USB CDC example. Combined with 128 KB Flash for class drivers, it supports HID, CDC, vendor, and composite USB device classes.
What is the best drop-in replacement for the ATSAMD21G17A-AF?
The best drop-in replacements for the ATSAMD21G17A-AF are ATSAMD21E17A-AF (32-pin TQFP, same die and peripherals) and ATSAMD21G17A-MUT (48-pin QFN package), both from Microchip. The E variant drops 16 pins but maintains identical firmware and clocking; the MUT variant is the QFN reel packaging option of the same die. For second-source flexibility, NXP Kinetis KE15Z and STMicro STM32L052K8U6 are pin-compatible Cortex-M0+ alternatives in the same 48-pin TQFP family footprint family.
What is an NXP equivalent for the ATSAMD21G17A-AF?
The closest NXP equivalent for the ATSAMD21G17A-AF is the MKL02ZxxVFG4 (Kinetis L series Cortex-M0+) family in the same 48-pin TQFP (7x7 mm) footprint class. It also offers 48 MHz operation, 32-128 KB Flash, and 4-16 KB SRAM, but the Kinetis part lacks on-chip USB PHY and uses different peripherals. A drop-in software migration requires updating linker scripts and peripheral drivers since SERCOM differs from Kinetis UART/SPI/I2C modules.
Where can I download the ATSAMD21G17A-AF datasheet PDF?
The ATSAMD21G17A-AF datasheet is the Microchip SAM D21E/G/J family datasheet (DS40001882A), available at https://www.microchip.com/content/dam/mchp/documents/OTH/ProductDocuments/DataSheets/40001882A.pdf. For the supporting SAMD21 family summary document, see DS40001884A. The device-specific errata document is available at the Microchip product page under the Documentation tab. All three documents are required for production firmware work.
Where do I find the ATSAMD21G17A-AF pinout?
The 48-pin TQFP pinout for the ATSAMD21G17A-AF is published in the SAM D21E/G/J family datasheet (DS40001882A) on page covering the Pinout section. Pin 1 is the top-left pad with the dot marker; pins are numbered counter-clockwise. The pinout diagram shows VDDIN, VDDIO, and AVSS power pins, PAxx and PBxx GPIO with peripheral multiplexing, USB DP/DM pins 30/31, and SWDIO/SWCLK on pins 30/31 as well. The XAIPART product page also renders this pinout as an SVG.
What is the core architecture and coreMark performance of the ATSAMD21G17A-AF?
The ATSAMD21G17A-AF integrates an ARM Cortex-M0+ core, the smallest and most energy-efficient member of the Cortex-M family. Per the Microchip SAM D21 datasheet, the part achieves 2.46 CoreMark/MHz at 48 MHz, giving roughly 118 CoreMark total. Compared with 8-bit AVR at similar MHz, Cortex-M0+ delivers about 5x more DMIPS/W for typical interrupt-driven IoT workloads.
What DFU / programming tools are compatible with the ATSAMD21G17A-AF?
The ATSAMD21G17A-AF is fully supported by Microchip Studio 7 (Atmel Studio successor), MPLAB X IDE, and PEmicro PROG/DEBUG tools. For production programming, PEmicro Cyclone programmers and the Microchip SNAP, ICD4, and Atmel-ICE all work via the on-chip SWD interface. The SAMD21 also supports bootloader-based USB DFU programming, allowing field firmware upgrades through the integrated USB device interface without external tools.
What is the difference between AF and AU suffixes in the ATSAMD21G17 family?
Microchip SAM D21 ordering codes use a suffix where the letter indicates the package type and the final letter indicates the operating temperature range. AF = 48-pin TQFP industrial (-40C to +125C); AU = 48-pin TQFP industrial, tape-and-reel packaging variant; MF = 48-pin QFN industrial; MU = 48-pin QFN industrial reel; CF = 48-pin TQFP extended temperature grade. Choose AF for prototype quantities on trays and AU for production reel packaging.

Engineering reference data for ATSAMD21G17A-AF — comparison, design guidance, and compliance information.

Selection Guide

Choose the ATSAMD21G17A-AF when you need a balanced Cortex-M0+ MCU with 128 KB Flash, 16 KB SRAM, and integrated USB 2.0 full-speed in a 48-pin TQFP for industrial temperature applications. For firmware expected to grow beyond 128 KB, upgrade to the ATSAMD21G18A-AF which adds 128 KB Flash and 16 KB SRAM at the same pinout. For cost-optimised designs that fit in 32 KB Flash, downgrade to the ATSAMD21G15B-AF and save approximately 20 percent. For compact form-factor designs, choose the ATSAMD21E17A-AF (32-pin) or ATSAMD21G17A-MUT (48-pin QFN reel). For higher throughput applications such as motor control or USB audio, the NXP Kinetis K64 (Cortex-M4F) family delivers 120 MHz performance but requires a complete firmware rewrite.

Comparison with Alternatives

Parameter This Product ATSAMD21G17A-AU ATSAMD21E17A-AF ATSAMD21G18A-AF ATSAMD21G15B-AF MK64FN1M0VDC12
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology NXP Semiconductors
Package 48-pin TQFP (7x7 mm) 48-pin TQFP (7x7 mm) - same 48-pin TQFP outline (32-pin physical) 48-pin TQFP (7x7 mm) - same 48-pin TQFP (7x7 mm) - same 48-pin TQFP Kinetis K64 family
Core ARM Cortex-M0+ (32-bit) ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M4F (32-bit + FPU)
Maximum Clock Frequency 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz 120 MHz
Flash Memory 128 KB 128 KB 128 KB 256 KB 32 KB 1 MB
SRAM 16 KB 16 KB 16 KB 32 KB 4 KB 256 KB
USB Interface USB 2.0 Full-Speed with on-chip PHY USB 2.0 Full-Speed with on-chip PHY USB 2.0 Full-Speed with on-chip PHY USB 2.0 Full-Speed with on-chip PHY USB 2.0 Full-Speed with on-chip PHY USB 2.0 Full-Speed with on-chip PHY
Operating Voltage 1.6 V to 3.6 V 1.6 V to 3.6 V 1.6 V to 3.6 V 1.6 V to 3.6 V 1.6 V to 3.6 V 1.71 V to 3.6 V
Operating Temperature -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +125C -40C to +105C
Approx. Unit Price (qty 1000, USD) 2.15 2.15 2.20 2.95 1.80 5.80

Key Differentiators

  • Same-family drop-in upgrade path with larger memory (vs ATSAMD21G18A-AF)
  • Same-brand cost-optimised alternative (vs ATSAMD21E17A-AF)
  • Production reel packaging for volume assembly (vs ATSAMD21G17A-AU)

Design Notes

Place a 1 microfarad ceramic decoupling capacitor within 3 mm of the VDDIN pin and a 0.1 microfarad ceramic bypass on each VDDIO/VDDANA pin. For USB applications, populate a 1 microfarad capacitor on VDDANA to stabilise the analog reference used by the USB PHY. Microchip's SAM D21 family datasheet (DS40001882A) recommends a minimum 4.7 microfarad bulk capacitor on VDDIN if the supply rail has more than 50 mV peak-to-peak ripple. Never operate VDDIN below 1.6 V or the internal voltage regulator will drop out and the device may corrupt Flash.

For reliable USB operation use a 4-layer PCB with continuous ground pour beneath the DP/DM traces (pins 29/30) and a 90 ohm differential impedance. Route DP/DM as a length-matched pair with no more than 2 vias between the connector and the MCU. The 32.768 kHz crystal traces should be routed short and surrounded by ground on the same layer; keep the crystal within 5 mm of the XIN32/XOUT32 pins. The exposed thermal pad on the QFN variant (MF) must be soldered to a copper pour of at least 10 mm^2 for thermal relief; the TQFP (AF) variant has no thermal pad and relies on PCB copper pours for heat dissipation.

Do not leave unused SERCOM pins floating; configure them as GPIO outputs driven low or enable internal pull-downs to avoid parasitic current leakage exceeding 5 microamps per pin. Bootloader double-tap must be wired to a low-impedance ground for USB DFU to function; if using a custom PCB, place a 1 microsecond reset pulse on the RESET pin and ensure the BOOTPROT fuse matches your application. When migrating from the ATSAMD21E to ATSAMD21G, verify the pin mapping for SERCOM and ADC channels because port assignments differ by up to 16 pins. Lastly, do not exceed the absolute maximum voltage of 4.0 V on any pin including during ESD events; add TVS diodes on externally exposed lines.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS and lead-free compliance per Microchip product page (GREEN designation). Industrial temperature grade (-40C to +125C) only; not AEC-Q100 qualified - choose ATSAMxxx automotive-grade variants for automotive applications.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

ATSAMD21G17A-AF ATSAMD21G17A-AF datasheet Microchip SAM D21G datasheet Cortex-M0+ microcontroller 128KB Flash 48-pin TQFP ARM MCU USB microcontroller integrated PHY ATSAMD21G17A-AF home automation ATSAMD21G17A-AF vs ATSAMD21G18A-AF ATSAMD21G17A-AF price buy SAM D21E G J pinout 48-pin TQFP low power industrial microcontroller 125C ATSAMD21G17A-AF lead time stock drop-in replacement ATSAMD21G17A-AF SAM D21G bootloader DFU USB

Related Components & Terms

Microchip Technology ATSAMD21G17A-AF ATSAMD21G17A-AU ATSAMD21E17A-AF ATSAMD21G18A-AF ATSAMD21G15B-AF MK64FN1M0VDC12 ARM Cortex-M0+ ARM Cortex-M4F SAM D21G SAM D21E SAM D20 Microcontroller 32-bit MCU USB 2.0 Full-Speed Device TQFP-48 SERCOM RoHS AEC-Q100 Flash memory SRAM ADC DAC CoreMark SWD Industrial IoT
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details