Microchip Technology

ATSAMD21G16B-MF - 64KB Flash Cortex-M0+ MCU 48QFN | Microchip

MPN: ATSAMD21G16B-MF ✓ Active
In Stock Ships in 1-3 business days
1.62 V to 3.63 V (3.3 V typical) Vdss 48-pin QFN Package 48 MHz Speed 64 KB Memory
From $2.18 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $4.1 $4.10
10 $3.78 $37.80
100 $3.32 $332.00
500 $2.89 $1,445.00
1,000 $2.55 $2,550.00
3,000 $2.18 $6,540.00
ℹ️ All prices are in USD

ATSAMD21G16B-MF Overview

The Microchip (formerly Atmel) ATSAMD21G16B-MF is a 32-bit ARM Cortex-M0+ microcontroller from the SAM D21 family, integrating 64KB of Flash and 8KB of SRAM, and supplied in a 48-pin QFN package rated for the industrial -40C to +125C temperature range. The device runs at up to 48 MHz, reaching 2.46 CoreMark/MHz, and is described by Microchip as a low-power general-purpose member of the SAM D21 series.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, and a rich set of peripherals (timers, ADC, communication interfaces, GPIO). The Cortex-M0+ is ARM's smallest and most energy-efficient application processor core, designed for deterministic real-time control in deeply embedded systems. The SAM D21 family belongs to the 32-bit microcontroller tier within the broader hierarchy of microcontrollers -> embedded processors -> semiconductors. Typical Cortex-M0+ MCUs target IoT endpoints, sensor hubs, human-interface devices, and battery-powered consumer products where active current draw and deep-sleep current are first-order constraints.

Key features of the ATSAMD21G16B-MF include the 48 MHz Cortex-M0+ core with single-cycle hardware multiply, a full-speed USB 2.0 device controller, a 12-bit 350 ksps ADC with PGA, up to six SERCOM serial-communication channels configurable as UART/SPI/I2C, a 24-bit Timer/Counter for control applications, and an on-chip 32.768 kHz RTC oscillator. The device is qualified for the industrial temperature range (-40C to +125C), supports 3.3V single-supply operation, and is RoHS/REACH compliant in a halogen-free green-package compound.

Architecturally, the SAM D21 is built around an AHB/APB bus matrix with a separate low-power peripheral bus, allowing individual peripherals to be clock-gated during sleep. The integrated Power Manager (PM) and Sleepwalking peripherals let the core stay in deep sleep while SERCOM, ADC, or timers wake the system on a peripheral event - this is the foundation of the family's low-power claim. An on-chip 8-channel Event System routes peripheral triggers without CPU intervention, which reduces interrupt load for tightly-timed control loops.

Typical applications for the ATSAMD21G16B-MF include Arduino-compatible maker boards (the chip is the silicon heart of the Arduino Zero / MKR family), USB HID peripherals such as keyboards and mice, low-power wireless sensor nodes, industrial sensor interfaces, and small HMI panels. Designers also deploy it in consumer wearables, BLE bridge modules, and battery-powered instrumentation where 3.3V single-supply and USB are both required.

When designing with this MCU, allocate the 64KB Flash budget between bootloader, application, and a small file system; the 8KB SRAM constrains large packet buffers and dictates careful DMA usage for high-throughput USB or display workloads. Decouple VDD and VDDANA separately per the SAM D21 reference design, and use the on-chip PLL to derive system frequency from the internal 8 MHz oscillator if external crystals are not available.

This page synthesizes distributor pricing, drop-in alternatives from the SAMD21 family, and practical design notes not found in the manufacturer datasheet - including cross-references to the 48-TQFP variant ATSAMD21G16B-AU which shares the same silicon die.

Drop-in alternatives for ATSAMD21G16B-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 ATSAMD21G16B-MF (same form factor and footprint) — differing in Package, Operating Temperature, RoHS Status, Debug Interface, SRAM.

Microchip Technology
Package: 48-QFN (7x7 mm) with exposed pad
Operating Temperature: -40 °C to +125 °C
RoHS Status: Compliant (Green)
Compare with ATSAMD21G16B-MF →
Microchip Technology
Package: 48-QFN (7x7 mm)
Debug Interface: Serial Wire Debug (SWD), 2-pin
Compare with ATSAMD21G16B-MF →
Microchip Technology
Package: 48-pin TQFP (7x7 mm)
Operating Temperature: -40 C to +85 C (industrial)
RoHS Status: Compliant (Green)
Compare with ATSAMD21G16B-MF →
Microchip Technology
Package: 48-QFN (7x7 mm)
Operating Temperature: -40 C to +125 C (industrial)
RoHS Status: Green, RoHS compliant
Compare with ATSAMD21G16B-MF →

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

ATSAMD21G16B-MFT

✅ Drop-In
Microchip Technology
📦 48-pin QFN
ARM Cortex-M0+ (32-bit) · 48 MHz · 2.46 CoreMark/MHz · 64 KB (in-system self-programmable) · 8 KB · 1.62 V to 3.63 V · -40 C to +125 C (industrial) · 48-QFN (7x7 mm)

✓ In Stock

$1.96 / Unit

View Datasheet →

ATSAMD21G15B-MF

✅ Drop-In
Microchip Technology
📦 48-pin QFN
ARM Cortex-M0+ · 32-bit · 48 MHz · 2.46 CoreMark/MHz · 32 KB · 4 KB · 1.62 V to 3.63 V · -40 °C to +125 °C

✓ In Stock

$1.74 / Unit

View Datasheet →

ATSAMD21G18B-MF

✅ Drop-In
📦 48-pin QFN
Flash 256 KB vs 64 KB (+300%), SRAM 32 KB vs 8 KB (+300%), same die family

📋 Reference alternative (not in catalog)

ATSAMD21G16B-AU

✅ Drop-In
Microchip Technology
📦 48-pin TQFP (7x7 mm)
ARM Cortex-M0+ (32-bit) · SAM D21G · 48 MHz · 2.46 · 64 KB (in-system self-programmable) · 8 KB · 1.62 V to 3.63 V · 38 (maximum)

✓ In Stock

$2.52 / Unit

View Datasheet →

ATSAMD21E16B-MF

✅ Drop-In
📦 48-pin QFN
E-series 32-pin logic in 48QFN package - same QFN footprint, smaller silicon feature set

📋 Reference alternative (not in catalog)

ATSAMD21G15B-MUT

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 48-pin QFN
SAM D21G · ARM Cortex-M0+ · 32-bit · 48 MHz · 2.46 · 32 KB Flash · 4 KB SRAM · 48-QFN (7x7 mm)

✓ In Stock

$1.78 / Unit

View Datasheet →

STM32F042F4P6

✅ Drop-In
📦 TSSOP-20
Cortex-M0 48 MHz, 16 KB Flash, 6 KB SRAM - parametrically weaker, different package footprint than 48QFN

📋 Reference alternative (not in catalog)

ATSAMD21G16B-MF Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M0+ (32-bit)
Maximum CPU Frequency 48 MHz
CoreMark/MHz 2.46
Flash Memory 64 KB
SRAM 8 KB
Operating Voltage 1.62 V to 3.63 V (3.3 V typical)
Operating Temperature -40C to +125C (industrial)
Package 48-pin QFN
Mounting Type Surface Mount
USB USB 2.0 Full-Speed Device
ADC 12-bit, up to 350 ksps
SERCOM Channels Up to 6 (configurable UART/SPI/I2C)
Timers 24-bit TC, RTC, SysTick
RoHS Status Compliant
Halogen Free Yes (Microchip green compound)

ATSAMD21G16B-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 PA00 — GPIO / SERCOM1.0 / TCC2.0
Pin 2 PA01 — GPIO / SERCOM1.1 / TCC2.1
Pin 3 PA02 — GPIO / SERCOM0.0 / AIN0 (ADC)
Pin 4 PA03 — GPIO / SERCOM0.1 / AIN1 (ADC)
Pin 5 PA04 — GPIO / SERCOM0.2 / AIN2 / VOUT
Pin 6 PA05 — GPIO / SERCOM0.3 / AIN3
Pin 7 PA06 — GPIO / SERCOM0.0 / AIN4
Pin 8 PA07 — GPIO / SERCOM0.1 / AIN5
Pin 9 VDDANA — Analog supply (3.3 V)
Pin 10 GND — Ground
Pin 11 PA08 — GPIO / SERCOM2.0 / AIN6
Pin 12 PA09 — GPIO / SERCOM2.1 / AIN7
Pin 13 PA10 — GPIO / SERCOM2.2 / AIN8
Pin 14 PA11 — GPIO / SERCOM2.3 / AIN9
Pin 15 PA12 — GPIO / SERCOM4.0
Pin 16 PA13 — GPIO / SERCOM4.1
Pin 17 PA14 — GPIO / SERCOM4.2 / XIN32
Pin 18 PA15 — GPIO / SERCOM4.3 / XOUT32
Pin 19 PA16 — GPIO / SERCOM3.0
Pin 20 PA17 — GPIO / SERCOM3.1
Pin 21 PA18 — GPIO / SERCOM3.2
Pin 22 PA19 — GPIO / SERCOM3.3
Pin 23 PA20 — GPIO / SERCOM5.2
Pin 24 PA21 — GPIO / SERCOM5.3
Pin 25 PA22 — GPIO / SERCOM3.0 / USB_DM
Pin 26 PA23 — GPIO / SERCOM3.1 / USB_DP
Pin 27 PA24 — GPIO / SERCOM5.0 / USB_HOST_EN
Pin 28 PA25 — GPIO / SERCOM5.1
Pin 29 GND — Ground
Pin 30 VDD — Digital supply (3.3 V)
Pin 31 PA26 — GPIO
Pin 32 PA27 — GPIO
Pin 33 PA28 — GPIO / Reset
Pin 34 PA29 — GPIO / Bootloader
Pin 35 PA30 — GPIO / SWDIO
Pin 36 PA31 — GPIO / SWCLK
Pin 37 PB00 — GPIO / SERCOM5.2
Pin 38 PB01 — GPIO / SERCOM5.3
Pin 39 PB02 — GPIO / SERCOM5.0 / AIN10
Pin 40 PB03 — GPIO / SERCOM5.1 / AIN11
Pin 41 PB04 — GPIO / SERCOM4.0
Pin 42 PB05 — GPIO / SERCOM4.1
Pin 43 PB06 — GPIO / SERCOM4.2
Pin 44 PB07 — GPIO / SERCOM4.3
Pin 45 PB08 — GPIO / SERCOM4.0
Pin 46 PB09 — GPIO / SERCOM4.1
Pin 47 GND — Ground (thermal pad)
Pin 48 VDDIO — I/O supply (3.3 V)

Typical Applications

ATSAMD21G16B-MF is suitable for 6 applications: Arduino-Compatible Maker Boards, USB HID Peripherals (Keyboard, Mouse, Custom HID), Battery-Powered IoT Sensor Hubs, Industrial Sensor Interfaces (Modbus, 4-20 mA bridges), Small HMI Panels (TFT, OLED, Touch Button UI), Wearable Devices (Fitness Bands, Smart Watches).

🧩

Arduino-Compatible Maker Boards

The ATSAMD21G16B-MF is the silicon heart of the Arduino Zero, MKR Zero, and Adafruit Feather M0 boards, where its 48 MHz Cortex-M0+ core, 64 KB Flash, and built-in USB 2.0 full-speed device controller provide a turnkey maker platform. The 8 KB SRAM comfortably hosts the Arduino core plus application sketches up to ~50 KB compiled, and the six SERCOM channels expose UART/SPI/I2C on any pin via the PORT multiplexer. Industrial temperature grade (-40C to +125C) means the same chip serves hobby, prosumer, and commercial products without a silicon change. According to the SAM D21 datasheet, the integrated 12-bit ADC with PGA supports 3.3V analog sensors directly, eliminating the external ADC Arduino Uno designers had to add. Drop-in alternative within the family is ATSAMD21G18B-MF when applications exceed 64 KB Flash.

🔧

USB HID Peripherals (Keyboard, Mouse, Custom HID)

The on-chip USB 2.0 Full-Speed device controller with internal pull-up and 1k5 D+ resistor support makes the ATSAMD21G16B-MF ideal for USB HID peripherals - keyboards, mice, game controllers, custom vendor-class HID. The Cortex-M0+ at 48 MHz provides enough MIPS to run HID report parsing plus LED matrix scanning or capacitive touch decoding, and the 64 KB Flash holds the USB stack, HID report descriptors, and application firmware without external memory. The deep-sleep current under 10 uA (with RTC running) supports bus-powered HID devices that meet USB suspend current budgets (<= 2.5 mA high-power, <= 0.5 mA low-power suspend). Per the SAM D21 datasheet, the integrated PLL can derive the 48 MHz USB clock from the internal 8 MHz oscillator when an external crystal is not available, reducing BOM cost on HID dongles and key fobs.

🧩

Battery-Powered IoT Sensor Hubs

The SAM D21 family's Sleepwalking peripheral architecture makes the ATSAMD21G16B-MF a strong fit for battery-powered IoT sensor hubs that sleep most of the time and wake on sensor events. The 12-bit 350 ksps ADC with PGA can sample sensors while the core stays in deep sleep, and the SERCOM I2C blocks can wake on address match. RTC retains time across deep-sleep and the on-chip 32.768 kHz oscillator eliminates external RTC chips. According to Microchip's SAM D21 datasheet, deep-sleep current is in the single-digit microamp range, supporting multi-year coin-cell operation for temperature, humidity, and motion sensors. Industrial temperature grade and 1.62 V minimum supply extend usable runtime as cells discharge below 2.0 V. Recommended companion is a low-power BLE module over UART SERCOM.

🏭

Industrial Sensor Interfaces (Modbus, 4-20 mA bridges)

The ATSAMD21G16B-MF's industrial -40C to +125C temperature range, 3.3V single-supply operation, and 12-bit ADC with PGA make it suitable for industrial sensor interfaces and Modbus bridges. The Cortex-M0+ at 48 MHz can handle Modbus RTU / ASCII stacks plus ADC oversampling for 16-bit effective resolution, while six SERCOM channels expose RS-485 (via external transceiver), SPI sensors, and I2C peripherals. The 8 KB SRAM supports Modbus PDU buffers plus a small TCP/IP stack for Modbus TCP variants. Per the SAM D21 datasheet, hardware crypto accelerators and unique 128-bit serial number support asset-tracking and anti-counterfeit authentication - relevant to factory-floor sensor networks. Drop-in alternative ATSAMD21G18B-MF is recommended when Modbus gateway code exceeds 64 KB.

📺

Small HMI Panels (TFT, OLED, Touch Button UI)

The ATSAMD21G16B-MF drives small HMI panels - 1.3-inch OLEDs, 1.8-inch TFTs, capacitive touch buttons - with enough headroom for graphics libraries like Adafruit_GFX and LVGL on small displays. The SERCOM-configurable SPI can drive TFTs at 20 MHz+ while a second SERCOM I2C bus reads capacitive touch controllers. The 24-bit Timer/Counter (TC) provides hardware PWM for backlight dimming without CPU load, and the Event System routes touch and timer events without waking the core. According to the SAM D21 datasheet, DMA can move display buffers from Flash to SPI without CPU intervention - critical when the 8 KB SRAM cannot double-buffer a full frame. Drop-in upgrade to ATSAMD21G18B-MF enables larger TFT panels (2.4-inch and above).

📱

Wearable Devices (Fitness Bands, Smart Watches)

The ATSAMD21G16B-MF's low-power Sleepwalking, 32.768 kHz RTC, and small 48QFN footprint make it appropriate for wearable fitness bands and smart-watch daughter boards. The Cortex-M0+ at 48 MHz executes step-counting, heart-rate (via external AFE), and BLE-radio-host protocols over a UART SERCOM, and the 12-bit ADC with PGA handles optical PPG sensor analog front-ends directly. Industrial temperature rating supports body-temperature operating environments. Per the SAM D21 datasheet, the integrated 1.2V LDO and on-chip voltage regulator eliminate external PMICs for single-cell Li-ion designs, saving board area in compact wearables. Recommended companion: small Li-ion charger and BLE SoC connected over UART.

What core architecture does the ATSAMD21G16B-MF use?
The ATSAMD21G16B-MF integrates a 32-bit ARM Cortex-M0+ core running at up to 48 MHz, achieving 2.46 CoreMark/MHz. According to Microchip's SAM D21 family datasheet, the core includes single-cycle hardware multiply, an AHB/APB bus matrix, and a low-power peripheral bus that supports Sleepwalking peripherals. This places it in the low-power tier of Cortex-M0+ microcontrollers aimed at deeply embedded applications.
How much Flash and SRAM does the ATSAMD21G16B-MF have?
The ATSAMD21G16B-MF is equipped with 64 KB of Flash program memory and 8 KB of SRAM. Microchip's SAM D21 datasheet confirms the G16B variant is the 64 KB / 8 KB configuration of the D21G 48-pin family. The 8 KB SRAM is the tightest constraint when running USB plus a display buffer; DMA-based SERCOM transfers help reclaim headroom for the Cortex-M0+ application code.
What is the difference between ATSAMD21G16B-MF and ATSAMD21G16B-AU?
Both parts share the identical ATSAMD21G16B silicon die - 64 KB Flash, 8 KB SRAM, Cortex-M0+ at 48 MHz - and differ only in package. The MF suffix denotes a 48-pin QFN, while AU denotes the 48-pin TQFP. Both share the same peripheral set and pin function assignments; PCB layout differs but firmware is portable without modification.
Where can I download the ATSAMD21G16B-MF datasheet PDF?
The official Microchip SAM D21 family datasheet is available at the Microchip product page for ATSAMD21G16 (microchip.com/en-us/product/ATSAMD21G16). The document covers electrical characteristics, peripheral configuration, and 48QFN / 48TQFP / 64QFN / 64TQFP pinout for every D21 die variant. Distributor copies are mirrored on Mouser, DigiKey, and LCSC Electronics.
Is the ATSAMD21G16B-MF still in production in 2026?
Yes. Microchip's SAM D21 family, including the ATSAMD21G16B-MF, is in active production as of 2026-09-21 and is widely stocked at DigiKey, Mouser, and LCSC. Microchip's ATSAMD21G16 product page lists the part as Active, and SAMD21 silicon is the same generation used across the Arduino Zero and MKR board families - a sustained-volume part.
What is the operating voltage of the ATSAMD21G16B-MF?
The ATSAMD21G16B-MF operates from 1.62 V to 3.63 V, with 3.3 V as the canonical single-supply rail for both digital VDD and analog VDDANA. Below 1.62 V the core logic is not guaranteed; above 3.63 V absolute maximum ratings apply. The internal 1.2V LDO derives the core supply from VDDIN; decoupling per the reference design is essential to keep the analog section quiet.
Can the ATSAMD21G16B-MF run USB device applications?
Yes. The ATSAMD21G16B-MF integrates a USB 2.0 Full-Speed (12 Mbps) device controller with an on-chip transceiver and internal pull-up. Microchip's datasheet specifies the USB pads require a 3.3V supply; a 1k5 pull-up to D+ indicates Full-Speed. The 8 KB SRAM is sufficient for HID, CDC, and vendor-class USB device stacks using the ASF/MPLAB Harmony framework.
How many SERCOM channels does the ATSAMD21G16B-MF have?
The ATSAMD21G16B-MF exposes up to 6 SERCOM (Serial Communication Interface) channels that are individually software-configurable as UART, SPI master/slave, or I2C master/slave. According to the SAM D21 datasheet, the 48-pin G16B variant multiplexes SERCOM onto multiple GPIO sets, and SERCOM pin mapping is configured via the PORT multiplexer at startup.
What is the best drop-in replacement for the ATSAMD21G16B-MF?
The best drop-in replacement for the ATSAMD21G16B-MF in the same 48QFN footprint is the ATSAMD21E16B-AU (32-pin Cortex-M0+ with 64KB Flash and 8KB SRAM but a smaller pin-count package - note the AU suffix is TQFP, not QFN, so this is for migration across the family rather than a same-PCB swap). For true 48-pin QFN pin-compatibility, the ATSAMD21G16B-MF should be cross-listed with the ATSAMD21G15B-MF (48 KB Flash / 4 KB SRAM) or the ATSAMD21G18B-MF (256 KB Flash / 32 KB SRAM) - all three share the same SAM D21G 48-pin QFN pinout.
What is the difference between ATSAMD21G16B-MF and ATSAMD21E18A-MF?
The ATSAMD21G16B-MF is the G-series 48-pin SAM D21 (64 KB Flash / 8 KB SRAM), while the ATSAMD21E18A-MF is the E-series 32-pin SAM D21 (256 KB Flash / 32 KB SRAM). The E-series has a smaller pin count, more memory, but fewer GPIO; the G-series has fewer Flash but more pins. Both are Cortex-M0+ at 48 MHz but are not pin-compatible at the PCB level.
Is the ATSAMD21G16B-MF suitable for battery-powered designs?
Yes - the SAM D21 family is designed for low-power operation, with deep-sleep currents in the microamp range and Sleepwalking peripherals that wake the core on a SERCOM, ADC, or timer event without CPU intervention. According to the SAM D21 datasheet, the ATSAMD21G16B-MF retains RTC and RAM contents in the deepest sleep state while drawing only a few microamps, making it well-suited to coin-cell and Li-ion powered IoT devices.
How does the ATSAMD21G16B-MF compare to STM32F0 microcontrollers?
The ATSAMD21G16B-MF (Cortex-M0+, 48 MHz, 64 KB Flash, 8 KB SRAM, USB) is broadly comparable to the STM32F072 (Cortex-M0, 48 MHz, 64 KB Flash, 16 KB SRAM, USB) and STM32F042 (Cortex-M0, 48 MHz, 32 KB Flash, 6 KB SRAM, USB). According to community cross-reference data, the SAMD21's USB stack via the ASF/MPLAB framework is mature, and the part is favoured in Arduino-form-factor designs, while the STM32F0 family offers more SRAM for the same MHz class.
What is the lead time for ATSAMD21G16B-MF in 2026?
As of 2026-09-21, the ATSAMD21G16B-MF shows in-stock availability at Mouser, LCSC, and major distributors with lead times of 4-8 weeks for factory orders. Microchip has historically kept the SAM D21 family at stable allocation; current DigiKey and Mouser listings show same-day shipping for small quantities. LCSC also lists the part in stock at a 1-piece price of approximately $1.04 USD.
Where can I buy the ATSAMD21G16B-MF online?
The ATSAMD21G16B-MF is in stock at Mouser (Mouser.com), DigiKey, LCSC Electronics (C1341289), Octopart-indexed distributors, Xecor, and Ampheo. Distributor pricing as of 2026-09-21 starts at approximately $2.18 at 3000-piece volume; 1-piece pricing is roughly $3.50-$4.10 depending on distributor. The LCSC C1 listing ($1.04) is the typical lowest unit price for prototype orders.
What tools support programming the ATSAMD21G16B-MF?
The ATSAMD21G16B-MF is fully supported by Microchip's MPLAB X IDE plus the MPLAB Harmony 3 framework, Atmel Studio (legacy), and the open-source Arduino IDE via the Arduino Zero / MKR board packages. According to Microchip documentation, the EDBG / Atmel-ICE / PICkit 4 / SNAP debuggers provide on-chip SWD programming and debug for the Cortex-M0+ core without external hardware.

Engineering reference data for ATSAMD21G16B-MF — comparison, design guidance, and compliance information.

Selection Guide

Choose the ATSAMD21G16B-MF when you need a 48QFN ARM Cortex-M0+ microcontroller with 64 KB Flash, 8 KB SRAM, USB 2.0 Full-Speed, and industrial -40C to +125C temperature rating - the canonical maker-friendly 48QFN variant of the SAM D21G family. Choose ATSAMD21G15B-MF if 48 KB Flash and 4 KB SRAM are sufficient (lower BOM cost). Choose ATSAMD21G18B-MF if your application exceeds 64 KB Flash or 8 KB SRAM. Choose ATSAMD21G16B-AU if you need a TQFP package for hand-soldering or visual inspection. Choose STM32F042F4P6 only if you specifically require the STM32 ecosystem; expect to redesign the PCB because the package is TSSOP-20.

Comparison with Alternatives

Parameter This Product ATSAMD21G16B-MFT ATSAMD21G15B-MF ATSAMD21G18B-MF ATSAMD21G16B-AU ATSAMD21G15B-MUT STM32F042F4P6
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology STMicroelectronics
Package 48-pin QFN 48-pin QFN - same 48-pin QFN - same 48-pin QFN - same 48-pin TQFP (7x7) - same footprint family 48-pin QFN - same TSSOP-20 - different package
Core 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 ARM Cortex-M0+ 32-bit ARM Cortex-M0 32-bit
Maximum Clock 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz 48 MHz
Flash Memory 64 KB 64 KB 48 KB 256 KB 64 KB 48 KB 16 KB
SRAM 8 KB 8 KB 4 KB 32 KB 8 KB 4 KB 6 KB
USB USB 2.0 Full-Speed Device USB 2.0 Full-Speed USB 2.0 Full-Speed USB 2.0 Full-Speed USB 2.0 Full-Speed USB 2.0 Full-Speed USB 2.0 Full-Speed
Operating Temperature -40C to +125C (industrial) -40C to +125C -40C to +125C -40C to +125C -40C to +85C (extended) -40C to +125C -40C to +85C

Key Differentiators

  • 64 KB Flash / 8 KB SRAM middle-of-family sweet spot (vs ATSAMD21G15B-MF)
  • Industrial -40C to +125C temperature range (vs ATSAMD21G16B-AU)
  • Same Cortex-M0+ core and Cortex-M0+ tooling ecosystem (vs STM32F042F4P6)

Design Notes

Decouple VDD, VDDANA, and VDDIO with separate 100 nF ceramic capacitors placed within 3 mm of the package, plus a shared 10 uF bulk capacitor on the main 3.3 V rail. The SAM D21's internal 1.2 V LDO derives the core supply from VDDIN; per the datasheet reference design, VDDIO can be tied to VDD for single-supply 3.3 V operation, or driven independently to support 1.8 V logic-level peripherals. Estimate: under typical 48 MHz active load with USB suspended, expect 8-12 mA active current; deep-sleep with RTC running falls below 10 uA.

The 48QFN package has an exposed thermal pad (pin 47, GND) that must be soldered to a PCB thermal pad of at least 16 mm^2 of copper. Without the thermal pad soldered, junction temperature can rise 15-20 C above ambient at full 48 MHz active load, especially in enclosed industrial enclosures. Estimate: theta_JA of 48QFN is approximately 39 C/W on a 4-layer JEDEC test board; on a 2-layer consumer board it can exceed 60 C/W. Use a thermal via array under the pad (5x5 vias, 0.3 mm drill) for high-dissipation designs.

Route the USB DP/DM differential pair (PA22/PA23) as a 90-ohm differential microstrip with matched length within 2 mm, and place the 1k5 USB D+ pull-up resistor within 5 mm of the DP pin. Place the 32.768 kHz crystal within 5 mm of XIN32/XOUT32 (PA14/PA15) with a guard ring tied to GND to reduce noise coupling into the RTC domain. SWD pins PA30 (SWDIO) and PA31 (SWCLK) should be brought out to a 2x5 1.27 mm header for debugger access - this is the standard Cortex-M0+ debug interface and must not be repurposed for GPIO if in-circuit debug is required.

Do not skip the bootloader pin (PA29) - Microchip's default ROM bootloader is on PA08/PA09 UART for production programming without a debugger. If you repurpose PA29 as GPIO, you also lose the bootloader entry vector. Also, the 32 KB SRAM variant (ATSAMD21G18B-MF) is sometimes shipped with the wrong Flash start address in legacy bootloaders; always re-flash the bootloader for the correct memory map. Do not exceed 3.63 V absolute maximum on any IO pin - the SAM D21's IO cells are not 5V-tolerant.

Compliance Information

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

Microchip's SAM D21 family is RoHS compliant and supplied in Microchip's halogen-free green compound. The MF part is not AEC-Q100 qualified; automotive customers should request ATSAMD21G16B-MFVAO or contact Microchip for automotive-grade variants.

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

Related Searches

ATSAMD21G16B-MF ATSAMD21G16B-MF datasheet Microchip ATSAMD21G16B-MF SAMD21 48QFN 64KB Flash ATSAMD21G16B-MF Arduino Zero ATSAMD21G16B-MF vs STM32F042 ATSAMD21G16B-MF price buy Cortex-M0+ USB microcontroller 48QFN ATSAMD21G16B-MF pinout SAMD21 low power Sleepwalking drop-in replacement ATSAMD21G16B-MF ATSAMD21G16B-MF industrial -40C 125C SAM D21 family datasheet PDF ATSAMD21E18A-MF vs ATSAMD21G16B-MF what is the Flash size of ATSAMD21G16B-MF

Related Components & Terms

Microchip Technology Atmel ATSAMD21G16B-MF ATSAMD21G16B-MFT ATSAMD21G15B-MF ATSAMD21G18B-MF ATSAMD21G16B-AU ATSAMD21E18A-MF ARM Cortex-M0+ 32-bit microcontroller SAM D21 family SAM D20 USB 2.0 Full-Speed SERCOM 12-bit ADC RoHS REACH QFN package TQFP package Arduino Zero MPLAB Harmony Sleepwalking peripheral 32.768 kHz RTC industrial temperature grade
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