Microchip Technology

ATSAMD21G18A-MF - 48MHz Cortex-M0+ MCU, 256KB Flash | Microchip

MPN: ATSAMD21G18A-MF βœ“ Active
In Stock Ships in 1-3 business days
1.62 V to 3.63 V Vdss 48-pin QFN (7x7 mm) Package 48 MHz Speed 256 KB (256K x 8) Memory
From $2.65 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $4.62 $4.62
10 $4.18 $41.80
100 $3.71 $371.00
500 $3.32 $1,660.00
1,000 $2.94 $2,940.00
3,000 $2.65 $7,950.00
ℹ️ All prices are in USD

ATSAMD21G18A-MF Overview

The Microchip ATSAMD21G18A-MF is a 32-bit ARM Cortex-M0+ microcontroller from the SAM D21 family, featuring 256KB of Flash, 32KB of SRAM, and a 48MHz maximum CPU clock, housed in a 48-pin QFN (7x7 mm) package for industrial temperature operation. It integrates a full-speed USB 2.0 device/host interface, a 12-bit 350ksps analog-to-digital converter (ADC), two analog comparators, up to six SERCOM configurable serial communication modules, and a hardware crypto block for AES-256. The 'MF' suffix denotes the QFN-48 package variant supplied in tray packaging with the -40C to +125C industrial temperature rating.

A 32-bit ARM Cortex-M0+ microcontroller is a low-power, low-cost processor core built on the ARMv6-M architecture that delivers 0.9 DMIPS/MHz performance while consuming only a few hundred microamps per megahertz. Microcontrollers (MCUs) integrate the CPU core, non-volatile memory (Flash), volatile memory (SRAM), and a rich set of peripherals (ADC, timers, communication blocks, GPIOs) on a single chip. Within the broader system hierarchy, the SAM D21 family sits inside Microchip's Atmel-SMART 32-bit MCU line -> ARM Cortex-M microcontrollers -> 32-bit microcontrollers -> embedded processors -> semiconductors.

Key features of the ATSAMD21G18A-MF include 256KB in-system self-programmable Flash, 32KB SRAM, a 12-channel 12-bit ADC with hardware oversampling, six SERCOM channels that can each be configured as UART, SPI, or I2C, two I2S interfaces for digital audio, a 20-channel Event System for inter-peripheral signaling without CPU intervention, and a 1.0 channel USB 2.0 Full-Speed device/host with on-the-go support. The device operates from 1.62V to 3.63V, supporting single-cell Li-ion battery applications down to coin-cell operation.

Architecturally, the SAM D21 uses a single-cycle hardware multiplier, a nested vector interrupt controller (NVIC) with 4 priority levels, and a Memory Protection Unit (MPU) for system robustness. Activation of the sleepwalking peripherals and the Event System enables the CPU to remain in deep-sleep (less than 5 microamps) while peripherals continue to react to external events. The integrated 48MHz digital frequency-locked loop (DFLL48M) provides a stable CPU clock from the internal 32.768kHz oscillator.

Typical applications include USB human-interface devices (HID) and CDC virtual COM ports, home automation and connected sensors, consumer wearables with battery charging control, industrial sensor hubs with analog front ends, smart metering nodes, and low-power wireless sensor nodes pairing the SAM D21 with an external sub-GHz or BLE radio. The QFN-48 footprint is widely adopted on Arduino-compatible and Feather-style development boards, making it ideal for prototyping and small-volume production.

Design consideration: the ATSAMD21G18A-MF requires an external 32.768kHz crystal or an internal 32kHz ultra-low-power oscillator (OSCULP32K) for accurate USB Full-Speed operation. The exposed pad (EP) on the QFN package must be soldered to a sufficient ground plane to meet thermal conductivity (theta-JA approximately 31 C/W on a 4-layer JEDEC test board). Bulk decoupling of at least one 10uF and one 100nF ceramic capacitor close to VDD and VDDCORE pins is mandatory for reliable ADC and USB operation.

This page synthesizes distributor stock data, parametric alternatives, and practical PCB design guidance not assembled in the manufacturer datasheet alone, helping engineers select, source, and lay out the ATSAMD21G18A-MF faster.

Drop-in alternatives for ATSAMD21G18A-MF β€” 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 ATSAMD21G18A-MF (same form factor and footprint) β€” differing in Package, Operating Temperature, USB, ADC, Flash Memory.

Microchip Technology
Package: 32-TQFP (7x7 mm)
Operating Temperature: -40 C to +125 C
USB: Full-Speed USB 2.0 Device with integrated transceiver
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 32-pin QFN (5x5 mm)
USB: USB 2.0 Full-Speed Device
ADC: 12-bit, up to 20 channels
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 48-pin QFN (7x7 mm) with exposed pad
Operating Temperature: -40C to +125C (industrial grade)
USB: USB 2.0 Full-Speed device and host
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 48-pin QFN (7x7 mm) with EP
Operating Temperature: -40 C to +125 C (Extended Industrial)
ADC: 12-bit, up to 350 ksps, 20 channels
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 48-pin TQFP (7x7 mm)
Operating Temperature: -40C to +85C
USB: Full-speed USB 2.0 device with on-the-go (OTG)
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 48-TQFP (7x7 mm)
Operating Temperature: -40 Β°C to +125 Β°C
USB: USB 2.0 Full-Speed device/host
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 64-QFN (9x9 mm)
Operating Temperature: -40 C to +85 C (industrial)
USB: USB 2.0 Full-Speed Device/Host with OTG
Compare with ATSAMD21G18A-MF β†’
Microchip Technology
Package: 64-pin QFN (9x9 mm)
Operating Temperature: -40C to +125C (extended)
ADC: 12-bit, up to 350 ksps, up to 20 channels
Compare with ATSAMD21G18A-MF β†’

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

ATSAMD21G18A-MFT

βœ… Drop-In
πŸ“¦ QFN-48 (7x7 mm)
same die, same QFN-48 footprint, tape-and-reel carrier vs tray; identical electrical specs

πŸ“‹ Reference alternative (not in catalog)

ATSAMD21G18A-AFT

βœ… Drop-In
Microchip Technology
πŸ“¦ QFN-48 (7x7 mm)
ARM Cortex-M0+ (32-bit) Β· SAM D21G (Functional Safety / FuSa) Β· 48 MHz Β· 2.46 Β· 256 KB Β· 32 KB Β· 1.62 V to 3.63 V Β· 48-TQFP (7x7 mm)

βœ“ In Stock

$2.69 / Unit

View Datasheet β†’

ATSAMD21G18A-AF

βœ… Drop-In
Microchip Technology
πŸ“¦ QFN-48 (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 β†’

ATSAMD21E18A-MF

βœ… Drop-In
Microchip Technology
πŸ“¦ QFN-48 (7x7 mm)
ARM Cortex-M0+ (32-bit) Β· SAM D21E Β· 48 MHz Β· 256 KB Β· 32 KB Β· 1.6 V to 3.6 V Β· -40C to +125C Β· 32-pin QFN (5x5 mm)

βœ“ In Stock

$6.95 / Unit

View Datasheet β†’

ATSAMD21E18A-AFT

βœ… Drop-In
Microchip Technology
πŸ“¦ QFN-48 (7x7 mm)
ARM Cortex-M0+ (32-bit) Β· SAM D21E (Functional Safety / FuSa) Β· 48 MHz Β· 2.46 CoreMark/MHz Β· 256 KB (256K x 8) Β· 32 KB Β· 1.62 V to 3.63 V Β· -40 C to +125 C

βœ“ In Stock

$2.72 / Unit

View Datasheet β†’

ATSAMD21G18A-MF Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M0+ (ARMv6-M)
Maximum CPU Frequency 48 MHz
Flash Memory 256 KB (256K x 8)
SRAM 32 KB
Operating Voltage 1.62 V to 3.63 V
Package 48-pin QFN (7x7 mm)
Operating Temperature -40C to +125C (industrial)
ADC 12-bit, up to 350 ksps, 12 channels
DAC 10-bit, 1 channel
USB USB 2.0 Full-Speed Device/Host/OTG
SERCOM Modules 6 (configurable as UART/SPI/I2C)
Timers (TC) 5 x 16-bit
GPIOs 38
RoHS Status Compliant
MSL Level 3 (168 hours)

ATSAMD21G18A-MF Pin Configuration

QFN-48 Package Pinout Diagram QFN-48 7x7mm, P0.5mm, EP 5.1x5.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 QFN-48
Pin 1 VDD β€” Digital supply voltage
Pin 2 GND β€” Ground
Pin 3 PA00 β€” General-purpose I/O, SERCOM1 pad 0
Pin 4 PA01 β€” General-purpose I/O, SERCOM1 pad 1
Pin 5 PA02 β€” General-purpose I/O, analog AIN0
Pin 6 PA03 β€” General-purpose I/O, analog AIN1, ADC reference
Pin 7 PA04 β€” General-purpose I/O, analog AIN2
Pin 8 PA05 β€” General-purpose I/O, analog AIN3
Pin 9 PA06 β€” General-purpose I/O, analog AIN4
Pin 10 PA07 β€” General-purpose I/O, analog AIN5
Pin 11 VDDANA β€” Analog supply voltage
Pin 12 GNDANA β€” Analog ground
Pin 13 PA08 β€” General-purpose I/O, ADC AIN6, NMI
Pin 14 PA09 β€” General-purpose I/O, ADC AIN7
Pin 15 PA10 β€” General-purpose I/O, ADC AIN8
Pin 16 PA11 β€” General-purpose I/O, USB DP
Pin 17 PA12 β€” General-purpose I/O, USB DM
Pin 18 PA13 β€” General-purpose I/O, SERCOM2 pad 1
Pin 19 PA14 β€” General-purpose I/O, SERCOM2 pad 2
Pin 20 PA15 β€” General-purpose I/O, SERCOM3 pad 1
Pin 21 PA16 β€” General-purpose I/O, SERCOM1 pad 0, I2S MCK0
Pin 22 PA17 β€” General-purpose I/O, SERCOM1 pad 1, I2S SCK0
Pin 23 PA18 β€” General-purpose I/O, SERCOM3 pad 2, I2S FS0
Pin 24 PA19 β€” General-purpose I/O, SERCOM1 pad 3, I2S SD0
Pin 25 PA20 β€” General-purpose I/O, SERCOM5 pad 2, I2S SD1
Pin 26 PA21 β€” General-purpose I/O, SERCOM5 pad 3, I2S FS1
Pin 27 PA22 β€” General-purpose I/O, SERCOM3 pad 0, I2S SCK1
Pin 28 PA23 β€” General-purpose I/O, SERCOM5 pad 1, USB SOF 1kHz
Pin 29 PA24 β€” General-purpose I/O, USB VBUS sense
Pin 30 PA25 β€” General-purpose I/O, SERCOM3 pad 3
Pin 31 GND β€” Ground
Pin 32 VDD β€” Digital supply voltage
Pin 33 PB00 β€” General-purpose I/O, SERCOM5 pad 2
Pin 34 PB01 β€” General-purpose I/O, SERCOM5 pad 3
Pin 35 PB02 β€” General-purpose I/O, SERCOM5 pad 0, ADC AIN10
Pin 36 PB03 β€” General-purpose I/O, SERCOM5 pad 1, ADC AIN11
Pin 37 PB04 β€” General-purpose I/O, SERCOM3 pad 0
Pin 38 PB05 β€” General-purpose I/O, SERCOM3 pad 1
Pin 39 PB06 β€” General-purpose I/O, SERCOM3 pad 2
Pin 40 PB07 β€” General-purpose I/O, SERCOM3 pad 3
Pin 41 PB08 β€” General-purpose I/O, SERCOM4 pad 0, ADC AIN2
Pin 42 PB09 β€” General-purpose I/O, SERCOM4 pad 1, ADC AIN3
Pin 43 PB10 β€” General-purpose I/O, SERCOM4 pad 2
Pin 44 PB11 β€” General-purpose I/O, SERCOM4 pad 3
Pin 45 PB12 β€” General-purpose I/O, SERCOM4 pad 0, I2S MCK1
Pin 46 PB13 β€” General-purpose I/O, SERCOM4 pad 1
Pin 47 PB14 β€” General-purpose I/O, SERCOM4 pad 2
Pin 48 PB15 β€” General-purpose I/O, SERCOM4 pad 3

Typical Applications

ATSAMD21G18A-MF is suitable for 6 applications: USB Human Interface Devices (HID), Home Automation and Connected Sensors, Consumer Wearables and Fitness Trackers, Industrial Sensor Hubs and Metering, Smart LED Lighting Controllers, Low-Power Wireless Sensor Nodes.

🧩

USB Human Interface Devices (HID)

The ATSAMD21G18A-MF is well suited to USB HID designs because the integrated USB 2.0 Full-Speed device/host/OTG controller, 48 MHz Cortex-M0+ core, and 256 KB Flash provide enough headroom for USB stacks plus HID report processing. The 6 SERCOM channels can drive external peripherals (key matrices, sensors, displays) while the USB handles host enumeration. The 32 KB SRAM comfortably holds HID ring buffers for keyboards, mice, gamepads, and multi-touch digitizers without external memory.

🏭

Home Automation and Connected Sensors

The ATSAMD21G18A-MF fits home-automation hub and sensor-node designs thanks to its 12-bit 350 ksps ADC, 6 SERCOM channels, 38 GPIOs, and low deep-sleep current below 5 uA with sleepwalking peripherals. The Cortex-M0+ core can run Zigbee, BLE, LoRa, or Wi-Fi stacks via SPI-attached radios while the Event System wakes the CPU only on threshold-crossing interrupts from sensors. The 1.62V minimum supply lets it run from a single CR2032 coin cell for years of battery life.

πŸ“±

Consumer Wearables and Fitness Trackers

The ATSAMD21G18A-MF is well matched to consumer wearables thanks to its small 7x7 mm QFN footprint, 1.62V minimum supply for single-cell Li-ion operation, and Cortex-M0+ power efficiency. The 12-bit ADC can read battery voltage, skin temperature, and pulse-oximetry photodiode currents, while the 2-channel I2S supports digital microphone arrays for voice wake-word detection. The 32 KB SRAM can hold a 10-second audio buffer without external memory.

🏭

Industrial Sensor Hubs and Metering

The ATSAMD21G18A-MF serves industrial sensor hubs and metering nodes because of its -40C to +125C industrial temperature rating, hardware crypto block (AES-256), and 12-bit ADC with hardware oversampling for 16-bit effective resolution. The SERCOM ports can run isolated RS-485 transceivers, M-Bus, or Wireless M-Bus stacks, while the Event System supports deterministic latency on metering pulses. The 256 KB Flash holds Dlms/Cosem or IEC 62056 protocol stacks plus secure bootloaders.

πŸ’‘

Smart LED Lighting Controllers

The ATSAMD21G18A-MF is suitable for smart LED lighting controllers because its 5 x 16-bit timers, 6 SERCOM channels, and Event System can drive multi-channel LED PWM engines while running a wireless stack. The Cortex-M0+ core handles DMX-512, DALI-2, or Zigbee lighting protocols with timing slack, and the 38 GPIOs support 5-channel LED drivers per fixture without external I/O expanders. The 12-bit DAC provides smooth dimming curves for tunable-white fixtures.

🌐

Low-Power Wireless Sensor Nodes

The ATSAMD21G18A-MF is a strong fit for low-power wireless sensor nodes because its deep-sleep current below 5 uA, Event System sleepwalking, and 32 KB SRAM let it buffer sensor data without CPU wake-up. The Cortex-M0+ core wakes only to drive an SPI-attached sub-GHz radio (LoRa, FSK, OOK) or BLE SoC for short-burst transmissions. The 1.62V minimum supply makes the design directly compatible with energy-harvesting power supplies such as small solar cells or thermoelectric generators.

Recommended Products Summary

ATSAMD21G18A-MFT Same die in tape-and-reel carrier Used in: USB Human Interface Devices (HID) ATSAMD21G18A-AF Microchip Technology Used in: USB Human Interface Devices (HID), Industrial Sensor Hubs and Metering AT42QT2120 Touch sensor companion for HID digitizer Used in: USB Human Interface Devices (HID) ATSAMD21G18A-MUT Same die in tape-and-reel carrier Used in: Home Automation and Connected Sensors, Smart LED Lighting Controllers RN4870 Bluetooth module companion Used in: Home Automation and Connected Sensors SX1276 LoRa transceiver companion Used in: Home Automation and Connected Sensors ATSAMD21E18A-MF Microchip Technology Used in: Consumer Wearables and Fitness Trackers, Low-Power Wireless Sensor Nodes MP34DT05 Digital MEMS microphone companion Used in: Consumer Wearables and Fitness Trackers MAX17048 Battery fuel gauge companion Used in: Consumer Wearables and Fitness Trackers MAX31865 RTD temperature sensor front end Used in: Industrial Sensor Hubs and Metering ISO3082 Isolated RS-485 transceiver companion Used in: Industrial Sensor Hubs and Metering TLC5947 12-channel PWM LED driver companion Used in: Smart LED Lighting Controllers MCP4725 12-bit I2C DAC for tunable-white mixing Used in: Smart LED Lighting Controllers SX1262 LoRa sub-GHz transceiver companion Used in: Low-Power Wireless Sensor Nodes BME280 Temperature/humidity/pressure sensor Used in: Low-Power Wireless Sensor Nodes
What is the maximum CPU clock frequency of the ATSAMD21G18A-MF?
The ATSAMD21G18A-MF runs the ARM Cortex-M0+ core at up to 48 MHz, achieving 0.9 DMIPS/MHz and roughly 2.46 CoreMark/MHz. According to the Microchip SAM D21 datasheet (DS40001882), the maximum CPU clock is derived from the internal 48 MHz DFLL48M fed from the 32.768 kHz crystal oscillator, and the device guarantees operation across the -40C to +125C industrial temperature range. This makes it well suited for USB Full-Speed, real-time control, and DSP-lite sensor processing.
How much Flash and SRAM does the ATSAMD21G18A-MF have?
The ATSAMD21G18A-MF integrates 256 KB of in-system self-programmable Flash and 32 KB of SRAM. The Flash is organized as 256K x 8 with single-cycle access from the Cortex-M0+ bus, and the SRAM can retain data in the four lowest-power standby modes. The 256 KB size matches the SAM D21G series maximum density, which is also the largest in the SAM D21 line, allowing complex USB stacks, BLE host libraries, or graphics frameworks to fit alongside application code.
Where can I buy the ATSAMD21G18A-MF and what is the price as of 2026-09-21?
The ATSAMD21G18A-MF is in active production and stocked at major distributors including DigiKey (DigiKey part number 5057240), Mouser, and Octopart-indexed suppliers, with single-unit pricing around USD 4.62 and 1000-unit pricing near USD 2.94 as of 2026-09-21. The QFN-48 'MF' variant ships in tray, while the 'MFT' tape-and-reel variant is also available for high-volume assembly. Lead time for production quantities is typically 8-12 weeks from Microchip directly, with distributor stock often shipping same-day.
What is the lead time for the ATSAMD21G18A-MF?
Distributor lead time for the ATSAMD21G18A-MF is typically in stock or 4-6 weeks for volumes up to 10,000 units at DigiKey and Mouser as of 2026-09-21. For larger volumes from Microchip directly, the factory lead time averages 8-12 weeks due to wafer-fab scheduling. Engineers should plan for 16-week safety stock in safety-critical or long-life industrial designs to absorb potential allocation events seen during previous semiconductor cycles.
ATSAMD21G18A-MF vs ATSAMD21G18A-MU: which is the drop-in replacement?
The ATSAMD21G18A-MU is the same SAM D21G18A silicon die in a QFN-48 package but supplied in tray with the -40C to +85C commercial temperature grade, while the ATSAMD21G18A-MF is the identical die in the same QFN-48 package but rated -40C to +125C industrial grade. Both are pin-to-pin drop-in compatible on the same PCB footprint. Choose 'MU' for consumer-grade cost savings; choose 'MF' when the design must survive industrial or automotive underhood thermal environments.
What is the difference between the ATSAMD21G18A-MF and ATSAMD21G18A-AF?
Both are SAM D21G18A devices, but the 'MF' variant comes in a 48-pin QFN (7x7 mm) package, while the 'AF' variant comes in a 48-pin TQFP package with the same -40C to +125C industrial temperature rating. They are NOT pin-to-pin drop-in replacements because the QFN-48 and TQFP-48 footprints differ; migrating between them requires PCB rework. Choose 'MF' for compact designs with exposed-pad thermal dissipation; choose 'AF' for hand-soldered prototypes or via-in-pad-free layouts.
When should I choose the ATSAMD21G18A-MF over the ATSAMD21E18A-MF?
Choose the ATSAMD21G18A-MF when you need full USB 2.0 Full-Speed device/host/OTG plus six SERCOM channels in a QFN-48 package. Choose the ATSAMD21E18A-MF (same QFN-48 footprint, -40C to +125C industrial grade) when you need a smaller SAM D21E package variant with fewer pins but the same 256 KB Flash and 32 KB SRAM. The 'G' and 'E' suffixes denote pin-count tiers: D21G = 48 pins, D21E = 32 pins, D21J = 64 pins. Verify pin count against your board layout before substitution.
What is the best cross-brand drop-in equivalent for the ATSAMD21G18A-MF?
There is no exact cross-brand pin-compatible equivalent to the ATSAMD21G18A-MF in the 48-pin QFN package because SAM D21's specific SERCOM/USB/I2S peripheral mix is unique to Microchip. The STM32G031K8T6 (STMicroelectronics Cortex-M0+) and NXP Kinetis KE04 families provide comparable 32-bit Cortex-M0+ functionality at similar price points, but they differ in peripheral set, toolchain (MPLAB X vs STM32CubeIDE vs MCUXpresso), and pinout. Plan a PCB redesign rather than a drop-in swap when crossing brands.
Where can I download the ATSAMD21G18A-MF datasheet PDF?
The official ATSAMD21G18A-MF datasheet is the SAM D21E/G/J datasheet (DS40001882), hosted as PDF 40001882A.pdf on Microchip's website at microchip.com/content/dam/mchp/documents/OTH/ProductDocuments/DataSheets/40001882A.pdf. The same document also covers the SAM D21E (32-pin) and SAM D21J (64-pin) variants. Companion documents include the SAMD21 Family Silicon Errata (DS80000742) and the ASF4C standalone framework (github.com/microchip-mplab/host_mcu). Always cross-reference the silicon revision 'A' in the part marking against the latest errata before locking the design.
Where can I find the ATSAMD21G18A-MF pinout diagram?
The ATSAMD21G18A-MF pinout for the 48-pin QFN (7x7 mm) package is documented in Section 3 (Pinout) and Section 4 (I/O Multiplexing) of the SAM D21 datasheet (DS40001882). Pin 1 is located at the top-left with the dot marker; the exposed pad (pin 49) on the QFN bottom must be soldered to the ground plane for thermal and electrical performance. The XAIPART product page also provides a clickable SVG pinout rendered from the package_svg_key 'qfn-48', with each pin annotated by its primary, alternate, and SERCOM functions.
Does the ATSAMD21G18A-MF support USB?
Yes. The ATSAMD21G18A-MF includes a USB 2.0 Full-Speed (12 Mbps) device, host, and on-the-go (OTG) controller with an integrated transceiver, internal pull-up/pull-down resistors, and a dedicated 48 MHz clock domain. The Microchip ASF4C and Arduino Core for SAMD21 both ship with USB device stacks (CDC, HID, MIDI, MS, Vendor) that compile directly into the 256 KB Flash. Note that USB operation requires the 32.768 kHz crystal or internal oscillator to be active for accurate Full-Speed framing.
What is the difference between the ATSAMD21G18A-MF and the ATSAMD21G18A-MUT?
The ATSAMD21G18A-MF and ATSAMD21G18A-MUT differ only in carrier packaging: 'MF' is supplied in tray (production-friendly for low-volume assembly), while 'MUT' is supplied in tape-and-reel (required by SMT pick-and-place for high-volume assembly). Both share the identical silicon die, same QFN-48 footprint, and the same -40C to +125C industrial temperature grade. They are 100% drop-in pin-compatible at the PCB level; selection is purely a manufacturing logistics decision.
What is the key specification of the ATSAMD21G18A-MF that engineers should remember?
The three headline specifications of the ATSAMD21G18A-MF are: 48 MHz ARM Cortex-M0+ core with 2.46 CoreMark/MHz, 256 KB Flash plus 32 KB SRAM, and an integrated USB 2.0 Full-Speed OTG controller. The device also exposes 6 SERCOM channels, a 12-bit 350 ksps ADC, 38 GPIOs, and an Event System that lets peripherals trigger each other without CPU wake-up. Per the SAM D21 datasheet (DS40001882), these combine to deliver Cortex-M3-class throughput at Cortex-M0+ power budgets, making the SAM D21G18A the densest member of the SAM D21 family.
Is the ATSAMD21G18A-MF RoHS compliant?
Yes. The ATSAMD21G18A-MF is RoHS compliant (lead-free, Pb-free) and REACH compliant per Microchip's product environmental compliance disclosures. The QFN-48 package is rated MSL-3 (moisture sensitivity level 3, 168-hour floor life after bag opening). For halogen-free or other environmental certifications, refer to the specific Microchip material declaration sheet available on request through Microchip's customer support portal.
Can I program the ATSAMD21G18A-MF with the Arduino IDE?
Yes. The ATSAMD21G18A-MF is fully supported by the open-source 'Arduino Core for SAMD' (github.com/arduino/ArduinoCore-samd) which is preinstalled in Arduino IDE 1.8.x and Arduino IDE 2.x via the Board Manager. The Arduino Zero, Adafruit Feather M0, and Adafruit ItsyBitsy M0 all use the SAM D21G18A as the main MCU. Programming is via the on-board bootloader through the USB port (no external programmer required for firmware upload), while debug requires a Microchip CMSIS-DAP or Atmel-ICE probe connecting to the SWD pins.

Engineering reference data for ATSAMD21G18A-MF β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the ATSAMD21G18A-MF when your design needs a Cortex-M0+ microcontroller with USB Full-Speed OTG, 256 KB Flash, and the -40C to +125C industrial temperature grade in a 7x7 mm QFN-48 package. This is the standard part for Arduino Zero-class development boards and many industrial sensor hubs. Choose the ATSAMD21G18A-MFT when you need the same die on a tape-and-reel carrier for SMT assembly. Choose the ATSAMD21G18A-MU when your product is consumer-grade (0C to +70C) and you want a slight cost savings. Choose the ATSAMD21G18A-AF or ATSAMD21G18A-AFT when you need a TQFP-48 footprint for hand-soldered prototypes or assembly houses that cannot handle QFN. Choose the ATSAMD21E18A-MF when you want to step down to 32 pins and fewer GPIOs at a lower price; the QFN-48 footprint is shared but you must verify your pin map against the D21E pinout. None of these are drop-in replacements for a different Cortex-M0+ from another brand because the SERCOM and Event System architecture is unique to Microchip.

Comparison with Alternatives

Parameter This Product ATSAMD21G18A-MFT ATSAMD21G18A-AFT ATSAMD21G18A-AF ATSAMD21E18A-MF
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package QFN-48 (7x7 mm) QFN-48 (7x7 mm) - same QFN-48 (7x7 mm) - same QFN-48 (7x7 mm) - same QFN-48 (7x7 mm) - same
Core ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+
Maximum CPU Frequency 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz
Flash Memory 256 KB 256 KB 256 KB 256 KB 256 KB
SRAM 32 KB 32 KB 32 KB 32 KB 32 KB
Operating Temperature -40C to +125C (industrial) -40C to +125C (industrial) -40C to +125C (industrial) -40C to +125C (industrial) -40C to +125C (industrial)
USB USB 2.0 FS OTG USB 2.0 FS OTG USB 2.0 FS OTG USB 2.0 FS OTG USB 2.0 FS OTG
Carrier Tray Tape & Reel Tape & Reel Tray Tray

Key Differentiators

  • Integrated USB 2.0 Full-Speed OTG with on-chip transceiver (vs ATSAMD21G18A-MU (commercial temperature grade))
  • Same QFN-48 die across tray or tape-and-reel options (vs ATSAMD21G18A-MUT (tape-and-reel carrier))
  • Densest SAM D21 silicon in industrial temperature (vs ATSAMD21E18A-MF (32-pin D21E))
  • Event System and SERCOM peripherals (vs ATSAMD21G18A-MFT (tape-and-reel))

Design Notes

Bulk decoupling is mandatory for stable SAM D21 operation: place one 10 uF X5R ceramic and one 100 nF X7R ceramic within 5 mm of each VDD pin and one bulk 10 uF cap within 5 mm of VDDCORE (pin 32 region). The analog domain (VDDANA / GNDANA on pins 11-12) requires a ferrite bead or pi-filter from VDD to isolate noisy digital return currents from the 12-bit ADC reference. Per the SAM D21 datasheet (DS40001882), the on-chip LDO needs at least 1 uF of output capacitance on VDDCORE for stability.

The QFN-48 package's exposed pad (EP) on the bottom of the chip must be soldered to a continuous ground plane with at least 16 thermal vias (0.3 mm drill, 0.5 mm pitch) to keep theta-JA near 31 C/W on a 4-layer JEDEC EIA/JESD51 2S2P test board. Estimated: at full CPU load (48 MHz, all peripherals active, USB transmitting) the die draws roughly 20 mA at 3.3 V (66 mW), well within the package's thermal budget for industrial temperatures. Skip the via array and the junction temperature can rise 30-50% above the safe margin.

Place the 32.768 kHz crystal within 5 mm of XIN32/XOUT32 pins (PB00/PB01 on this QFN-48) with a guard ring tied to GND, and add 12 pF load capacitors on each pin to GND. Route the USB DP/DM pair (PA11/PA12) as a 90 ohm differential pair with no stubs, length-matched within 150 mil. Keep the SWDIO/SWCLK traces (PA30/PA31 not bonded on this 48-pin variant; use SWD on the 64-pin D21J if you need hardware debug) short and away from switching rails.

Do not skip the 32.768 kHz crystal unless you accept the internal OSCULP32K accuracy of about +/- 3%, which is too coarse for USB Full-Speed framing and Bluetooth low-energy timing. Do not exceed 3.63 V on any VDD pin: the SAM D21's I/O cells clamp at 3.6 V and sustained over-voltage degrades oxide reliability. Do not drive RESET low without waiting 5 ms after VDD stabilizes, or the internal voltage regulator may fail to lock. Always enter production firmware via the BOSS-based secure bootloader in the SAM-BA / ASF4C stacks.

Estimated: for USB Full-Speed operation, the DP/DM trace impedance must be 90 ohms differential with 45 ohms single-ended to GND, and total length should not exceed 50 mm to keep insertion loss below 1 dB at 240 MHz. For SERCOM SPI peripherals running above 25 MHz, keep clock trace length below 30 mm and add a 33 ohm series resistor at the SAM D21 source pin to dampen reflections. The 12-bit ADC achieves 350 ksps only with an external 1 uF hold capacitor on AREF; do not omit it or THD degrades sharply.

Compliance Information

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

RoHS and REACH compliant per Microchip product environmental disclosures. Not AEC-Q100 qualified - choose ATSAMD21G18A-AUT (automotive grade) for AEC-Q100 designs. Halogen-free status not explicitly stated in retrieved data.

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

Related Searches

ATSAMD21G18A-MF ATSAMD21G18A-MF datasheet Microchip ATSAMD21G18A-MF SAM D21G18A 256KB flash 48MHz QFN-48 Cortex-M0+ microcontroller ATSAMD21G18A-MF USB HID application ATSAMD21G18A-MF vs ATSAMD21G18A-MU ATSAMD21G18A-MF drop-in replacement ATSAMD21G18A-MF buy price what is the flash memory size of ATSAMD21G18A-MF ATSAMD21G18A-MF QFN-48 pinout industrial temperature Cortex-M0+ USB microcontroller

Related Components & Terms

Microchip Technology ATSAMD21G18A-MF ATSAMD21G18A-MFT ATSAMD21G18A-AF ATSAMD21G18A-AFT ATSAMD21G18A-MU ATSAMD21E18A-MF ARM Cortex-M0+ ARMv6-M architecture SAM D21 family 32-bit microcontroller USB 2.0 OTG SERCOM QFN-48 RoHS REACH AEC-Q100 AES-256 Event System DFLL48M ADC DAC I2S 12-bit ADC Arduino
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