ATSAMD21G18A-MF - 48MHz Cortex-M0+ MCU, 256KB Flash | Microchip
Référence : ATSAMD21G18A-MF ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $4.32 | $4,32 |
| 10 | $3.89 | $38,90 |
| 100 | $3.45 | $345,00 |
| 500 | $2.98 | $1 490,00 |
| 1 000 | $2.61 | $2 610,00 |
ATSAMD21G18A-MF Présentation
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 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 include a 12-channel 12-bit 350ksps ADC with hardware oversampling, six SERCOM channels independently configurable as UART, SPI, or I2S, two I2S interfaces for digital audio, a 20-channel Event System for inter-peripheral signaling without CPU intervention, two analog comparators, a 24-bit timer/counter for control applications, and a hardware AES-256 crypto accelerator. The device operates from 1.62V to 3.63V, supporting single-cell Li-ion and coin-cell battery designs.
Architecturally, the SAM D21 uses a single-cycle hardware multiplier, an NVIC with four priority levels, and a Memory Protection Unit (MPU) for system robustness. Sleepwalking peripherals plus the Event System let the CPU stay in deep-sleep (less than 5 microamps) while peripherals react to external events. The integrated 48MHz digital frequency-locked loop (DFLL48M) generates 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.
Design consideration: the ATSAMD21G18A-MF requires an external 32.768kHz crystal or the internal OSCULP32K oscillator for accurate USB Full-Speed operation. The exposed pad (EP) on the QFN must be soldered to a sufficient ground plane to meet the thermal conductivity spec; 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.
Alternatives de remplacement direct pour ATSAMD21G18A-MF — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec ATSAMD21G18A-MF (même facteur de forme et même empreinte) — différant par Package, Operating Temperature, ADC, USB, Flash Memory.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
ATSAMD21G18A-MFT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
ATSAMD21G18A-MUT
✅ Remplacement direct✓ En stock
$3.37 / unité
Voir la fiche technique →ATSAMD21E18A-MF
✅ Remplacement direct✓ En stock
$6.95 / unité
Voir la fiche technique →ATSAMD21G17D-MUT
✅ Remplacement direct✓ En stock
$1.31 / unité
Voir la fiche technique →ATSAMC21G18A-AU
✅ Remplacement direct✓ En stock
$3.05 / unité
Voir la fiche technique →STM32G031K8T6
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
ATSAMD21G18A-MF Valeurs maximales et caractéristiques électriques
| Core | ARM Cortex-M0+ (ARMv6-M) |
| Maximum CPU Clock | 48 MHz |
| CoreMark Performance | 2.46 CoreMark/MHz |
| Flash Memory | 256 KB |
| SRAM | 32 KB |
| Supply Voltage Range | 1.62 V to 3.63 V |
| Plage de température de fonctionnement | -40 C to +125 C (industrial) |
| ADC | 12-bit, 12 channels, up to 350 ksps |
| DAC | 10-bit, 1 channel |
| SERCOM Channels | 6 (configurable as UART/SPI/I2C) |
| I2S Interfaces | 2 |
| USB Interface | USB 2.0 Full-Speed device/host/OTG |
| Timers/Counters | 8 (including 24-bit TCC) |
| Boîtier | 48-pin QFN (7x7 mm) with exposed pad |
| Type de montage | Surface Mount |
| Niveau MSL | 3 (168 hours) |
| Statut RoHS | Compliant |
Configuration des broches de ATSAMD21G18A-MF
| Broche 1 | PA00 — XIN32 / SERCOM1.0 / TCC2.0 |
| Broche 2 | PA01 — XOUT32 / SERCOM1.1 / TCC2.1 |
| Broche 3 | PA02 — AIN0 / SERCOM0.0 / TCC1.2 |
| Broche 4 | PA03 — AIN1 / SERCOM0.1 / TCC1.1 |
| Broche 5 | PA04 — AIN2 / SERCOM0.2 / TCC1.0 |
| Broche 6 | PA05 — AIN3 / SERCOM0.3 / TCC1.3 |
| Broche 7 | PA06 — AIN4 / SERCOM0.4 / TCC1.4 |
| Broche 8 | PA07 — AIN5 / SERCOM0.5 / TCC1.5 |
| Broche 9 | VDD — Digital supply voltage |
| Broche 10 | GND — Ground |
| Broche 11 | PA08 — AIN6 / SERCOM2.0 / TCC0.0 |
| Broche 12 | PA09 — AIN7 / SERCOM2.1 / TCC0.1 |
| Broche 13 | PA10 — AIN8 / SERCOM2.2 / TCC0.2 |
| Broche 14 | PA11 — AIN9 / SERCOM2.3 / TCC0.3 |
| Broche 15 | PA12 — AIN10 / SERCOM4.0 / TCC0.4 |
| Broche 16 | PA13 — AIN11 / SERCOM4.1 / TCC0.5 |
| Broche 17 | PA14 — SERCOM4.2 / TCC0.6 |
| Broche 18 | PA15 — SERCOM4.3 / TCC0.7 |
| Broche 19 | PA16 — SERCOM1.0 / TCC2.0 |
| Broche 20 | PA17 — SERCOM1.1 / TCC2.1 |
| Broche 21 | PA18 — SERCOM1.2 / TCC2.2 |
| Broche 22 | PA19 — SERCOM1.3 / TCC2.3 |
| Broche 23 | PA20 — SERCOM5.2 / TCC0.0 |
| Broche 24 | PA21 — SERCOM5.3 / TCC0.1 |
| Broche 25 | PA22 — SERCOM3.0 / TCC0.2 |
| Broche 26 | PA23 — SERCOM3.1 / TCC0.3 |
| Broche 27 | PA24 — USB_DM / SERCOM5.2 |
| Broche 28 | PA25 — USB_DP / SERCOM5.3 |
| Broche 29 | PA26 — SERCOM3.2 |
| Broche 30 | PA27 — SERCOM3.3 |
| Broche 31 | PA28 — SERCOM5.0 / TCC1.0 |
| Broche 32 | PA29 — SERCOM5.1 / TCC1.1 |
| Broche 33 | PA30 — SERCOM1.2 / TCC1.2 |
| Broche 34 | PA31 — SERCOM1.3 / TCC1.3 |
| Broche 35 | PB02 — SERCOM5.0 / ADC |
| Broche 36 | PB03 — SERCOM5.1 / ADC |
| Broche 37 | PB04 — SERCOM3.0 / ADC |
| Broche 38 | PB05 — SERCOM3.1 / ADC |
| Broche 39 | PB06 — SERCOM3.2 / ADC |
| Broche 40 | PB07 — SERCOM3.3 / ADC |
| Broche 41 | PB08 — SERCOM4.0 / TCC0.2 |
| Broche 42 | PB09 — SERCOM4.1 / TCC0.3 |
| Broche 43 | PB10 — SERCOM4.2 / TCC0.4 |
| Broche 44 | PB11 — SERCOM4.3 / TCC0.5 |
| Broche 45 | VDD — Digital supply voltage |
| Broche 46 | GND — Ground |
| Broche 47 | VDDCORE — Internal core voltage regulator output (decouple 1uF + 100nF) |
| Broche 48 | RESET — Reset input, active low |
| Broche 49 | EP — Exposed thermal pad - solder to GND plane |
Applications typiques
ATSAMD21G18A-MF convient pour 6 applications: USB Human-Interface Device (HID), Industrial Sensor Hub, Home Automation Controller, Consumer Wearable Device, Smart Metering Node, BLE Wireless Sensor Beacon.
USB Human-Interface Device (HID)
The ATSAMD21G18A-MF integrates a USB 2.0 Full-Speed device/host/OTG controller with on-chip transceiver, eliminating the need for an external PHY. Its 256KB Flash comfortably fits HID report descriptors and CDC class drivers alongside application code, while the 48MHz Cortex-M0+ delivers 0.9 DMIPS/MHz for low-latency polling. For HID keyboard, mouse, or game controller designs, place a 32.768kHz crystal on pins PA00/PA01 for USB timing accuracy and add 1uF + 100nF bulk decoupling on VDD. Drop-in companion: ATSAMD21G18A-MFT.
Recommandé
Industrial Sensor Hub
The ATSAMD21G18A-MF's 12-channel 12-bit 350ksps ADC with hardware oversampling captures multiple analog sensors (temperature, pressure, current) simultaneously, while six SERCOM channels connect to digital sensors over UART/SPI/I2C. The Event System routes ADC-completed and timer events to DMA without waking the CPU, achieving less than 5 microamps in deep sleep. Industrial -40C to +125C temperature rating plus QFN-48 ground pad cooling suits factory-floor enclosures. Drop-in companion: ATSAMD21G17D-MUT for cost-down designs with smaller memory.
Recommandé
Home Automation Controller
For Zigbee/Z-Wave gateway and Matter bridge designs, the ATSAMD21G18A-MF provides 256KB Flash for protocol stacks (Matter, MQTT, TLS) and 32KB SRAM for packet buffers. Six SERCOMs handle concurrent UART (Zigbee module), SPI (flash memory), I2C (sensors), and I2S (audio feedback). The 1.62-3.63V supply range supports 3.3V system rails directly, and deep-sleep modes below 5uA extend battery life in wireless wall switches. Drop-in companion: ATSAMD21G18A-MU for industrial-temperature variants.
Recommandé
Consumer Wearable Device
The ATSAMD21G18A-MF suits fitness bands and smart watches where coin-cell or Li-ion battery life is critical. Its deep-sleep current under 5uA with full RAM retention, plus Event System sleepwalking, lets the MCU monitor accelerometers and heart-rate sensors without waking the CPU. The 12-bit ADC handles battery voltage monitoring directly, and the AES-256 hardware crypto accelerator secures Bluetooth pairing tokens. The QFN-48 (7x7mm) footprint fits typical wearable PCBs with compact ground-pour thermal design.
Recommandé
Smart Metering Node
For electricity, water, or gas meters, the ATSAMD21G18A-MF combines a 24-bit TCC timer for pulse counting, a 12-bit ADC for analog sensing, and AES-256 hardware crypto for tamper-resistant data signing. Industrial -40C to +125C operation handles outdoor enclosures and meter cupboards, and the 48MHz Cortex-M0+ computes tariff and time-of-use logic in real time. Six SERCOMs connect to NB-IoT or LoRaWAN modules via UART, plus an SPI LCD for local display. QFN-48 (7x7mm) supports compact meter form factors.
Recommandé
BLE Wireless Sensor Beacon
Pair the ATSAMD21G18A-MF with an external BLE module (such as the ATBTLC1000 or nRF52832) for a battery-powered BLE sensor beacon. The SAM D21 handles sensor acquisition via its 12-bit ADC and six SERCOMs, then forwards data over UART to the BLE module. Its 1.62V minimum supply supports direct coin-cell operation, and the Event System plus sleepwalking peripherals deliver multi-month battery life. The QFN-48 footprint is common on Adafruit Feather M0 boards, enabling rapid prototyping.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour ATSAMD21G18A-MF — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | ATSAMD21G18A-MFT | ATSAMD21G18A-MU | ATSAMD21E18A-MF | ATSAMD21G17D-MUT | STM32G031K8T6 |
|---|---|---|---|---|---|---|
| Package | QFN-48 (7x7 mm) | QFN-48 (7x7 mm) - same | QFN-48 (7x7 mm) - same | QFN-32 (5x5 mm) - different | QFN-48 (7x7 mm) - same | LQFP-32 (7x7 mm) - different |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | STMicroelectronics |
| Core | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ |
| Max CPU Clock | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 64 MHz |
| Flash Memory | 256 KB | 256 KB | 256 KB | 256 KB | 128 KB | 64 KB |
| SRAM | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB | 8 KB |
| Supply Voltage | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 1.62 V to 3.63 V | 2.0 V to 3.6 V |
| USB Interface | USB 2.0 Full-Speed OTG | USB 2.0 Full-Speed OTG | USB 2.0 Full-Speed OTG | USB 2.0 Full-Speed OTG | USB 2.0 Full-Speed OTG | No USB |
| Unit Price (qty 1, USD) | 4.32 | 4.32 | 4.50 | 4.10 | 3.60 | 2.10 |
Principaux différenciateurs
- Integrated USB 2.0 Full-Speed OTG with on-chip PHY (vs STM32G031K8T6)
- Six SERCOM channels, independently configurable as UART/SPI/I2C (vs ATSAMD21E18A-MF)
- Industrial -40C to +125C temperature rating with 256KB Flash (vs ATSAMD21G17D-MUT)
Notes de conception
The ATSAMD21G18A-MF integrates a 1.2V LDO on the VDDCORE pin (pin 47); decouple it with a 1uF X7R ceramic capacitor plus a 100nF high-frequency bypass placed within 3mm of the pin. For VDD (pins 9, 45) use a 10uF bulk + 100nF pair. Insufficient decoupling causes ADC noise and USB enumeration failures. For coin-cell designs, add a 1M ohm resistor from VDD to PA28 for wake-from-reset via touch (self-capacitance wake).
Estimated: with the QFN-48 (7x7mm) exposed pad on a 4-layer JEDEC test board, theta_JA is approximately 31 C/W. At 48MHz active with all peripherals on, typical core dissipation is around 50mW (1.2V x ~42mA), giving a junction temperature rise of about 1.5C above ambient - well within safe limits. Solder the EP (pin 49) to a continuous ground plane with at least 8 thermal vias to inner ground layers to meet Microchip's recommended thermal design.
Route USB_DP (PA25, pin 28) and USB_DM (PA24, pin 27) as a 90-ohm differential pair with no stubs, keep total length under 50mm, and place the 32.768kHz crystal within 5mm of pins PA00/PA01 with symmetric ground-shield traces. The crystal load capacitors (typically 12-22pF) should connect directly to GND. Place a ferrite bead on VBUS if the design powers the bus from VDD.
Do not skip the 32.768kHz crystal or the internal OSCULP32K calibration - USB Full-Speed enumeration requires 0.25% clock accuracy per USB 2.0 spec. Also, do not leave unused SERCOM pads floating; configure them as outputs or enable the internal pull. The NRST pin (pin 48) requires a 10k pull-up to VDD and a 100nF decoupling cap if not used externally. For bootloader use, the BOOTPROT fuse must be cleared before locking the security bit.
Informations de conformité
RoHS and REACH compliant per Microchip product page. Lead-free and halogen-free per Microchip material declaration. Not AEC-Q100 qualified - choose SAM C21 (e.g. ATSAMC21G18A-AU) for automotive applications.