ATSAMD21G18A
32-bit ARM Cortex-M0+ MCUThe 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.
Manufacturer
Microchip TechnologyCategory
Integrated CircuitsATSAMD21G18A Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, LINbus, SPI, UART/USART, USB |
| Core Processor | ARM® Cortex®-M0+ |
| Core Size | 32-Bit |
| Data Converters | A/D 14x12b; D/A 1x10b |
| DigiKey Programmable | Verified |
| Mounting Type | Surface Mount |
| Number of I/O | 38 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | Internal |
| Package / Case | 48-TQFP |
| Packaging | Tray |
| Peripherals | Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT |
| Flash Memory Size | 256KB (256K x 8) |
| Program Memory Type | FLASH |
| RAM Size | 32K x 8 B |
| Clock Speed | 48MHz |
| Standard Pack Qty | 250 |
| Supplier Device Package | 48-TQFP (7x7) |
| Supply Voltage | 1.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 Number | Manufacturer | Package |
|---|---|---|
| ATSAMD21G18A-AU | Microchip Technology | 48-TQFP |
Other Integrated Circuits
- STM32F103C8T6 – STMicroelectronics, Microcontroller
- STM32F405RGT6 – STMicroelectronics, ARM Cortex-M4 MCU
- SN74AVC4T245PWR – Texas Instruments, Dual-Supply Bus Transceiver Level Translator
- STM32F446RCT6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32G070RBT6 – STMicroelectronics, Arm Cortex-M0+ 32-bit MCU
- ADS131M08IPBSR – Texas Instruments, Delta-Sigma ADC
- ISO1540DR – Texas Instruments, Bidirectional I²C Isolator
- ISO7740DBQR – Texas Instruments, Digital Isolator
All Integrated Circuits datasheetsAll Microchip Technology datasheets (599)
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.