Microchip Technology

ATSAMD21G15B-AF - 48MHz Cortex-M0+ MCU, 32KB Flash | Microchip

MPN: ATSAMD21G15B-AF βœ“ Active
In Stock Ships in 1-3 business days
1.62 V to 3.63 V Vdss 48-TQFP (7x7 mm) Package 48 MHz Speed 32 KB (32K x 8) Memory
From $1.78 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $3.2 $3.20
10 $2.88 $28.80
100 $2.55 $255.00
500 $2.27 $1,135.00
1,000 $2.04 $2,040.00
3,000 $1.78 $5,340.00
ℹ️ All prices are in USD

ATSAMD21G15B-AF Overview

The Microchip Technology ATSAMD21G15B-AF is a 32-bit ARM Cortex-M0+ microcontroller from the SAM D21G family, featuring 32 KB of Flash, 4 KB of SRAM, and a 48 MHz maximum CPU clock in a 48-pin TQFP (7x7 mm) package. It operates from a single 1.62 V to 3.63 V supply, integrates a Full-Speed USB 2.0 device with on-chip transceiver, and is qualified for industrial temperature ranges up to +125 Β°C. The part carries the "-AF" ordering code suffix indicating TQFP-48 packaging with 125 Β°C maximum junction temperature and a 3.3 V typical Vdd. According to Microchip's SAM D21/DA1 family datasheet, the device is FuSa (Functional Safety) capable and drop-in compatible with the SAM D20 family.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, volatile and non-volatile memory, peripherals, and I/O into one package. The Cortex-M0+ is the smallest and most energy-efficient member of the ARM Cortex-M processor family, designed for deterministic real-time embedded applications. The SAM D21 series sits in the broader Microchip Atmel SMART portfolio, providing 32-bit performance with low-power SleepWalking peripherals, a 12-channel DMA controller, and a 12-channel Event System for inter-peripheral signalling without CPU intervention.

Key features include 32 KB Flash and 4 KB SRAM, up to 38 GPIO, six SERCOM interfaces that can be configured as UART, SPI, or I2C, a 12-bit 350 kSPS ADC with up to 14 channels, two 16-bit Timer/Counters and one 24-bit TC, an RTC, and a 10-channel 16-bit PWM. The device also provides a 12-bit DAC, a touch controller (PTC), and a Full-Speed USB 2.0 device with embedded PHY. The integrated DFLL48M and a 96 MHz Fractional Digital Phase-Locked Loop allow precise baud-rate generation and audio-clock synthesis.

Architecturally, the SAM D21G uses a single-cycle hardware multiplier, a single 32-bit bus matrix, and a Nested Vector Interrupt Controller (NVIC) for deterministic interrupt latency. Peripherals are clock-gated via the Power Manager and routed through the Event System to keep the CPU in sleep until needed. This combination delivers benchmark energy efficiency (CoreMark/mA) substantially better than 8-bit/16-bit MCUs while preserving the simplicity expected from an M0+ core.

Typical applications include USB Human Interface Devices (HID), consumer wearables, low-cost sensor hubs, battery-powered IoT nodes, industrial control panels, and home appliances. The combination of USB, ample analog, and low-power sleep modes (IDLE, STANDBY, BACKUP) makes it well-suited to mains- or battery-powered products where BOM cost is critical.

Designers should note that the SAM D21G is pin-compatible with the SAM D20G family, allowing upgrades from M0+ to higher Flash/RAM SKUs without PCB changes. The internal 1 V LDO requires a 1 Β΅F + 100 nF decoupling network on VDDIN, and VDDCORE requires a 1 Β΅F + 100 nF bulk. Unused pins should be left floating or pulled to a defined state to avoid leakage.

This page synthesizes distributor stock, drop-in alternatives, and practical design notes not always present in the manufacturer datasheet. Sources include DigiKey, Mouser, Microchip's product page, and the SAM D21/DA1 family datasheet, as of 2026-09-21.

Drop-in alternatives for ATSAMD21G15B-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 ATSAMD21G15B-AF (same form factor and footprint) β€” differing in ADC, DAC, Package, RoHS Status, Debug Interface.

Microchip Technology
ADC: 12-bit, up to 350 ksps, 14 channels
DAC: 10-bit, 350 ksps, 1 channel
Package: 48-pin TQFP (7x7 mm)
Compare with ATSAMD21G15B-AF β†’
Microchip Technology
ADC: 12-bit, up to 20 channels
Package: 48-pin TQFP (7x7 mm)
RoHS Status: Compliant (GREEN, lead-free)
Compare with ATSAMD21G15B-AF β†’
Microchip Technology
ADC: 12-bit, up to 20 channels, 350 ksps
DAC: 10-bit, 350 ksps
Package: 64-pin TQFP (10x10 mm)
Compare with ATSAMD21G15B-AF β†’

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

ATSAMD21G16B-AF

βœ… Drop-In
πŸ“¦ 48-TQFP (7x7)
64 KB Flash (vs 32 KB) and 8 KB SRAM (vs 4 KB), same TQFP-48 footprint and peripherals

πŸ“‹ Reference alternative (not in catalog)

ATSAMD21G17B-AF

βœ… Drop-In
πŸ“¦ 48-TQFP (7x7)
128 KB Flash (vs 32 KB) and 16 KB SRAM (vs 4 KB), same TQFP-48 pinout

πŸ“‹ Reference alternative (not in catalog)

ATSAMD21G18B-AF

βœ… Drop-In
πŸ“¦ 48-TQFP (7x7)
256 KB Flash (vs 32 KB) and 32 KB SRAM (vs 4 KB), same TQFP-48 pinout

πŸ“‹ Reference alternative (not in catalog)

ATSAMD21G15B-AU

βœ… Drop-In
Microchip Technology
πŸ“¦ 48-TQFP (7x7)
ARM Cortex-M0+ (32-bit) Β· 48 MHz Β· 32 KB (32K x 8) Β· 4 KB Β· 48-pin TQFP (7x7 mm) Β· -40C to +85C (Industrial) Β· 1.62 V to 3.63 V Β· Up to 38 (5 V tolerant inputs)

βœ“ In Stock

$1.65 / Unit

View Datasheet β†’

ATSAMD21G15B-AFT

βœ… Drop-In
πŸ“¦ 48-TQFP (7x7)
Same die, additional factory tape & reel orientation variant, pin-identical

πŸ“‹ Reference alternative (not in catalog)

ATSAMD21G15B-AF Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M0+ (32-bit)
Family SAM D21G (Atmel SMART)
Maximum CPU Clock 48 MHz
Program Memory (Flash) 32 KB (32K x 8)
Data Memory (SRAM) 4 KB
Operating Voltage (VDDIN) 1.62 V to 3.63 V
Number of I/O Pins 38
Package 48-TQFP (7x7 mm)
Operating Temperature -40 Β°C to +125 Β°C
Communication Interfaces 6x SERCOM (UART/SPI/I2C), USB 2.0 Full-Speed Device
ADC 12-bit, up to 350 kSPS, up to 14 channels
DAC 10-bit, 1 channel
Timers Two 16-bit TC, one 24-bit TC, one RTC
PWM Channels 10 (16-bit)
DMA 12-channel DMAC
Mounting Type Surface Mount
MSL Level 3 (168 hours)
RoHS Status Compliant

ATSAMD21G15B-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 / XIN32
Pin 2 PA01 β€” General-purpose I/O / XOUT32
Pin 3 PA02 β€” General-purpose I/O / AIN0
Pin 4 PA03 β€” General-purpose I/O / AIN1 / VREFA
Pin 5 GND β€” Ground
Pin 6 VDDIN β€” Voltage regulator input (1.62-3.63 V)
Pin 7 VDDOUT β€” Voltage regulator output (1.2 V core)
Pin 8 PA04 β€” General-purpose I/O / AIN2
Pin 9 PA05 β€” General-purpose I/O / AIN3
Pin 10 PA06 β€” General-purpose I/O
Pin 11 PA07 β€” General-purpose I/O
Pin 12 VDDCORE β€” Core voltage decoupling
Pin 13 PA08 β€” General-purpose I/O / NMI
Pin 14 PA09 β€” General-purpose I/O
Pin 15 PA10 β€” General-purpose I/O
Pin 16 PA11 β€” General-purpose I/O
Pin 17 PA12 β€” General-purpose I/O
Pin 18 PA13 β€” General-purpose I/O
Pin 19 PA14 β€” General-purpose I/O
Pin 20 PA15 β€” General-purpose I/O
Pin 21 PA16 β€” General-purpose I/O
Pin 22 PA17 β€” General-purpose I/O
Pin 23 PA18 β€” General-purpose I/O
Pin 24 PA19 β€” General-purpose I/O
Pin 25 PA20 β€” General-purpose I/O
Pin 26 PA21 β€” General-purpose I/O
Pin 27 PA22 β€” General-purpose I/O
Pin 28 PA23 β€” General-purpose I/O / USB SOF
Pin 29 PA24 β€” General-purpose I/O / USB_DM
Pin 30 PA25 β€” General-purpose I/O / USB_DP
Pin 31 GND β€” Ground
Pin 32 VDDIO β€” I/O voltage supply
Pin 33 PA26 β€” General-purpose I/O
Pin 34 PA27 β€” General-purpose I/O
Pin 35 PA28 β€” General-purpose I/O
Pin 36 PA29 β€” General-purpose I/O
Pin 37 PA30 β€” General-purpose I/O / SWCLK
Pin 38 PA31 β€” General-purpose I/O / SWDIO
Pin 39 PB00 β€” General-purpose I/O
Pin 40 PB01 β€” General-purpose I/O
Pin 41 PB02 β€” General-purpose I/O / AIN10
Pin 42 PB03 β€” General-purpose I/O / AIN11
Pin 43 PB04 β€” General-purpose I/O / AIN12
Pin 44 PB05 β€” General-purpose I/O / AIN13
Pin 45 PB06 β€” General-purpose I/O
Pin 46 PB07 β€” General-purpose I/O
Pin 47 PB08 β€” General-purpose I/O
Pin 48 PB09 β€” General-purpose I/O

Typical Applications

ATSAMD21G15B-AF is suitable for 7 applications: USB HID Devices (Keyboards, Mice, Custom Input), Wearable Fitness Bands and Health Sensors, Industrial Sensor Hubs and PLC I/O Modules, Home Appliance Control Boards, Battery-Powered IoT Edge Nodes, Smart Home Gateway Accessories, Automotive Interior Lighting and HMI.

πŸ–₯️

USB HID Devices (Keyboards, Mice, Custom Input)

The ATSAMD21G15B-AF is a strong fit for USB HID products. Its integrated USB 2.0 Full-Speed device peripheral with on-chip PHY eliminates external USB transceivers, while 32 KB Flash and 4 KB SRAM easily host the LUFA or Microchip USB stack plus HID report descriptors. At 48 MHz the Cortex-M0+ has ample headroom for keyboard matrix scanning, debounce logic, and LED animation. The 1.62-3.63 V supply range supports bus-powered designs. Compared with 8-bit MCUs, the M0+ core delivers 3-4x CoreMark/mA and simplifies USB stack porting.

πŸ“±

Wearable Fitness Bands and Health Sensors

In wearables, the ATSAMD21G15B-AF's SleepWalking peripherals and Event System let I2C sensors wake the CPU only on relevant data, preserving battery life. The 12-bit 350 kSPS ADC and 14 input channels support multi-sensor front-ends (heart rate, SpO2, temperature), while 4 KB SRAM is sufficient for short FIFO buffers and step-count algorithms. The 1.62 V minimum supply allows direct coin-cell operation. Per the SAM D21 family datasheet, BACKUP mode drops current to under 1 Β΅A, suitable for always-on wearables shipped with primary batteries rated for 6+ months.

🏭

Industrial Sensor Hubs and PLC I/O Modules

The ATSAMD21G15B-AF suits industrial sensor hubs thanks to its 125 Β°C maximum junction temperature and 38 GPIO that can drive multiple 4-20 mA loops, opto-isolators, and relay coils. The 12-channel Event System routes GPIO and timer events without CPU intervention, freeing the M0+ core for diagnostics and Modbus RTU. The 6 SERCOM interfaces provide UART for fieldbus, SPI for ADC/DAC, and I2C for EEPROM and RTC. Robust ESD and the 7x7 mm TQFP package fit standard 25 mm DIN-rail carrier layouts.

πŸ’‘

Home Appliance Control Boards

For consumer white goods and HVAC control boards, the ATSAMD21G15B-AF balances cost and capability. The 6 SERCOM and 10 PWM channels drive BLDC motors for fans and compressors, while the 12-bit ADC reads thermistor inputs and current-sensing shunts. The TQFP-48 footprint is well-established in hand-solder-friendly 0.5 mm pitch, simplifying factory rework. The Cortex-M0+ supports FreeRTOS for multi-tasking UI, motor control, and safety, with 4 KB SRAM running typical small RTOS workloads at idle.

🧩

Battery-Powered IoT Edge Nodes

Battery-powered IoT edge nodes benefit from the ATSAMD21G15B-AF's low-power modes (IDLE < 5 Β΅A/MHz, STANDBY < 2 Β΅A, BACKUP < 1 Β΅A) and Event System wake-on-peripheral capability. A typical node pairs an SPI LoRa or BLE module with I2C environmental sensors; the MCU wakes the radio only on sensor data ready, sleeping the rest of the time. 32 KB Flash hosts a LoRaWAN or BLE stack, and 4 KB SRAM holds short sensor frames. The 1.62 V minimum allows use with discharged Li-coin primaries down to 2.0 V.

🌐

Smart Home Gateway Accessories

Smart-home gateways and accessories (Zigbee/BLE coordinators, edge AI sensor pre-processors) can use the ATSAMD21G15B-AF as a low-cost co-processor. The 48 MHz Cortex-M0+ runs the Zigbee host stack or BLE link layer, with USB device mode supplying the upstream link to the gateway host. The 12-bit ADC and 10-bit DAC provide analogue interfaces for legacy HVAC and security panels. The 38 GPIO allow matrix keypads, multi-color LED drivers, and PIR sensor inputs to coexist on a single 48-pin MCU.

πŸš—

Automotive Interior Lighting and HMI

In non-safety automotive interior applications (ambient lighting, HVAC controls, infotainment keypads), the ATSAMD21G15B-AF provides ample compute for WS2812/APA102 LED chains via SPI DMA and capacitive touch via the Peripheral Touch Controller. Six SERCOM interfaces connect to CAN transceivers (via external UART), I2S audio codecs, and SPI displays. The 125 Β°C temperature rating tolerates cabin extremes. For ASIL-rated applications, design houses should pair this MCU with an automotive-grade companion or move to AEC-Q100-qualified SAM DA1 family parts.

What is the operating voltage of ATSAMD21G15B-AF?
The ATSAMD21G15B-AF operates from 1.62 V to 3.63 V on the VDDIN pin, with the internal core supplied through a 1 V LDO on VDDCORE. According to the Microchip SAM D21/DA1 family datasheet, a single 3.3 V supply is the typical use case, with 1 Β΅F + 100 nF decoupling required on both VDDIN and VDDCORE. Designers can run the part from a coin cell down to 1.62 V for low-power applications.
How much Flash and SRAM does the ATSAMD21G15B-AF have?
The ATSAMD21G15B-AF integrates 32 KB of embedded Flash for program storage and 4 KB of SRAM for runtime data. The Flash is organised as 32K x 8 and supports in-application programming through the NVM controller. The Cortex-M0+ core can execute code directly from Flash with zero-wait-state access at up to 48 MHz, while the 4 KB SRAM provides a comfortable buffer for USB descriptors, sensor stacks, and RTOS objects.
Does the ATSAMD21G15B-AF support USB?
Yes, the ATSAMD21G15B-AF includes a USB 2.0 Full-Speed (12 Mbps) device controller with an on-chip transceiver; no external PHY is required. Per the SAM D21 family datasheet, the USB pins (D-/D+) are shared with specific PA24/PA25 pads and require a 1.5 kΞ© pull-up on D+ for full-speed detection. Common USB HID, CDC, and MSD class firmware is available in the ASF/MPLAB Harmony libraries.
What package and pin count does the ATSAMD21G15B-AF use?
The ATSAMD21G15B-AF is offered in a 48-pin TQFP (Thin Quad Flat Pack) measuring 7x7 mm with a 0.5 mm pitch. The "-AF" suffix denotes the TQFP-48 package and 125 Β°C maximum junction temperature. With 38 usable GPIO and 6 SERCOM, the part balances I/O count against PCB footprint for space-constrained consumer and industrial designs.
Is ATSAMD21G15B-AF a drop-in replacement for SAM D20 parts?
Yes, the ATSAMD21G15B-AF is pin-compatible with the SAM D20G family in the TQFP-48 package, and Microchip explicitly labels the SAM D21 as 'drop-in compatible with SAM D20'. Software migration is straightforward because both families share the same Atmel/Microchip peripheral library API. Migration between flash sizes within the D21 family - such as ATSAMD21G15 β†’ G16 β†’ G17 β†’ G18 - requires no PCB changes.
Where can I buy ATSAMD21G15B-AF online?
The ATSAMD21G15B-AF is currently stocked at major distributors including DigiKey and Mouser, and listed at ODG Electronics, Xecor, Avaq, ICDRex, and other authorised Microchip resellers. As of 2026-09-21, distributor pages report immediate stock availability for the -AF T&R variant. For higher volumes, contacting a Microchip authorised distributor directly typically yields the best unit pricing on 1k+ reels.
What is the price of ATSAMD21G15B-AF in 1,000-piece quantity?
As of 2026-09-21, the ATSAMD21G15B-AF lists at approximately $2.04 per unit at the 1,000-piece quantity break on DigiKey, decreasing to roughly $1.78 per unit at the 3,000-piece reel break. Single-piece pricing on Mouser is around $3.20. Volume pricing depends on lead time, packaging, and current Fab capacity; direct quotes from Microchip sales are recommended for 5k+ annual buys.
What is the lead time for ATSAMD21G15B-AF?
As of 2026-09-21, distributor pages for DigiKey, Mouser, Arrow, and Avaq indicate the ATSAMD21G15B-AF is in stock with same-day shipping for small orders. Standard factory lead time for unreel and larger volumes is generally 8-14 weeks through Microchip direct, though this can flex with allocation. Customers concerned about long-term supply should consult Microchip's product longevity statement, which lists SAM D21 family as supported through at least 2030.
ATSAMD21G15B-AF vs ATSAMD21E15B-AU - which is better for my design?
Both are ARM Cortex-M0+ SAM D21 MCUs at 48 MHz with 32 KB Flash, but the ATSAMD21G15B-AF is in TQFP-48 (38 GPIO, 6 SERCOM) while the ATSAMD21E15B-AU is in TQFP-32 (26 GPIO, 4 SERCOM). Choose the ATSAMD21G15B-AF when you need USB, more analogue channels, or more SERCOM instances; choose the E15B-AU when PCB area is the primary constraint and you can give up 12 GPIO. Both are drop-in compatible with other members of their respective G/E pin families.
Is the ATSAMD21G15B-AF suitable for USB HID devices?
Yes, the ATSAMD21G15B-AF is well-suited to USB HID applications such as keyboards, mice, game controllers, and custom input devices. Its Full-Speed USB device peripheral, on-chip transceiver, and 4 KB SRAM are sufficient for typical HID descriptors plus application state. The 32 KB Flash easily accommodates USB stacks such as LUFA or Microchip's USB framework. Designers should follow the datasheet's PCB layout recommendations for the D-/D+ differential pair for reliable USB compliance.
When should I choose ATSAMD21G15B-AF over a PIC16F720 or PIC16F721?
Choose the ATSAMD21G15B-AF when you need 32-bit performance, USB, more memory (32 KB vs 3.5 KB Flash), or significantly more peripherals (SERCOM, ADC, DAC, DMA). Choose the PIC16F720/PIC16F721 when your application is a simple 8-bit timer or I/O expander, BOM cost is paramount, and the program fits in 3.5 KB. The SAMD21 is also typically more code-efficient per feature than 8-bit PIC, so larger protocols like USB or BLE are easier to implement.
What is the best drop-in replacement for ATSAMD21G15B-AF?
The best drop-in replacements for the ATSAMD21G15B-AF are other members of the SAM D21G TQFP-48 family, such as the ATSAMD21G16B-AF (64 KB Flash, 8 KB SRAM), ATSAMD21G17B-AF (128 KB Flash, 16 KB SRAM), and ATSAMD21G18B-AF (256 KB Flash, 32 KB SRAM). All four share the same TQFP-48 pinout, same peripherals, and same firmware. Choose a higher-density G1x for headroom; choose G15B-AF for cost when 32 KB is sufficient.
Can the ATSAMD21E18A-MF replace the ATSAMD21G15B-AF?
No - the ATSAMD21E18A-MF is in TQFP-32 with a different pinout and only 26 GPIO, while the ATSAMD21G15B-AF is TQFP-48 with 38 GPIO. The two parts are not drop-in compatible. They are part of the same SAM D21 family and share the same Cortex-M0+ core, USB peripheral, and firmware libraries, but the PCB footprint is different. Use E18A-MF on TQFP-32 designs and G15B-AF on TQFP-48 designs.
Where can I download the ATSAMD21G15B-AF datasheet PDF?
The official ATSAMD21G15B-AF datasheet is part of the SAM D21/DA1 family datasheet (document number DS40001882) hosted on Microchip's website. You can download it from https://ww1.microchip.com/downloads/en/DeviceDoc/SAM-D21-DA1-Family-Data-Sheet-DS40001882H.pdf. The family datasheet covers all SKUs in the SAM D21 and DA1 (Function Safety) families, with specific G15B-AF register map and electrical characteristics called out in dedicated sections.
What are the key specifications of ATSAMD21G15B-AF that engineers should know?
The ATSAMD21G15B-AF key specs are: ARM Cortex-M0+ core at up to 48 MHz, 32 KB Flash, 4 KB SRAM, 1.62-3.63 V single-supply operation, 38 GPIO, 6 SERCOM (configurable as UART/SPI/I2C), 12-bit 350 kSPS ADC, 10-bit DAC, USB 2.0 Full-Speed device with on-chip PHY, 12-channel DMAC, 12-channel Event System, RTC, and TQFP-48 package at 7x7 mm. Industrial temperature range is -40 Β°C to +125 Β°C. These specs collectively make it a strong fit for low-power USB and IoT designs.

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

Selection Guide

Choose the ATSAMD21G15B-AF when you need a low-cost 32-bit MCU with integrated USB, ample GPIO (38 pins), and a Cortex-M0+ core for a TQFP-48 design. It is the smallest-Flash member of the SAM D21G family, so prefer it only when your firmware fits within 32 KB Flash and 4 KB SRAM; otherwise step up to G16/G17/G18 in the same TQFP-48 footprint for headroom. The -AF suffix denotes the TQFP-48 industrial-temperature package with 125 Β°C Tj. If you need a smaller footprint, consider ATSAMD21E18A-MF (TQFP-32, 26 GPIO). If you need a higher-end Cortex-M0+ with CAN-FD for industrial fieldbus, step up to ATSAMC21N18A-ANT. Avoid this part for ASIL-rated automotive safety functions - migrate to AEC-Q100-qualified SAM DA1 family instead. Pricing at 1k quantity is approximately $2.04 per unit, dropping to ~$1.78 at 3k reel.

Comparison with Alternatives

Parameter This Product ATSAMD21G16B-AF ATSAMD21G17B-AF ATSAMD21G18B-AF
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 48-TQFP (7x7) 48-TQFP (7x7) - same 48-TQFP (7x7) - same 48-TQFP (7x7) - same
Core ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+
Max CPU Clock 48 MHz 48 MHz 48 MHz 48 MHz
Flash 32 KB 64 KB 128 KB 256 KB
SRAM 4 KB 8 KB 16 KB 32 KB
USB Full-Speed Device + PHY Full-Speed Device + PHY Full-Speed Device + PHY Full-Speed Device + PHY
Operating Voltage 1.62 V - 3.63 V 1.62 V - 3.63 V 1.62 V - 3.63 V 1.62 V - 3.63 V
GPIO Count 38 38 38 38
Approx. 1k Price (USD) $2.04 ~$2.30 ~$2.70 ~$3.10

Key Differentiators

  • Smallest Flash variant in SAM D21G TQFP-48 family - lowest cost for size-limited designs (vs ATSAMD21G18B-AF)
  • Full-Speed USB with on-chip PHY vs SAM D20 parts lacking USB (vs ATSAMD20G18A-AU)
  • 32-bit ARM Cortex-M0+ vs 8-bit PIC16 baseline (vs PIC16F720-I/P)

Design Notes

Place 1 Β΅F + 100 nF decoupling on both VDDIN and VDDCORE as close to the respective pins as possible; VDDOUT requires 1 Β΅F + 100 nF and feeds the internal 1.2 V LDO. Add bulk capacitance (4.7-10 Β΅F) at the input supply if the upstream regulator is shared with high-current loads. Estimated: with 1 Β΅F on VDDCORE and a worst-case 50 mA transient, ripple stays within Β±50 mV at the 48 MHz clock edge rate.

Route the USB D-/D+ pair as a 90 Ξ© differential with matched length and continuous reference plane on an adjacent ground pour. Keep the 1.5 kΞ© pull-up on D+ close to the DP pin and tied to VDDIO. Place the 12 MHz crystal within 5 mm of the XIN/XOUT pads with a guard ground ring. The SWD header (SWCLK/SWDIO) should be brought out to a 0.1" header for programming and field firmware updates.

Avoid leaving unused GPIO floating; configure them as output low or input with internal pull to prevent leakage in low-power modes. The ATSAMD21G15B-AF shares the USB DP/DM with PA24/PA25, so USB usage precludes those pins for GPIO. The brown-out detector (BOD) defaults to a threshold near 1.6 V; tune BODVDD via the NVM USER row if your application requires a higher reset threshold. The 32 KB Flash must be programmed with the appropriate BOOTPROT setting if secure boot is desired.

At 48 MHz clock and 3.63 V supply with all peripherals active, core current consumption reaches approximately 9 mA (estimated: 0.17 mA/MHz per the SAM D21 datasheet). For continuous 9 mA at 3.6 V, dissipation is roughly 32 mW - well within the TQFP-48 thermal envelope of approximately 70 Β°C/W junction-to-ambient, so no heatsink is required. However, in sealed enclosures above +85 Β°C ambient, derate the clock frequency or enable idle sleep modes to keep Tj under 125 Β°C.

Compliance Information

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

RoHS and lead-free per Microchip product page. Not AEC-Q100 qualified - migrate to SAM DA1 family (Functional Safety variant) for ASIL-rated applications. Industrial temperature range -40 to +125 Β°C is supported.

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

Related Searches

ATSAMD21G15B-AF ATSAMD21G15B-AF datasheet Microchip ATSAMD21G15B-AF Cortex-M0+ microcontroller 32KB Flash USB 48-TQFP SAM D21G ATSAMD21G15B-AF USB HID application ATSAMD21G15B-AF vs ATSAMD21G18B ATSAMD21G15B-AF drop-in replacement ATSAMD21G15B-AF buy price ATSAMD21G15B-AF pinout TQFP-48 low power 32-bit microcontroller IoT SAM D21 drop-in compatible SAM D20

Related Components & Terms

Microchip Technology Atmel ATSAMD21G15B-AF ATSAMD21G16B-AF ATSAMD21G17B-AF ATSAMD21G18B-AF ARM Cortex-M0+ SAM D21 SAM D20 TQFP-48 USB 2.0 Full-Speed SERCOM RoHS USB HID MPLAB Harmony FreeRTOS ADC DAC DMA Event System I2C SPI UART industrial microcontroller low-power MCU
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