ATSAMD21G18A-MF - 48MHz Cortex-M0+ MCU, 256KB Flash | Microchip
MPN: ATSAMD21G18A-MF ✓ AktifATSAMD21G18A-MF Ringkasan
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.
Alternatif penggantian untuk ATSAMD21G18A-MF — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian ATSAMD21G18A-MF (sama faktor bentuk dan footprint) — berbeda di dalam Package, Operating Temperature, ADC, USB, Flash Memory.
ATSAMD21G18A-MFT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
ATSAMD21G18A-MUT
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21E18A-MF
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21G17D-MUT
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMC21G18A-AU
✅ Drop-InKontak untuk harga
Lihat Datasheet →STM32G031K8T6
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATSAMD21G18A-MF Rating Maksimal & Karakteristik Listrik
| 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 |
| Rentang Suhu Kerja | -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) |
| Paket | 48-pin QFN (7x7 mm) with exposed pad |
| Tipe Mounting | Surface Mount |
| Level MSL | 3 (168 hours) |
| Status RoHS | Compliant |
Konfigurasi Pin ATSAMD21G18A-MF
| Pin produk 1 | PA00 — XIN32 / SERCOM1.0 / TCC2.0 |
| Pin produk 2 | PA01 — XOUT32 / SERCOM1.1 / TCC2.1 |
| Pin produk 3 | PA02 — AIN0 / SERCOM0.0 / TCC1.2 |
| Pin produk 4 | PA03 — AIN1 / SERCOM0.1 / TCC1.1 |
| Pin produk 5 | PA04 — AIN2 / SERCOM0.2 / TCC1.0 |
| Pin produk 6 | PA05 — AIN3 / SERCOM0.3 / TCC1.3 |
| Pin produk 7 | PA06 — AIN4 / SERCOM0.4 / TCC1.4 |
| Pin produk 8 | PA07 — AIN5 / SERCOM0.5 / TCC1.5 |
| Pin produk 9 | VDD — Digital supply voltage |
| Pin produk 10 | GND — Ground |
| Pin produk 11 | PA08 — AIN6 / SERCOM2.0 / TCC0.0 |
| Pin produk 12 | PA09 — AIN7 / SERCOM2.1 / TCC0.1 |
| Pin produk 13 | PA10 — AIN8 / SERCOM2.2 / TCC0.2 |
| Pin produk 14 | PA11 — AIN9 / SERCOM2.3 / TCC0.3 |
| Pin produk 15 | PA12 — AIN10 / SERCOM4.0 / TCC0.4 |
| Pin produk 16 | PA13 — AIN11 / SERCOM4.1 / TCC0.5 |
| Pin produk 17 | PA14 — SERCOM4.2 / TCC0.6 |
| Pin produk 18 | PA15 — SERCOM4.3 / TCC0.7 |
| Pin produk 19 | PA16 — SERCOM1.0 / TCC2.0 |
| Pin produk 20 | PA17 — SERCOM1.1 / TCC2.1 |
| Pin produk 21 | PA18 — SERCOM1.2 / TCC2.2 |
| Pin produk 22 | PA19 — SERCOM1.3 / TCC2.3 |
| Pin produk 23 | PA20 — SERCOM5.2 / TCC0.0 |
| Pin produk 24 | PA21 — SERCOM5.3 / TCC0.1 |
| Pin produk 25 | PA22 — SERCOM3.0 / TCC0.2 |
| Pin produk 26 | PA23 — SERCOM3.1 / TCC0.3 |
| Pin produk 27 | PA24 — USB_DM / SERCOM5.2 |
| Pin produk 28 | PA25 — USB_DP / SERCOM5.3 |
| Pin produk 29 | PA26 — SERCOM3.2 |
| Pin produk 30 | PA27 — SERCOM3.3 |
| Pin produk 31 | PA28 — SERCOM5.0 / TCC1.0 |
| Pin produk 32 | PA29 — SERCOM5.1 / TCC1.1 |
| Pin produk 33 | PA30 — SERCOM1.2 / TCC1.2 |
| Pin produk 34 | PA31 — SERCOM1.3 / TCC1.3 |
| Pin produk 35 | PB02 — SERCOM5.0 / ADC |
| Pin produk 36 | PB03 — SERCOM5.1 / ADC |
| Pin produk 37 | PB04 — SERCOM3.0 / ADC |
| Pin produk 38 | PB05 — SERCOM3.1 / ADC |
| Pin produk 39 | PB06 — SERCOM3.2 / ADC |
| Pin produk 40 | PB07 — SERCOM3.3 / ADC |
| Pin produk 41 | PB08 — SERCOM4.0 / TCC0.2 |
| Pin produk 42 | PB09 — SERCOM4.1 / TCC0.3 |
| Pin produk 43 | PB10 — SERCOM4.2 / TCC0.4 |
| Pin produk 44 | PB11 — SERCOM4.3 / TCC0.5 |
| Pin produk 45 | VDD — Digital supply voltage |
| Pin produk 46 | GND — Ground |
| Pin produk 47 | VDDCORE — Internal core voltage regulator output (decouple 1uF + 100nF) |
| Pin produk 48 | RESET — Reset input, active low |
| Pin produk 49 | EP — Exposed thermal pad - solder to GND plane |
Aplikasi Umum
ATSAMD21G18A-MF cocok untuk 6 aplikasis: 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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk ATSAMD21G18A-MF — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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 |
Diferensiator Kunci
- Integrated USB 2.0 Full-Speed OTG with on-chip PHY (vsSTM32G031K8T6)
- Six SERCOM channels, independently configurable as UART/SPI/I2C (vsATSAMD21E18A-MF)
- Industrial -40C to +125C temperature rating with 256KB Flash (vsATSAMD21G17D-MUT)
Catatan Desain
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.
Informasi Konformitas
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.