Microchip Technology

ATSAMD21J17D-AF - ARM Cortex-M0+ 48MHz MCU, 128KB Flash, TQFP-64 | Microchip

MPN: ATSAMD21J17D-AF ✓ Active
In Stock Ships in 1-3 business days
1.62 V to 3.63 V Vdss 64-TQFP (10 x 10 mm) Package 48 MHz Speed 128 KB Flash (128K x 8) Memory
From $3.95 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $6.2 $6.20
10 $5.55 $55.50
100 $4.92 $492.00
500 $4.4 $2,200.00
1,000 $3.95 $3,950.00
ℹ️ All prices are in USD

ATSAMD21J17D-AF Overview

The Microchip Technology ATSAMD21J17D-AF is a low-power, high-performance ARM Cortex-M0+ based flash microcontroller in a 64-pin TQFP (10x10 mm) package with extended 125°C temperature rating. It operates at up to 48 MHz, integrates 128 KB of Flash and 16 KB of SRAM, and includes a full-speed USB 2.0 device interface plus a 12-bit ADC, 10-bit DAC, and SERCOM peripheral set. The device targets home automation, consumer, metering, and industrial applications where low power and integrated peripherals matter most.

The ARM Cortex-M0+ is the smallest and most energy-efficient member of the Cortex-M family, designed for deeply embedded 8/16-bit replacement workloads. A microcontroller (MCU) integrates a CPU core, non-volatile program memory (Flash), volatile working memory (SRAM), and a mix of analog and digital peripherals onto a single die. Compared with classic 8051 or PIC microcontrollers, Cortex-M0+ parts deliver a modern 32-bit Thumb-2 instruction set, deterministic nested-vector interrupts, and a vendor-neutral AMBA peripheral bus, while retaining ultra-low standby current. The SAMD21 family specifically adds Microchip's Event System (inter-peripheral signalling without CPU wake) and SleepWalking peripherals that remain clocked while the core sleeps.

Key specifications of the ATSAMD21J17D-AF include 48 MHz maximum CPU clock, 128 KB Flash with 4 KB read-while-write region, 16 KB SRAM, six SERCOM channels configurable as UART/SPI/I2C, one full-speed USB 2.0 device port, up to 6 communication interfaces, and up to 52 programmable I/O pins. The integrated 12-bit ADC delivers up to 350 ksps, the 10-bit DAC up to 350 ksps, and the peripheral event system supports 12 channels. Operating voltage spans 1.62 V to 3.63 V with multiple low-power sleep modes down to sub-microamp standby.

Architecturally, the ATSAMD21J17D-AF uses a single-cycle hardware multiplier, separate Flash and SRAM AHB-Lite buses, and a peripheral bridge that decouples SERCOM and event traffic from the CPU. The Full-Speed USB device controller includes an on-chip transceiver and internal pull-up, eliminating external components for HID, CDC, or vendor-class USB applications. The integrated SERCOM blocks can be reassigned at runtime, providing design flexibility when moving pins between UART, SPI, and I2C.

Typical applications include home automation controllers (Zigbee/Matter bridges, smart thermostats), consumer products (USB HID peripherals, wearables), metering (gas/water/electricity counters with LCD), and industrial sensor hubs (Modbus nodes, 4-20 mA loop replacements). The extended 125°C temperature rating also supports automotive aftermarket and outdoor industrial use cases.

When designing with this MCU, allocate at least one SERCOM channel for UART debug console, plan the USB DP/DN trace impedance for 90 ohm differential, and use the Event System to wake the CPU on peripheral triggers instead of polling. The 128 KB Flash and 16 KB SRAM are sufficient for an RTOS kernel plus an application, but compiler -Os and a memory pool allocator are recommended for production builds.

Drop-in alternatives for ATSAMD21J17D-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 ATSAMD21J17D-AF (same form factor and footprint) — differing in MSL Level, Package, ADC, DAC, Operating Temperature.

Microchip Technology
MSL Level: MSL3 (per JEDEC J-STD-020)
Package: 64-pin TQFP, 10x10 mm, 0.5 mm pitch
ADC: 12-bit, up to 350 ksps, up to 20 channels
Compare with ATSAMD21J17D-AF →
Microchip Technology
MSL Level: 3 (per JEDEC J-STD-020)
Package: 64-TQFP (10x10 mm)
Operating Temperature: -40C to +85C (automotive grade)
Compare with ATSAMD21J17D-AF →

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

ATSAMD21J17A-AF

✅ Drop-In
Microchip Technology
📦 64-TQFP (10x10 mm)
ARM Cortex-M0+ (32-bit) · 48 MHz · 128 KB (128K x 8) · 16 KB · 4 KB · 1.62 V to 3.63 V · +125 °C (industrial grade) · 64-pin TQFP, 10x10 mm, 0.5 mm pitch

✓ In Stock

$2.75 / Unit

View Datasheet →

ATSAMD21J17A-AUT

✅ Drop-In
Microchip Technology
📦 64-TQFP (10x10 mm)
SAM D21 · ARM Cortex-M0+ · 32-Bit · 48 MHz · 128 KB (128K x 8) · 16 KB · 4 KB · 1.6 V to 3.6 V

✓ In Stock

$3.3 / Unit

View Datasheet →

ATSAMD21J18D-AF

✅ Drop-In
📦 64-TQFP (10x10 mm)
Same Rev D die, upgraded memory (256 KB Flash, 32 KB SRAM) vs 128 KB/16 KB in J17 - otherwise pin-to-pin identical 64-TQFP footprint

📋 Reference alternative (not in catalog)

ATSAMD21J16D-AF

✅ Drop-In
📦 64-TQFP (10x10 mm)
Same Rev D die, smaller memory (64 KB Flash, 8 KB SRAM) vs 128 KB/16 KB in J17 - otherwise pin-to-pin identical 64-TQFP footprint; firmware must be retargeted if downgrading

📋 Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

ATSAMD21J17D-AF Maximum Ratings & Electrical Characteristics

Manufacturer Microchip Technology
Series SAM D21J, Functional Safety (FuSa)
Core ARM Cortex-M0+
Core Size 32-Bit
Maximum CPU Clock 48 MHz
Program Memory Size 128 KB Flash (128K x 8)
Program Memory Type Flash
RAM Size 16 KB
Read-While-Write Region 4 KB
Number of I/O Pins 52 (maximum, package-dependent)
Supply Voltage 1.62 V to 3.63 V
Operating Temperature -40 °C to +125 °C (extended)
Package 64-TQFP (10 x 10 mm)
Mounting Type Surface Mount
ADC 12-bit, up to 20 channels
DAC 10-bit, 1 channel
USB Full-Speed USB 2.0 Device with on-chip transceiver
Communication Interfaces Up to 6 SERCOM (UART/SPI/I2C), I2S, USB
Timers TC x 3, TCC x 2, RTC x 1
MSL Level 3 (168 hours, JEDEC J-STD-020)
RoHS Status Compliant
Lead-Free Yes

ATSAMD21J17D-AF Pin Configuration

TQFP-64 Package Pinout Diagram TQFP-64 10x10mm, P0.5mm, JEDEC MS-026. 1 16 TQFP-64
Pin 1 VDDIO — Digital I/O supply voltage (1.62V to 3.63V)
Pin 2 PA02 — General-purpose I/O / ADC AIN[0]
Pin 3 PA03 — General-purpose I/O / ADC AIN[1] / REF positive reference
Pin 4 PA04 — General-purpose I/O / ADC AIN[2]
Pin 5 PA05 — General-purpose I/O / ADC AIN[3]
Pin 6 PA06 — General-purpose I/O / ADC AIN[4]
Pin 7 PA07 — General-purpose I/O / ADC AIN[5]
Pin 8 VDDANA — Analog supply voltage
Pin 9 GND — Ground
Pin 10 PA08 — General-purpose I/O / ADC AIN[6] (NMI - non-maskable interrupt)
Pin 11 PA09 — General-purpose I/O / ADC AIN[7]
Pin 12 PA10 — General-purpose I/O / ADC AIN[8] / SERCOM2 PAD[2]
Pin 13 PA11 — General-purpose I/O / ADC AIN[9]
Pin 14 PA12 — General-purpose I/O / ADC AIN[10]
Pin 15 PA13 — General-purpose I/O / ADC AIN[11]
Pin 16 PA14 — General-purpose I/O / SERCOM2 PAD[2]
Pin 17 PA15 — General-purpose I/O / SERCOM2 PAD[3]
Pin 18 PA16 — General-purpose I/O / SERCOM1 PAD[0] / I2S FS
Pin 19 PA17 — General-purpose I/O / SERCOM1 PAD[1] / I2S SCK
Pin 20 PA18 — General-purpose I/O / SERCOM1 PAD[2] / I2S MCK
Pin 21 PA19 — General-purpose I/O / SERCOM1 PAD[3] / I2S SD
Pin 22 PA20 — General-purpose I/O / SERCOM5 PAD[2]
Pin 23 PA21 — General-purpose I/O / SERCOM5 PAD[3]
Pin 24 PA22 — General-purpose I/O / SERCOM3 PAD[0]
Pin 25 PA23 — General-purpose I/O / SERCOM3 PAD[1]
Pin 26 PA24 — General-purpose I/O / SERCOM3 PAD[2]
Pin 27 PA25 — General-purpose I/O / SERCOM3 PAD[3]
Pin 28 VDDCORE — Internal core voltage regulator output (1.2V) - decouple
Pin 29 GND — Ground
Pin 30 PA27 — General-purpose I/O
Pin 31 PA28 — General-purpose I/O / Reset input
Pin 32 PA30 — General-purpose I/O / SWCLK (programming/debug)
Pin 33 PA31 — General-purpose I/O / SWDIO (programming/debug)
Pin 34 PB00 — General-purpose I/O
Pin 35 PB01 — General-purpose I/O
Pin 36 PB02 — General-purpose I/O / SERCOM5 PAD[0]
Pin 37 PB03 — General-purpose I/O / SERCOM5 PAD[1]
Pin 38 PB04 — General-purpose I/O
Pin 39 PB05 — General-purpose I/O
Pin 40 PB06 — General-purpose I/O
Pin 41 PB07 — General-purpose I/O
Pin 42 PB08 — General-purpose I/O / SERCOM4 PAD[0]
Pin 43 PB09 — General-purpose I/O / SERCOM4 PAD[1]
Pin 44 PB10 — General-purpose I/O / SERCOM4 PAD[2]
Pin 45 PB11 — General-purpose I/O / SERCOM4 PAD[3]
Pin 46 PB12 — General-purpose I/O / SERCOM0 PAD[0]
Pin 47 PB13 — General-purpose I/O / SERCOM0 PAD[1]
Pin 48 PB14 — General-purpose I/O / SERCOM0 PAD[2]
Pin 49 PB15 — General-purpose I/O / SERCOM0 PAD[3]
Pin 50 PB16 — General-purpose I/O / SERCOM1 PAD[0]
Pin 51 PB17 — General-purpose I/O / SERCOM1 PAD[1]
Pin 52 PB18 — General-purpose I/O / SERCOM1 PAD[2]
Pin 53 PB19 — General-purpose I/O / SERCOM1 PAD[3]
Pin 54 PB20 — General-purpose I/O / SERCOM3 PAD[0]
Pin 55 PB21 — General-purpose I/O / SERCOM3 PAD[1]
Pin 56 PB22 — General-purpose I/O / SERCOM3 PAD[2]
Pin 57 PB23 — General-purpose I/O / SERCOM3 PAD[3]
Pin 58 USB_DM — USB Full-Speed data minus (D-)
Pin 59 USB_DP — USB Full-Speed data plus (D+)
Pin 60 VDDIO — Digital I/O supply voltage (1.62V to 3.63V)
Pin 61 GND — Ground
Pin 62 GND — Ground
Pin 63 PA01 — General-purpose I/O / DAC VOUT
Pin 64 PA00 — General-purpose I/O / XIN (32.768 kHz crystal)

Typical Applications

ATSAMD21J17D-AF is suitable for 6 applications: Home Automation Hub, USB HID Peripheral, Smart Metering End Point, Industrial Sensor Hub, Consumer Wearable Device, Automotive Aftermarket Module.

🧩

Home Automation Hub

The ATSAMD21J17D-AF fits home automation hubs where 128 KB Flash fits Zigbee/Matter bridge firmware, 16 KB SRAM serves TLS session buffers, and 48 MHz Cortex-M0+ handles message routing with deterministic interrupt latency. The 6 SERCOM channels map directly to UART for debug console, SPI for the radio module, I2C for sensors, and I2S for audio chime features, while USB enables firmware upgrade via PC tether. The 1.62-3.63 V range supports 3.3 V wall-adapter and battery-backup topologies simultaneously.

🎧

USB HID Peripheral

The ATSAMD21J17D-AF's integrated full-speed USB 2.0 device controller with on-chip transceiver and internal pull-up removes the external 5 V-tolerant buffer normally required for keyboards, mice, and custom HID devices. The 48 MHz core plus 128 KB Flash easily fits USB stacks from TinyUSB or LUFA, leaving headroom for product firmware. The 52 programmable I/Os support 22+ key matrix or 64 mechanical-key scanning with room for RGB underglow LED drivers.

⚡

Smart Metering End Point

The ATSAMD21J17D-AF suits gas, water, and electricity metering end points where its low-power SleepWalking peripherals enable ADC sampling of sensor signals while the core sleeps, drawing sub-microamp standby current on battery-only installations. The 128 KB Flash stores metrology algorithms, calibration tables, and DLMS/COSEM protocol stacks; the 16 KB SRAM buffers burst consumption data. The extended -40 to +125 °C rating matches outdoor or basement meter enclosures without derating.

🏭

Industrial Sensor Hub

For industrial sensor hubs aggregating Modbus RTU, 4-20 mA loop, and discrete I/O channels, the ATSAMD21J17D-AF's 48 MHz core plus 6 SERCOM channels map cleanly to multiple UART/SPI/I2C buses without external transceivers. The 12-bit ADC handles 4-20 mA loop measurements with external current-sense resistors, while the 10-bit DAC generates excitation signals for bridge sensors. The extended temperature rating covers factory-floor enclosures and outdoor cabinet installations.

📱

Consumer Wearable Device

Wearable designs (fitness bands, smart watches, medical patches) benefit from the ATSAMD21J17D-AF's 1.62-3.63 V supply range (single Li-ion / coin cell support), Cortex-M0+ efficiency, and SleepWalking peripherals that wake the CPU only on heart-rate sensor events. The integrated 12-bit ADC captures bioimpedance and PPG signals, the 10-bit DAC drives LED bias, and the SERCOM I2C connects the IMU and heart-rate sensor with no external glue logic.

🚗

Automotive Aftermarket Module

Although not AEC-Q100 qualified, the ATSAMD21J17D-AF's extended 125 °C temperature rating and rugged 64-TQFP package suit aftermarket automotive accessories (telematics dongles, OBD-II adapters, GPS loggers) where cost is primary. The full-speed USB device port emulates a serial port for OBD-II pass-through, the Cortex-M0+ runs the CAN-to-USB bridge, and the 128 KB Flash stores trip data. For OEM automotive designs, use the ATSAMDA1J17D-AF AEC-Q100 variant instead.

Recommended Products Summary

ATWINC1510-MR210PB Wi-Fi co-processor for cloud uplink Used in: Home Automation Hub ATSHA204A-SSHDA-T Crypto authentication for secure boot Used in: Home Automation Hub MCP1700T-3302E 3.3 V LDO regulator for always-on rail Used in: Home Automation Hub PIC18F4550-I/P Alternative legacy USB MCU for comparison Used in: USB HID Peripheral AP2112K-3.3 3.3 V LDO for USB bus-powered rail Used in: USB HID Peripheral AT24C256C-SSHL-T EEPROM for HID configuration storage Used in: USB HID Peripheral MCP39F511A-E/MQ Power monitoring frontend for AC metering Used in: Smart Metering End Point AT24CM01-SSHM-T 1-Mbit EEPROM for metering logs Used in: Smart Metering End Point MCP1700T-3002E Low-Iq LDO for battery-powered meters Used in: Smart Metering End Point MCP2515-I/SO External CAN controller for industrial CAN bus Used in: Industrial Sensor Hub, Automotive Aftermarket Module MAX31865ATP RTD-to-digital converter for analog sensor Used in: Industrial Sensor Hub ATWINC1500-MR210PB Wi-Fi module for wireless sensor networks Used in: Industrial Sensor Hub MAX30102 PPG heart-rate and SpO2 sensor Used in: Consumer Wearable Device LSM6DSO32 6-axis IMU for activity tracking Used in: Consumer Wearable Device MCP1700T-2502E Low-Iq LDO for coin-cell designs Used in: Consumer Wearable Device MCP2551-I/SN CAN transceiver for automotive bus Used in: Automotive Aftermarket Module MAX3232ECDR RS-232 transceiver for diagnostics Used in: Automotive Aftermarket Module
What is the operating voltage range of ATSAMD21J17D-AF?
The ATSAMD21J17D-AF operates from 1.62 V to 3.63 V across the extended -40 °C to +125 °C temperature range, making it compatible with 1.8 V, 3.3 V, and coin-cell powered designs. According to the Microchip SAM D21 datasheet, a 0.1 µF decoupling capacitor must be placed within 3 mm of each VDD pin, and the AVDD analog supply must be tied to VDDIO or filtered through a ferrite bead if noise-sensitive ADC measurements are required.
How much Flash and SRAM does ATSAMD21J17D-AF have?
The ATSAMD21J17D-AF integrates 128 KB of in-system programmable Flash with a 4 KB read-while-write (RWW) region, plus 16 KB of SRAM. The RWW block lets the application erase and rewrite one section of Flash while executing code from another, which is useful for EEPROM emulation, bootloader updates, and Over-The-Air firmware upgrades without halting the main application.
What is the CPU clock speed of ATSAMD21J17D-AF?
The ATSAMD21J17D-AF's ARM Cortex-M0+ core runs at up to 48 MHz via the internal 8 MHz DFLL (Digital Frequency Locked Loop) multiplied by 6, or from an external 32.768 kHz crystal for higher accuracy. At full speed the core executes 45 DMIPS, while SleepWalking peripherals and the Event System allow background ADC/SERCOM operation with the core halted to extend battery life.
Does ATSAMD21J17D-AF support USB?
Yes, the ATSAMD21J17D-AF includes a Full-Speed USB 2.0 Device controller with an integrated transceiver and internal pull-up resistor. No external 5 V-tolerant buffer or pull-up is needed for keyboard, mouse, CDC serial, or vendor-class USB applications. The DP/DN traces should be routed as a 90 ohm differential pair per USB 2.0 specification.
Where to buy ATSAMD21J17D-AF online?
The ATSAMD21J17D-AF is available from authorized distributors including Mouser, DigiKey, LCSC, and Octopart-listed resellers, typically in 64-pin TQFP trays. As of 2026-09-21, Mouser lists the part as active in stock with extended 125 °C rating; LCSC also lists it from $1.19 per unit. Authorized channels guarantee factory-traceable devices and full Microchip warranty coverage.
What is the price of ATSAMD21J17D-AF?
The ATSAMD21J17D-AF unit price (qty-1) is approximately $6.20 USD as of 2026-09-21 per aggregated distributor pricing; LCSC offers lower unit pricing starting near $1.19 for bulk. Volume pricing typically drops to roughly $3.95 USD at 1,000 pieces depending on lead time and tape-and-reel packaging. Pricing fluctuates with market lead time and inventory depth.
What is the lead time for ATSAMD21J17D-AF?
Lead time for the ATSAMD21J17D-AF from authorized distributors typically ranges from 8 to 14 weeks as of 2026-09-21, depending on order volume and tape-and-reel versus tray packaging. LCSC and Mouser report available stock for small prototype quantities. For production volumes, contact Microchip direct or an authorized franchised distributor to confirm scheduled factory shipments.
Is ATSAMD21J17D-AF in stock?
Yes, the ATSAMD21J17D-AF is reported in stock at multiple authorized distributors including Mouser and LCSC as of 2026-09-21. Industrial and consumer volumes may need factory order; check distributor APIs for real-time API stock counts. Avoid grey-market brokers unless the manufacturer traceability paperwork is verified.
ATSAMD21J17D-AF vs ATSAMD21J17A-AF - which is better for my application?
The ATSAMD21J17D-AF and ATSAMD21J17A-AF share identical 128 KB Flash, 16 KB SRAM, and 64-TQFP footprint; the J17D revision is the newer die revision (Rev D) with silicon-level errata fixes and refined peripheral behavior. Choose the D-revision for new designs and to inherit the latest errata documents; choose the A-revision only when pin-compatible second-source is mandatory. Both are drop-in interchangeable in software when using the latest ASF3 or MPLAB Xpress SDK headers.
When should I choose ATSAMD21J17D-AF over ATSAMD21E17D-AF?
Choose the ATSAMD21J17D-AF (SAM D21J, 64 pins, USB) when your design needs full-speed USB, more I/O pins, or a larger 64-pin TQFP package; choose the ATSAMD21E17D-AF (SAM D21E, 32 pins) when cost and PCB area are critical and USB is not required. The J variants add 16 extra pins, more SERCOM channels brought out, and the USB transceiver; the E variants share the same Cortex-M0+ core, Flash, and SRAM sizes. Both are designed in Microchip's SAM D21 family datasheet (DS40001882).
Is ATSAMD21J17D-AF suitable for industrial temperature applications?
Yes, the ATSAMD21J17D-AF carries an extended -40 °C to +125 °C operating temperature rating suitable for industrial outdoor enclosures, HVAC controls, and metering. Unlike the commercial-grade variants ending in -AU (up to 85 °C) or -CU (0 to 70 °C), the -AF suffix specifically marks the extended-temperature grade. Designers should still validate thermal performance of the 64-TQFP package against their PCB layout's copper area to stay within datasheet theta-JA limits.
What is the best drop-in replacement for ATSAMD21J17D-AF?
The best drop-in replacement for the ATSAMD21J17D-AF in the same 64-TQFP package is the ATSAMD21J18D-AF (256 KB Flash, 32 KB SRAM) if your application needs more memory, or ATSAMD21J16D-AF (64 KB Flash, 8 KB SRAM) if you need to reduce cost. All three share identical 64-TQFP pinout and SAM D21 silicon, so the same PCB footprint, IDE project, and linker script apply. Verify your firmware fits the smaller Flash/SRAM if downgrading.
Where to download ATSAMD21J17D-AF datasheet PDF?
The official ATSAMD21J17D-AF datasheet is available at https://www.microchip.com/en-us/product/ATSAMD21J17 under the Documents tab. The complete SAM D21 family datasheet (DS40001882) covers electrical characteristics, peripheral behaviour, and silicon errata for all package options. A Microchip Direct account is not required for datasheet download; errata documents are linked from the same product page.
Where to find ATSAMD21J17D-AF pinout for 64-TQFP?
The complete ATSAMD21J17D-AF 64-TQFP pinout is published in the SAM D21 family datasheet DS40001882, section 4 ("Pinout") and detailed in the "Pinout and Packaging" appendix. Use Microchip's MPLAB X IDE with the SAMD21 DFP to generate device-specific pinout views and instantly check which pins are 5 V-tolerant, which SERCOM instance is mapped to each pad, and the analog pin functions of each AIN/DAC/AREF pad.
What are the key specifications of ATSAMD21J17D-AF that engineers should know?
According to the Microchip SAM D21 datasheet, the ATSAMD21J17D-AF combines a 48 MHz ARM Cortex-M0+ core with 128 KB Flash, 16 KB SRAM, 6 SERCOM channels (each configurable as UART/SPI/I2C), a 12-bit ADC up to 350 ksps, a 10-bit DAC, full-speed USB 2.0 device, and 52 programmable I/O pins. It operates from 1.62 V to 3.63 V across -40 °C to +125 °C, supports SleepWalking peripherals, and is packaged in a 64-TQFP (10x10 mm) with a 4 KB read-while-write Flash region for bootloader use.

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

Selection Guide

Choose the ATSAMD21J17D-AF when you need the SAM D21 family's balanced blend of memory (128 KB Flash, 16 KB SRAM), integrated USB, and extended 125 °C temperature rating in a 64-TQFP package. For new designs, prefer the Rev D silicon revision over the J17A-AF (Rev A) to inherit the latest errata fixes. If your application outgrows 128 KB Flash, drop in the ATSAMD21J18D-AF (256 KB Flash); if you need less memory and lower BOM cost, drop in the ATSAMD21J16D-AF (64 KB Flash). All three share the same 64-TQFP footprint and Microchip SAM D21 peripheral IP, so the PCB layout, IDE project, and SDK remain unchanged across the migration. Avoid the 64-QFN package (e.g. ATSAMD21J17A-MU) for true drop-in compatibility - QFN and TQFP packages differ in board layout and rework feasibility.

Comparison with Alternatives

Parameter This Product ATSAMD21J17A-AF ATSAMD21J17A-AUT ATSAMD21J18D-AF ATSAMD21J16D-AF
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 64-TQFP (10x10 mm) 64-TQFP (10x10 mm) - same 64-TQFP (10x10 mm) - same 64-TQFP (10x10 mm) - same 64-TQFP (10x10 mm) - same
Core / Architecture ARM Cortex-M0+ 32-bit ARM Cortex-M0+ 32-bit ARM Cortex-M0+ 32-bit ARM Cortex-M0+ 32-bit ARM Cortex-M0+ 32-bit
Maximum CPU Clock 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz
Flash Memory 128 KB 128 KB 128 KB 256 KB 64 KB
SRAM 16 KB 16 KB 16 KB 32 KB 8 KB
USB 2.0 FS Device Yes (on-chip transceiver) Yes Yes Yes Yes
Silicon Revision Rev D (latest) Rev A (older) Rev A (older) Rev D Rev D
Operating Temperature -40 °C to +125 °C (extended) -40 °C to +125 °C -40 °C to +125 °C -40 °C to +125 °C -40 °C to +125 °C

Key Differentiators

  • Latest silicon revision (Rev D) with errata fixes (vs ATSAMD21J17A-AF)
  • More Flash and SRAM headroom in pin-compatible upgrade (vs ATSAMD21J18D-AF)
  • Lowest cost pin-compatible downgrade (vs ATSAMD21J16D-AF)

Design Notes

Decoupling: Place a 0.1 µF ceramic capacitor within 3 mm of every VDD, VDDIO, and VDDANA pin, with a 1 µF bulk capacitor on the VDD rail. The on-chip core regulator requires a 1 µF decoupling cap on VDDCORE (pin 28). Estimated: at 48 MHz active and 3.3 V supply, the MCU draws ~9 mA active and ~2 µA in backup mode (sleep with full SRAM retention). Routing AVDD separately from VDDIO via a ferrite bead is recommended when ADC measurements must reject digital switching noise.

USB trace layout: Route USB DP (pin 59) and USB DM (pin 58) as a 90 ohm differential pair on the top layer with continuous reference ground plane beneath. Match lengths to within 150 mil, keep series in-line components to a minimum, and avoid stubs. The TQFP-64 thermal pad (GND pins 9, 29, 61, 62) should be soldered to a continuous copper pour to reduce theta-JA for hot-temperature applications. For JTAG/SWD programming, route PA30 (SWCLK) and PA31 (SWDIO) together with the reset pin to a 10-pin Cortex Debug header.

Clock configuration: GCLK0 must be configured for the CPU before any peripheral clock distribution is enabled, otherwise peripherals may lock up. ADC readings can drift if the analog reference source is unstable - use the internal 1.0 V bandgap with the 1/2 VDDANA reference for ratiometric measurements. The 32.768 kHz crystal (XIN/XOUT on PA00/PA01) must use a low-ESR crystal with the recommended load capacitors; otherwise the GCLK failure detection will trigger a system reset. Estimated: full chip erase at 3.3 V takes ~80 ms via the NVMCTRL.

Compliance Information

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

RoHS compliant per Microchip product page. Not AEC-Q100 qualified - use ATSAMDA1J17D-AF variant for automotive OEM. Extended 125 °C operating temperature (AF suffix).

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

Related Searches

ATSAMD21J17D-AF ATSAMD21J17D-AF datasheet Microchip ATSAMD21J17D-AF SAMD21 64-TQFP 128KB Flash 48MHz Cortex-M0+ USB microcontroller 125C SAMD21 home automation hub ATSAMD21J17D-AF vs ATSAMD21J17A-AF ATSAMD21J17D-AF drop-in replacement buy ATSAMD21J17D-AF online ATSAMD21J17D-AF price qty 1000 how to program ATSAMD21J17D-AF ATSAMD21J17D-AF USB HID peripheral

Related Components & Terms

Microchip Technology ATSAMD21J17D-AF ATSAMD21J17A-AF ATSAMD21J17A-AUT ATSAMD21J18D-AF ATSAMD21J16D-AF ARM Cortex-M0+ microcontroller MCU 32-bit microcontroller TQFP-64 TQFP package surface mount USB 2.0 Full-Speed SERCOM Flash memory SRAM ADC DAC RoHS JEDEC J-STD-020 MPLAB X IDE SAMD21 family AMBA AHB-Lite SleepWalking
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