ATSAML21
MicrocontrollerThe ATSAML21 is a microcontroller from Microchip Technology. View the full ATSAML21 datasheet below including key specifications, electrical characteristics, absolute maximum ratings.
ATSAML21 shares its datasheet with ATSAML21J18B-AUT, whose page lists every part number it covers.
Official ATSAML21 datasheet (PDF) — the source this page was extracted from.
Manufacturer
Microchip TechnologyCategory
Microcontrollers (MCU)ATSAML21 Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, LINbus, SCI, SPI, UART/USART, USB |
| Core Processor | ARM® Cortex®-M0+ |
| Core Size | 32-Bit |
| Data Converters | A/D 20x12b; D/A 2x12b |
| DigiKey Programmable | Not Verified |
| Mounting Type | Surface Mount |
| Number of I/O | 51 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | Internal |
| Package / Case | 64-TQFP |
| Packaging | MouseReel |
| Peripherals | DMA, 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 | 1500 |
| Supplier Device Package | 64-TQFP (10x10) |
| Supply Voltage | 1.62V ~ 3.63V |
ATSAML21 Overview
Part: ATSAML21J18B-AUT — Microchip (Atmel) SAM L21J
Type: ARM Cortex-M0+ Ultra Low-Power MCU
Description: 32-bit Arm Cortex-M0+ MCU at up to 48 MHz with up to 256 KB Flash and 40 KB SRAM, 1.62–3.63 V operation, in 64-pin packages.
Operating Conditions:
- Supply voltage: 1.62–3.63 V
- Operating temperature: -40 to 85 °C (suffix-dependent; -40 to 105 °C also listed for other grades)
- Max CPU clock: 48 MHz
Absolute Maximum Ratings:
- Max supply voltage (VDD): 3.8 V
- Max current into a VDD pin: 92 mA (max source 46 mA / sink 65 mA per GPIO cluster)
- Max current out of a GND pin: 130 mA
- Pin voltage: GND-0.6 V to VDD+0.6 V
- Storage temperature: -60 to 150 °C
Key Specs:
- CPU: Arm Cortex-M0+ up to 48 MHz (2.46 CoreMark/MHz)
- Memory: 32/64/128/256 KB Flash; 4/8/16/32 KB SRAM main plus 2/4/8/8 KB low-power SRAM
- ADC: 12-bit, 1 MSPS, up to 20 channels
- DAC: two 12-bit, 1 MSPS dual-output
- USB: full-speed 12 Mbps USB 2.0 host/device
- SERCOM: up to six, each configurable as USART, I2C (up to 3.4 MHz), SPI or LIN slave
- I/O: up to 51 programmable pins
- Touch: PTC with 169-channel capacitive touch and proximity sensing
Features:
- Idle, Stand-by, Backup and Off sleep modes with SleepWalking peripherals
- Static and dynamic power gating, battery backup support
- Embedded Buck/LDO regulator with on-the-fly selection
- Two performance levels
- 16-channel DMAC and 12-channel Event System
- Up to five 16-bit TCs and three TCCs (two 24-bit, one 16-bit)
- AES engine, TRNG, CRC-32, Configurable Custom Logic
- Three op-amps, two analog comparators
- Oscillators: XOSC, XOSC32K, OSC16M, DFLL48M, FDPLL96M
- Serial Wire Debug and Micro Trace Buffer
- 32-bit RTC with clock/calendar and watchdog timer
Applications:
- Ultra low-power battery-powered devices
- Capacitive touch and proximity sensing interfaces
Package:
- 64-pin TQFP, QFN, WLCSP (SAM L21J)
- Other family members: 48-pin TQFP/QFN, 32-pin TQFP/QFN
ATSAML21 Features
- Processor
- -Arm Cortex-M0+ CPU running at up to 48 MHz
- Single-cycle hardware multiplier
- Micro Trace Buffer
- Memories
- -32/64/128/256-KB in-system self-programmable Flash
- -1/2/4/8-KB Flash Read-While-Write section
- -4/8/16/32-KB SRAM main memory
- -2/4/8/8-KB SRAM low-power memory
- System
- -Power-on Reset (POR) and Brown-out Detection (BOD)
- -Internal and external clock options
- -External Interrupt Controller (EIC)
- -16 external interrupts
- -One non-maskable interrupt
- -Two-pin Serial Wire Debug (SWD) programming, testing, and debugging interface
- Low Power
- -Idle, Stand-by, Backup, and Off Sleep modes
- -SleepWalking peripherals
- -Static and Dynamic Power Gating Architecture
- -Battery backup support
- -Two performance levels
- -Embedded Buck/LDO regulator supporting on-the-fly selection
- Peripherals
- -16-channel Direct Memory Access Controller (DMAC)
- -12-channel Event System
- -Up to five 16-bit Timer/Counters (TC) including one low-power TC, each configurable as:
- 16-bit TC with two compare/capture channels
- 8-bit TC with two compare/capture channels
- 32-bit TC with two compare/capture channels, by using two TCs
ATSAML21 Pin Configuration
The Pin Configuration register (PINCFGy) is used for additional I/O pin configuration. A pin can be set in a totempole, 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 29-2.
ATSAML21 Electrical Characteristics
| Symbol | Parameters | Conditions | Min. | Typ. | Max. | Unit |
|---|---|---|---|---|---|---|
| Gain accuracy | 16X Gain | - | - | -1.43 | % | |
| 4X Gain | - | - | +-0.4 | |||
| 1X Gain | - | - | +/-0.25 | |||
| THD | Total Harmonic Distortion @10kHz - mode 3 | 16X Gain | - | -77 | - | dB |
| 4X Gain | - | -72.8 | - | |||
| 1X Gain | - | -82.6 | - | |||
| Integrated Noise, BW=[0.1Hz-10 kHz], 16X gain - VOUT=1V | Mode 3 | - | 147 | - | μVrms | |
| Mode 2 | - | 147 | - | |||
| Mode 1 | - | 162 | - | |||
| Mode 0 | - | 191 | - |
| ...........continued - Symbol | ...........continued - Parameters | ...........continued - Conditions | ...........continued - Min. | ...........continued - Typ. | ...........continued - Max. | ...........continued - Unit |
|---|---|---|---|---|---|---|
| Integrated Noise, BW=[0.1Hz-1MHz], 16X gain - VOUT=1V | Mode 3 | - | 262 | - | μVrms | |
| Mode 2 | - | 247 | - | |||
| Mode 1 | - | 235 | - | |||
| Mode 0 | - | 235 | - |
Note: 1.These values are based on simulation. They are not covered by production test limits or characterization.
ATSAML21 Absolute Maximum Ratings
Stresses beyond those listed in Table 46-1 may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Table 46-1. Absolute Maximum Ratings
| Symbol | Description | Min. | Max. | Units |
|---|---|---|---|---|
| V DD | Power supply voltage | 0 | 3.8 | V |
| I VDD | Current into a V DD pin | - | 92 (1) | mA |
| I GND | Current out of a GND pin | - | 130 (1) | mA |
| V PIN | Pin voltage with respect to GND and V DD | GND-0.6V | VDD+0.6V | V |
| T storage | Storage temperature | -60 | 150 | °C |
- Maximum source current is 46mA and maximum sink current is 65mA per cluster. A cluster is a group of GPIOs.
Also note that each VDD/GND pair is connected to two clusters, so current consumption through the pair will be a sum of the clusters' source/sink currents.
This device is sensitive to electrostatic discharges (ESD). Improper handling may lead to permanent performance degradation or malfunctioning. Handle the device following best practice ESD protection rules:
Be aware that the human body can accumulate charges large enough to impair functionality or destroy the device.
ATSAML21 Thermal Information
The following table summarizes the thermal resistance data depending on the package.
Table 50-1. Thermal Resistance Data
| Package Type | θ JA | θ JC |
|---|---|---|
| Dummy value | dummy value | dummy value |
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 |
|---|---|---|
| ATSAML21E | Microchip Technology | — |
| ATSAML21G | Microchip Technology | — |
| ATSAML21J | Microchip Technology | — |
| ATSAML21J18B-ANT | Microchip Technology | — |
| ATSAML21J18B-AUT | Microchip Technology | 64-TQFP |
| ATSAML21J18B-AUT-SLL | Microchip Technology | TQFP-64 |
| ATSAML21J18B-MNT | Microchip Technology | QFN-64 |
| ATSAML21J18B-MUT | Microchip Technology | QFN-64 |
| ATSAML21J18B-MUT-SLL | Microchip Technology | QFN-64 |
| ATSAML21J18B-UUT | Microchip Technology | WLCSP-64 |
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- RP2040 – Raspberry Pi, Microcontroller
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- NRF52840-QIAA-R7 – Nordic Semiconductor, Wireless Microcontroller
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
All Microcontrollers (MCU) datasheetsAll Microchip Technology datasheets (599)
Ask your AI agent about the ATSAML21
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 ATSAML21 run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.