SAM D21/DA1 Family Low-Power, 32-bit Cortex-M0+ MCU with Advanced Analog and PWM Features Processor Arm Cortex -M0+ CPU running at up to 48 MHz Single-cycle hardware multiplier Micro Trace Buffer (MTB) Memories 4/2/1/0.5 KB Read-While-Write (RWWEE) Flash section (not available on 256 KB devices) 256/128/64/32/16 KB in-system self-programmable Flash 32/16/8/4 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 Standby 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 PWM Channels using TC and TCC peripherals: Up to eight PWM channels on each 24-bit TCC Up to two PWM channels on each 16-bit TCC Up to two PWM channels on each 16-bit TC 32-bit Real Time Counter (RTC) with clock/calendar function Watchdog Timer (WDT) CRC-32 generator Complete Datasheet DS40001882H-page 1 2021 Microchip Technology Inc. and its subsidiaries SAM D21/DA1 Family 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 2 I C up to 3.4 MHz SPI LIN client 2 One two-channel Inter-IC Sound (I 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) Up to 256-Channel capacitive touch and proximity sensing I/O Up to 52 programmable I/O pins Qualification SAM D21 AEC-Q100 Grade 1 (-40C to 125C) SAM DA1 AEC-Q100 Grade 2 (-40C to 105C) 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 SAM D21: 1.62V 3.63V SAM DA1: 2.7V - 3.63V DS40001882H-page 2 Complete Datasheet 2021 Microchip Technology Inc. and its subsidiaries