EmbeddedRelated.com
ATSAMD21G18A

MCHPATSAMD21G18A

Microchip Technology
ARM Cortex-M0+ MCU with strong Arduino and low-power application support, useful for single-core embedded designs.
Active2,131 in stock

Overview

The ATSAMD21G18A is a 32-bit ARM Cortex-M0+ microcontroller from Microchip with 256 KB of flash and 32 KB of SRAM. It runs up to 48 MHz, supports a wide peripheral set including USB, SPI, I2C, UART, DMA and PWM, and exposes about 38 GPIOs. The device operates from 1.62 V to 3.6 V, making it suitable for battery-powered and 3.3 V systems.

Why Choose This Part

Well-balanced memory (256 KB flash, 32 KB SRAM), a 48 MHz Cortex-M0+ core and an extensive peripheral set provide ample capability for single-core embedded designs. Strong Arduino ecosystem support plus native USB and low-voltage operation simplify prototyping and product development for USB-enabled and battery-powered applications. The device also includes DMA, watchdog, brown-out and power-on reset peripherals that make reliable embedded designs easier to implement.

Applications

Arduino-compatible development
Core MCU for Arduino Zero, Feather M0 and other SAMD21-based boards where Arduino core compatibility and easy prototyping are desired.
Battery-powered sensors and wearables
Low-voltage operation and sleep modes make it a good fit for battery-operated sensor nodes and small wearable devices.
USB devices and HID endpoints
On-chip USB device support enables USB CDC, HID, MIDI and mass-storage class implementations without an external bridge.
Low-to-moderate control and measurement
Sufficient flash, RAM and peripherals for motor control PWM, data logging, sensor fusion and general embedded control tasks.
Custom human interface devices
Combination of USB, multiple UART/SPI/I2C and many GPIOs suits keyboards, controllers and other custom USB-enabled interfaces.

Key Specifications

Speed 48MHz
RAM Size 32K x 8
Core Size 32-Bit
Peripherals Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
Connectivity I2C, LINbus, SPI, UART/USART, USB
Mounting Type Surface Mount
Number of I/O 38
Core Processor ARM Cortex-M0+
Package / Case 48-VFQFN Exposed Pad
Data Converters A/D 14x12b; D/A 1x10b
Oscillator Type Internal
Program Memory Size 256KB (256K x 8)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 48-QFN (7x7)
Voltage - Supply (Vcc/Vdd) 1.62V ~ 3.6V

Getting Started

Common development boards include Arduino Zero, Adafruit Feather M0 and SparkFun SAMD21-based boards which come preloaded with Arduino-compatible bootloaders. Development toolchains include the Arduino IDE, Microchip/Atmel Studio and GCC-based toolchains (arm-none-eabi) with debugging via SWD using CMSIS-DAP or Atmel-ICE. When designing hardware, follow the reference schematics for USB D+/D- routing and ensure the chosen supply voltage stays within the 1.62 V to 3.6 V range.

Dev Boards

Development boards and breakout modules featuring the ATSAMD21G18A or compatible chips — ready to use for prototyping.

Seeed Studio XIAO SAMD21 Seeed Technology Co., Ltd
ATSAMD21G18 XIAO SAMD21 SAM D ARM® Cortex®-M0 MCU 32-Bit Embedded Evaluation Board
Digi-Key 509 in stock
Seeed Studio XIAO SAMD21 Seeed Technology Co., Ltd
ATSAMD21G18 XIAO SAMD21 SAM D ARM® Cortex®-M0+ MCU 32-Bit Embedded Evaluation Board
Digi-Key 3,141 in stock
Adafruit Feather M0 Express Adafruit Industries LLC
ATSAMD21G18 Feather M0 Express SAM D ARM® Cortex®-M0+ MCU 32-Bit Embedded Evaluation Board
Digi-Key Mouser 364 in stock
The Arduino Nano 33 IoT with Headers (ABX00032) is a compact and versatile development board featuring the ARM® Cortex®-
Digi-Key Mouser 355 in stock
The Arduino Nano 33 IoT (ABX00027) is an advanced evaluation platform designed for IoT applications, featuring the 32 bi
Digi-Key Mouser 657 in stock
Part of SAM Microcontrollers family » SAMD21G

SAMD21G Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Package Temp Range Stock
ATSAMD21G18A (this part) VFQFN-48 -40degC ~ 85degC (.. 2,131
ATSAMD21G18A-AU TQFP-48 -40degC ~ 85degC (.. 3,277
ATSAMD21G18A-AUT TQFP-48 -40degC ~ 85degC (.. 4,963
ATSAMD21G18A-AFT TQFP-48 -40degC ~ 125degC .. 20,008
ATSAMD21G18A-MUT VFQFN-48 -40degC ~ 85degC (.. 3,079
ATSAMD21G18A-MFT VFQFN-48 -40degC ~ 125degC .. 7,004
ATSAMD21G18A-AF TQFP-48 -40degC ~ 125degC .. 1,491
Also available as: ATSAMD21G18A-MZVAO, ATSAMD21G16B-AZVAO, ATSAMD21G17D-AZVAO, ATSAMD21G18A-MF

Also Consider

ATSAMD51J19A MCHPMicrochip Technology - Higher-performance Cortex-M4F alternative in the Microchip SAM family when more CPU performance and DSP/FPU are needed.
STM32F103C8T6 STMicroelectronics - Popular Cortex-M3 option with broad community support and good peripheral mix for similar embedded projects.
LPC1768FBD100 NXP Semiconductors - Cortex-M3 based development favorite with robust peripheral set and mbed/ARM ecosystem support.