SMART ARM-Based Microcontrollers SAM D20E / SAM D20G / SAM D20J DATASHEET COMPLETE Introduction Atmel SMART SAM D20 is a series of low-power microcontrollers using the 32-bit ARM Cortex -M0+ processor, and ranging from 32- to 64-pins with up to 256KB Flash and 32KB of SRAM. The SAM D20 devices operate at a maximum frequency of 48MHz and reach 2.46 CoreMark /MHz. They are designed for simple and intuitive migration with identical peripheral modules, hex compatible code, identical linear address map and pin compatible migration paths between all devices in the product series. All devices include intelligent and flexible peripherals, Atmel Event System for inter-peripheral signaling, and support for capacitive touch button, slider and wheel user interfaces. Features Processor ARM Cortex-M0+ CPU running at up to 48MHz Single-cycle hardware multiplier Memories 16/32/64/128/256KB in-system self-programmable Flash 2/4/8/16/32KB SRAM Memory System Power-on reset (POR) and brown-out detection (BOD) Internal and external clock options with 48MHz Digital Frequency Locked Loop (DFLL48M) External Interrupt Controller (EIC) 16 external interrupts One non-maskable interrupt Two-pin Serial Wire Debug (SWD) programming, test and debugging interface Low Power Idle and standby sleep modes SleepWalking peripherals Peripherals 8-channel Event System Atmel-42129P-SAM-D20 Datasheet Complete-09/2016 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 32-bit Real Time Counter (RTC) with clock/calendar function Watchdog Timer (WDT) CRC-32 generator Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as either: USART with full-duplex and single-wire half-duplex configuration 2 Inter-Integrated Circuit (I C) up to 400kHz Serial Peripheral Interface (SPI) 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, 350ksps Digital-to-Analog Converter (DAC) Two 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 Packages 64-pin TQFP, QFN 64-ball UFBGA 48-pin TQFP, QFN 45-ball WLCSP 32-pin TQFP, QFN Operating Voltage 1.62V 3.63V Power Consumption Down to 70A/MHz in active mode Down to 8A running the Peripheral Touch Controller Atmel SAM D20E / SAM D20G / SAM D20J DATASHEET 2 Atmel-42129P-SAM-D20 Datasheet Complete-09/2016