Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

ATSAMD21G18A

32-bit ARM Cortex-M0+ MCU

The ATSAMD21G18A is a 32-bit arm cortex-m0+ mcu from Microchip Technology. View the full ATSAMD21G18A datasheet below including key specifications.

Official ATSAMD21G18A datasheet (PDF) — the source this page was extracted from.

ATSAMD21G18A Key Specifications

ParameterValue
ConnectivityI2C, LINbus, SPI, UART/USART, USB
Core ProcessorARM® Cortex®-M0+
Core Size32-Bit
Data ConvertersA/D 14x12b; D/A 1x10b
DigiKey ProgrammableVerified
Mounting TypeSurface Mount
Number of I/O38
Operating Temperature-40°C ~ 85°C (TA)
Oscillator TypeInternal
Package / Case48-TQFP
PackagingTray
PeripheralsBrown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
Flash Memory Size256KB (256K x 8)
Program Memory TypeFLASH
RAM Size32K x 8 B
Clock Speed48MHz
Standard Pack Qty250
Supplier Device Package48-TQFP (7x7)
Supply Voltage1.62V ~ 3.6V

ATSAMD21G18A Overview

Part: ATSAMD21G18A-AU — Microchip (Atmel)

Type: 32-bit ARM Cortex-M0+ MCU

Description: Low-power 32-bit ARM Cortex-M0+ MCU running at up to 48 MHz with up to 256 KB Flash and 32 KB SRAM, full-speed USB, 12-bit 350 ksps ADC, and 1.62–3.63 V operation.

Operating Conditions:

  • Supply voltage: 1.62–3.63 V
  • Operating temperature: -40 to 125 °C (AEC-Q100 Grade 1)
  • CPU clock: up to 48 MHz

Key Specs:

  • CPU: ARM Cortex-M0+ at up to 48 MHz with single-cycle hardware multiplier
  • Memory: 32/64/128/256 KB Flash, 4/8/16/32 KB SRAM
  • ADC: 12-bit, 350 ksps, up to 20 channels, 1/2x to 16x programmable gain
  • DAC: 10-bit, 350 ksps
  • USB: full-speed (12 Mbps) USB 2.0 with embedded host and device, eight endpoints
  • SERCOM: up to six, configurable as USART, I²C (up to 3.4 MHz), SPI, or LIN slave
  • I/O: up to 52 programmable pins
  • Timers: up to five 16-bit TC and up to four 24-bit TCC

Features:

  • Micro Trace Buffer (MTB)
  • 12-channel DMAC and 12-channel Event System
  • 48 MHz DFLL48M and 48–96 MHz FDPLL96M
  • Idle and Stand-by sleep modes with SleepWalking peripherals
  • Power-on Reset and Brown-out Detection
  • 16 external interrupts plus NMI
  • 32-bit RTC with clock/calendar, Watchdog Timer, CRC-32 generator
  • Two-channel I²S interface
  • Up to four analog comparators with window compare
  • Peripheral Touch Controller with 256-channel capacitive touch
  • Two-pin SWD debug interface
  • Drop-in compatible with SAM D20
  • AEC-Q100 Grade 1 qualified

Applications:

  • Automotive-grade embedded control (AEC-Q100 qualified)
  • Capacitive touch and proximity sensing interfaces
  • Motor control and PWM applications

Package:

  • 64-pin TQFP, QFN, UFBGA (family)
  • 48-pin TQFP, QFN (family)
  • 45-pin and 35-pin WLCSP (family)
  • 32-pin TQFP, QFN (family)

ATSAMD21G18A Features

  • Processor

  • -ARM ® Cortex ® -M0+ CPU running at up to 48 MHz

  • Single-cycle hardware multiplier

  • Micro Trace Buffer (MTB)

  • Memories

  • -32/64/128/256 KB in-system self-programmable Flash

  • -4/8/16/32 KB SRAM Memory

  • System

  • -Power-on Reset (POR) and Brown-out Detection (BOD)

  • -Internal and external clock options with 48 MHz Digital Frequency-Locked Loop (DFLL48M) and 48 MHz to 96 MHz Fractional Digital Phase-Locked Loop (FDPLL96M)

  • -External Interrupt Controller (EIC)

  • -16 external interrupts

  • -One Non-maskable Interrupt (NMI)

  • -Two-pin Serial Wire Debug (SWD) programming, test and debugging interface

  • Low Power

  • -Idle and Stand-by Sleep modes

  • -SleepWalking peripherals

  • Peripherals

  • -12-channel Direct Memory Access Controller (DMAC)

  • -12-channel Event System

  • -Up to five 16-bit Timer/Counters (TC), configurable as either:

  • One 16-bit TC with two compare/capture channels

  • One 8-bit TC with two compare/capture channels

  • One 32-bit TC with two compare/capture channels, by using two TCs

  • -Up to four 24-bit Timer/Counters for Control (TCC), with extended functions:

  • Up to four compare channels with optional complementary output

  • Generation of synchronized pulse width modulation (PWM) pattern across port pins

  • Deterministic fault protection, fast decay and configurable dead-time between complementary output

  • Dithering that increase resolution with up to 5 bit and reduce quantization error

  • -32-bit Real Time Counter (RTC) with clock/calendar function

  • -Watchdog Timer (WDT)

  • -CRC-32 generator

  • -One full-speed (12 Mbps) Universal Serial Bus (USB) 2.0 interface

  • Embedded host and device function

  • Eight endpoints

  • -Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as either:

  • USART with full-duplex and single-wire half-duplex configuration

  • I 2 C up to 3.4 MHz

  • SPI

  • LIN slave

  • -One two-channel Inter-IC Sound (I 2 S) interface

  • -One 12-bit, 350ksps Analog-to-Digital Converter (ADC) with up to 20 channels

  • Differential and single-ended input

  • 1/2x to 16x programmable gain stage

  • Automatic offset and gain error compensation

  • Oversampling and decimation in hardware to support 13-, 14-, 15- or 16-bit resolution

  • -10-bit, 350 ksps Digital-to-Analog Converter (DAC)

  • -Up to four Analog Comparators (AC) with Window Compare function

  • -Peripheral Touch Controller (PTC)

  • 256-Channel capacitive touch and proximity sensing

  • I/O

  • -Up to 52 programmable I/O pins

  • Qualification

  • -AEC-Q100 Grade 1 (-40°C to 125°C)

  • Drop-in compatible with SAM D20

  • Packages

  • -64-pin TQFP, QFN, UFBGA

  • -48-pin TQFP, QFN

  • -45-pin WLCSP

  • -35-pin WLCSP

  • -32-pin TQFP, QFN

  • Operating Voltage

  • -1.62V - 3.63V

ATSAMD21G18A Pin Configuration

The Pin Configuration register (PINCFGy) is used for additional I/O pin configuration. A pin can be set in a totem-pole or pull configuration.

As pull configuration is done through the Pin Configuration register, all intermediate PORT states during switching of pin direction and pin values are avoided.

The I/O pin configurations are described further in this chapter, and summarized in Table 23-2.

Variants on the same datasheet

These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.

Part NumberManufacturerPackage
ATSAMD21G18A-AUMicrochip Technology48-TQFP

Other Integrated Circuits

All Integrated Circuits datasheetsAll Microchip Technology datasheets (599)

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Ask your AI agent about the ATSAMD21G18A

Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.

claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp

Then ask: "Can the ATSAMD21G18A run from my 12 V rail? Check it against the datasheet limits."

Create a free account $2 of usage every month, no card needed.