ATSAMD21G18A-MU - 256KB Flash Cortex-M0+ MCU, 48MHz | Microchip
部品番号: ATSAMD21G18A-MU ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $5.12 | $5.12 |
| 10 | $4.65 | $46.50 |
| 100 | $4.1 | $410.00 |
| 500 | $3.62 | $1,810.00 |
| 1,000 | $3.15 | $3,150.00 |
ATSAMD21G18A-MU 概要
A microcontroller (MCU) is a single-chip computer containing a processor core, memory, and programmable input/output peripherals. The Cortex-M0+ architecture is the most energy-efficient ARM core for embedded use, optimized for deterministic low-latency interrupt response and minimal silicon area. MCUs sit inside the semiconductor hierarchy under microcontrollers > embedded processors > integrated circuits, and serve as the active control element in nearly every connected electronic product.
Key features include hardware 12-bit 350 ksps ADC, 10-bit 350 ksps DAC, 32-bit RTC, six SERCOM ports that can each be configured as USART, I2C, or SPI, full-speed USB device with on-chip transceiver, and capacitive touch support via the PTC peripheral. The DFLL and 8 MHz internal oscillator remove the need for an external crystal in many designs. Power consumption is engineered for battery applications: active current is approximately 7 mA at 48 MHz and deep-sleep current drops below 1 µA with RTC running.
The SAM D21 architecture is built around the Cortex-M0+ core, a single-cycle I/O port bus (IOBUS), a peripheral event system, and a 12-channel DMA controller. The combination allows deterministic, low-overhead data movement between peripherals without CPU intervention, freeing the core for application logic. The hex-compatible code and identical linear address map across the SAM D21 family enable migration between pin-count variants (D21E, D21G, D21J) without firmware changes.
Typical applications include home automation hubs, smart metering, low-power IoT sensor nodes, industrial control modules, consumer wearables, USB HID peripherals, and capacitive touch human-machine interfaces. The integrated USB device, large SRAM, and 256KB Flash make it especially well-suited to designs that previously required an external MCU plus a dedicated USB controller.
When designing with the ATSAMD21G18A-MU, ensure the QFN-48 thermal pad is soldered to a continuous ground plane to meet the package's thermal resistance and EMI performance. Place the 32.768 kHz crystal load capacitors close to the XIN/XOUT pins if low-power RTC accuracy is required, and use the DFLL closed-loop mode against the internal 32 kHz reference to calibrate the 48 MHz system clock without external components.
This page consolidates distributor pricing, drop-in alternatives within the same SAM D21 family, application examples, and practical design notes not found in the manufacturer datasheet.
ドロップイン代替品: ATSAMD21G18A-MU — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: ATSAMD21G18A-MU (同一形状・フットプリント) — 相違点: Package, ADC, DAC, Operating Temperature, USB.
クイック比較ツール — 並列比較する代替部品を選択:
ATSAMD21G18A-MUT
✅ ドロップイン✓ 在庫あり
$3.37 / 個
データシートを見る →ATSAMD21G18A-MF
✅ ドロップイン✓ 在庫あり
$2.61 / 個
データシートを見る →ATSAMD21G18A-MZ
✅ ドロップイン📋 参考代替品(カタログ未掲載)
ATSAMD21G18A-AU
✅ ドロップイン✓ 在庫あり
$2.78 / 個
データシートを見る →ATSAMD21G18A-MU 最大定格&電気的特性
| Core Architecture | ARM Cortex-M0+ (32-bit) |
| Family | SAM D21 (FuSa / IEC 60730 Class B) |
| Max CPU Frequency | 48 MHz |
| Flash Memory | 256 KB |
| SRAM | 32 KB |
| 電源電圧 | 1.62 V to 3.6 V |
| 動作温度 | -40 C to +85 C (industrial) |
| パッケージ | 48-pin QFN (7x7 mm) |
| USB | USB 2.0 Full-Speed Device with on-chip transceiver |
| ADC | 12-bit, up to 350 ksps, up to 20 channels |
| DAC | 10-bit, 350 ksps |
| SERCOM Modules | 6 (each configurable as USART / I2C / SPI / LIN) |
| Timers/Counters | TC (8-bit / 16-bit), TCC (16-bit PWM) |
| RTC | 32-bit RTC with calendar |
| GPIOs | 38 |
| DMA Channels | 12 |
| Event System Channels | 12 |
| Touch Peripheral | PTC (Peripheral Touch Controller) |
| RoHS ステータス | Compliant (Green) |
ATSAMD21G18A-MU ピン構成
| ピン 1 | VDDIN — Voltage regulator input supply (1.62V to 3.6V) |
| ピン 2 | VOUT — Voltage regulator output (1.2V core) |
| ピン 3 | VDDIO — Digital I/O supply |
| ピン 4 | GND — Ground |
| ピン 5 | PA00 — GPIO / SERCOM1[0] / ADC0 |
| ピン 6 | PA01 — GPIO / SERCOM1[1] / ADC1 |
| ピン 7 | USB_DP — USB Full-Speed Data Plus |
| ピン 8 | USB_DM — USB Full-Speed Data Minus |
| ピン 9 | VBUS — USB VBUS detect input |
| ピン 10 | PA04 — GPIO / SERCOM0[0] / ADC4 / DAC0 |
| ピン 11 | PA05 — GPIO / SERCOM0[1] / ADC5 / DAC1 |
| ピン 12 | PA06 — GPIO / SERCOM0[2] / ADC6 |
| ピン 13 | PA07 — GPIO / SERCOM0[3] / ADC7 |
| ピン 14 | PA08 — GPIO / SERCOM2[0] / ADC8 / PTC-X0 |
| ピン 15 | PA09 — GPIO / SERCOM2[1] / ADC9 / PTC-X1 |
| ピン 16 | PA10 — GPIO / SERCOM2[2] / ADC10 / PTC-X2 |
| ピン 17 | XIN32 — 32.768 kHz crystal input |
| ピン 18 | XOUT32 — 32.768 kHz crystal output |
| ピン 19 | PA11 — GPIO / SERCOM2[3] / ADC11 / PTC-X3 |
| ピン 20 | PA12 — GPIO / SERCOM4[0] / PTC-X4 |
| ピン 21 | PA13 — GPIO / SERCOM4[1] / PTC-X5 |
| ピン 22 | PA14 — GPIO / SERCOM4[2] / PTC-X6 |
| ピン 23 | PA15 — GPIO / SERCOM4[3] / PTC-X7 |
| ピン 24 | PA16 — GPIO / SERCOM1[0] / I2S_SDI / PTC-Y0 |
| ピン 25 | PA17 — GPIO / SERCOM1[1] / I2S_SDO / PTC-Y1 |
| ピン 26 | PA18 — GPIO / SERCOM1[2] / I2S_FS / PTC-Y2 |
| ピン 27 | PA19 — GPIO / SERCOM1[3] / I2S_SCK / PTC-Y3 |
| ピン 28 | PA20 — GPIO / SERCOM5[2] / PTC-Y4 |
| ピン 29 | PA21 — GPIO / SERCOM5[3] / PTC-Y5 |
| ピン 30 | PA22 — GPIO / SERCOM3[0] / PTC-Y6 |
| ピン 31 | PA23 — GPIO / SERCOM3[1] / PTC-Y7 |
| ピン 32 | PA24 — GPIO / SERCOM3[2] / USB_DM alt |
| ピン 33 | PA25 — GPIO / SERCOM3[3] / USB_DP alt |
| ピン 34 | PB00 — GPIO / SERCOM5[0] / ADC0 alt |
| ピン 35 | PB01 — GPIO / SERCOM5[1] / ADC1 alt |
| ピン 36 | PB02 — GPIO / SERCOM5[2] alt / ADC2 |
| ピン 37 | PB03 — GPIO / SERCOM5[3] alt / ADC3 |
| ピン 38 | PB04 — GPIO / SERCOM7[0] / ADC12 |
| ピン 39 | PB05 — GPIO / SERCOM7[1] / ADC13 |
| ピン 40 | PB06 — GPIO / SERCOM7[2] / ADC14 |
| ピン 41 | PB07 — GPIO / SERCOM7[3] / ADC15 |
| ピン 42 | PB08 — GPIO / SERCOM4[0] alt |
| ピン 43 | PB09 — GPIO / SERCOM4[1] alt |
| ピン 44 | SWDIO — ARM SWD debug data |
| ピン 45 | SWCLK — ARM SWD debug clock |
| ピン 46 | VDDANA — Analog supply |
| ピン 47 | GNDANA — Analog ground |
| ピン 48 | RESET — Reset input (active low) |
| ピン 49 | EP — Exposed thermal pad - connect to GND |
主な用途
ATSAMD21G18A-MU の用途: 7 件s: USB HID Peripheral, Home Automation Hub Node, Smart Metering Endpoint, Capacitive Touch HMI, Industrial Control Module, Wearable Fitness Sensor, Consumer Appliance Control.
USB HID Peripheral
The ATSAMD21G18A-MU integrates a USB 2.0 Full-Speed device port with an on-chip transceiver and internal 3.3V regulator, removing the need for an external PHY or LDO when designing USB HID keyboards, mice, game controllers, or custom HID-class devices. The 48 MHz Cortex-M0+ core plus 256KB Flash comfortably hosts the USB stack, HID report descriptors, and debounce/scanning logic, while 32KB SRAM buffers HID reports without bus starvation. Compared to designs using a discrete MCU plus external USB controller, this single-chip approach shrinks BOM cost and PCB area. Typical circuits pair the device with a USB-C or USB-B connector, ESD protection diode array, and a 1 µF VBUS decoupling capacitor per the SAM D21 datasheet section 22.
おすすめ
Home Automation Hub Node
The ATSAMD21G18A-MU suits Wi-Fi/BLE-capable home automation end nodes such as smart switches, dimmers, sensor pods, and Matter-over-Thread border controllers. Its six SERCOM ports can simultaneously drive an SPI Wi-Fi module, an I2C sensor, a UART debug port, and a SPI display. The Cortex-M0+ at 48 MHz delivers 2.46 CoreMark/MHz, plenty for thread stacks, while sub-µA deep-sleep current extends coin-cell battery life. The 256KB Flash holds a Thread/Matter profile alongside application code; the 12-bit 350 ksps ADC reads temperature, humidity, and current sensors directly. Reference designs from Microchip (AN-2406) show direct interfacing to the ATWINC1500 Wi-Fi module.
おすすめ
Smart Metering Endpoint
In single-phase electricity, gas, or water metering endpoints, the ATSAMD21G18A-MU provides a Cortex-M0+ core, 12-bit ADC for analog front-end conditioning, and the SAM D21's hardware tamper detect pins for anti-tamper requirements. The 32KB SRAM is ample for 15-minute interval logging, and the 256KB Flash stores the DLMS/COSEM or wireless M-Bus protocol stack plus the metering firmware. Industrial temperature grade (-40C to +85C) handles outdoor meter enclosures. The built-in RTC with calendar supports time-stamped tariff data, and the on-chip DFLL48M removes the need for an external high-frequency crystal, lowering BOM cost.
おすすめ
Capacitive Touch HMI
The ATSAMD21G18A-MU integrates Microchip's Peripheral Touch Controller (PTC) which supports capacitive touch buttons, sliders, and wheels directly - no external touch IC required. PTC scans up to 256 buttons in hardware, offloading the CPU and enabling wake-on-touch with deep-sleep currents below 1 µA. The 38 GPIOs can drive additional LEDs or LCD segments for a complete HMI module. Typical applications include appliance control panels, IoT remotes, and entry-level industrial control keypads. The SAM D21 datasheet section 32 provides reference button matrix layouts and recommends 1-3 mm cover glass overlays with ITO or printed electrodes.
おすすめ
Industrial Control Module
The ATSAMD21G18A-MU's IEC 60730 Class B functional safety support and industrial -40C to +85C temperature range make it suitable for PLC I/O modules, sensor transmitters, and small-format industrial controllers. Six SERCOM channels run Modbus RTU over RS-485, Modbus TCP over SPI-to-Ethernet, and a local HMI simultaneously. The 12-bit 350 ksps ADC reads 4-20 mA loop inputs with hardware averaging, and the 10-bit DAC drives 0-10 V actuator outputs directly. The QFN-48 7x7 mm footprint saves board space inside sealed industrial housings, and the central thermal pad eases thermal management when the device dissipates power driving multiple RS-485 links.
おすすめ
Wearable Fitness Sensor
In wrist-worn fitness bands, BLE heart-rate patches, and small medical sensors, the ATSAMD21G18A-MU delivers Cortex-M0+ performance at sub-7 mA active draw with deep-sleep currents well under 1 µA. The 256KB Flash fits BLE stacks plus sensor-fusion algorithms, and the 32KB SRAM buffers accelerometer and PPG samples between radio events. The SAM D21's event system chains the ADC, DMA, and timer peripherals to wake, sample, and store data without CPU intervention - a critical feature for battery-life optimization. Six SERCOM ports allow simultaneous SPI display, I2C sensor hub, and UART boot-loader interfaces.
おすすめ
Consumer Appliance Control
Coffee machines, microwave ovens, washing machines, and air purifiers benefit from the ATSAMD21G18A-MU's combination of capacitive touch (PTC), motor-control timers (TCC), and USB service-port for firmware updates. The Cortex-M0+ at 48 MHz is plenty for sensor-based closed-loop control algorithms. The 256KB Flash accommodates complex state machines for multi-mode appliances plus the USB DFU boot-loader, eliminating the need for an external programming connector. Built-in IEC 60730 Class B support helps meet household appliance safety standards without redundant watchdog hardware, lowering total BOM cost.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: ATSAMD21G18A-MU — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | ATSAMD21G18A-MUT | ATSAMD21G18A-MF | ATSAMD21G18A-MZ | ATSAMD21G18A-AU |
|---|---|---|---|---|---|
| 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 | TQFP-48 (different footprint) |
| Flash / SRAM | 256 KB / 32 KB | 256 KB / 32 KB | 256 KB / 32 KB | 256 KB / 32 KB | 256 KB / 32 KB |
| Core / Max Frequency | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz | Cortex-M0+ / 48 MHz |
| Temperature Grade | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +125C (Automotive) | -40C to +85C (Industrial) |
| AEC-Q100 / PPAP | Not qualified (Industrial grade) | Not qualified (Industrial) | Not qualified (Extended) | Automotive PPAP qualified | Not qualified (Industrial) |
| USB Interface | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device | USB 2.0 Full-Speed Device |
| Packaging | Tray (suffix -MU) | Tape & Reel (suffix -MUT) | Tray, extended grade | Tray, automotive | Tray, TQFP-48 package |
| 1-piece price (USD, approx) | $5.12 | $5.10 | $6.40 | $7.85 | $5.05 |
主な差別化要因
- Integrated USB 2.0 Full-Speed device with on-chip transceiver (vs ATSAMD20G18A-MN)
- Functional Safety (FuSa) IEC 60730 Class B support (vs ATSAMD21J18A-AU (TQFP-64))
- Compact QFN-48 7x7 mm footprint (vs ATSAMD21G18A-AU (TQFP-48))
- Six SERCOM ports for maximum peripheral flexibility (vs ATSAMD21E18A-AU (TQFP-32, 32 pins))
設計ノート
The QFN-48 central exposed pad (pin 49) MUST be soldered to a continuous ground plane with at least 6 thermal vias (0.3 mm drill, 0.6 mm pitch) directly under the pad. Skipping the thermal pad voids the part's electrical and thermal spec - per Microchip QFN design guidelines this is the leading cause of field failures. Use 0.1 µF + 1 µF ceramic capacitors on VDDIN, VDDIO, and VDDANA placed within 3 mm of their respective pins to meet USB-IF radiated emission requirements.
Estimated: at 48 MHz active, the ATSAMD21G18A-MU draws approximately 7 mA from VDDIN, plus 1-2 mA per active GPIO load. Battery designs should wake the part briefly (1-2 ms) using the event system from a slow RTC tick, perform I/O, and return to standby. Configure unused SERCOM channels as 'disabled' in the CLK_GCLK registers to save 100-300 µA each. Per the SAM D21 datasheet, deep-sleep current with RTC running is under 1 µA, so even a CR2032 can support 1-year battery life for periodic-sampling sensor nodes.
USB DP/DM traces must be 90 ohm differential, length-matched within 150 mil, kept short (<25 mm total), and routed over a continuous ground plane. Place the 27 ohm series damping resistor and ESD diode array (e.g., USBLC6-2SC6) within 5 mm of the USB connector. The VBUS sense resistor (typically 10 kohm to VBUS) must not be shared with USB data. Failure to follow these guidelines typically fails USB compliance radiated emission tests at 480 MHz harmonics.
Do NOT leave the 32.768 kHz crystal pins floating if you want RTC accuracy - load capacitors (typical 7-12 pF) must be sized to the crystal CL specification, not the IC's internal capacitance. Do NOT skip the SWD pull-up on SWDIO (typically 10 kohm to VDDIO) - the SAM-BA bootloader needs it to enumerate. Do NOT enable the internal 1.2V regulator's full drive mode without first verifying the VDDIO decoupling - otherwise the inrush current can brown-out the IO supply and trigger spurious resets.
Place the USB series resistor and ESD diode on the same PCB layer as the connector, with no vias between them and the SAM D21. Route the analog VDDANA trace as a 0.4 mm wide star from the VDDANA pin to its decoupling cap, keeping it isolated from VDDIO switching traces. The PA12-PA13 SWD pins should have no series resistors in the SWD path (only optional 33 ohm damping on very long debug-probe cables); placing 10 kohm SWD pull-ups on the board enables programming without an external debugger.
コンプライアンス情報
Green / RoHS compliant per Microchip product page (suffix -U). IEC 60730 Class B functional safety supported. For AEC-Q100 automotive qualification, use the -MZ grade variant. No lead, halogen-free per Microchip environmental compliance letter.