Atmel SAM D20J / SAM D20G / SAM D20E
ARM-Based Embedded Flash Microcontroller
PRELIMINARY DATASHEET
Description
The Atmel
®
SAM D20 family is a series of low-power, high-performance, ARM
®
-based
embedded flash microcontrollers based on the ARM Cortex
®
-M0+ 32-bit processor.
Operating at a maximum speed of 48MHz, and with a two-stage pipeline, single-cycle
I/O access, single-cycle 32x32 multiplier, Event System and a fast and flexible interrupt
controller, the SAM D20 series microcontrollers are highly efficient, reaching
2.14 Coremark/MHz – 0.93 DMIPS/MHz.
All devices in the SAM D20 series contain multiple instances of the Serial
Communication Interface (SERCOM). The SERCOM is a very flexible serial
communication interface, configurable to operate as I
2
C, SPI or USART, giving
developers extended flexibility not only in the mix of serial interfaces available, but also
in PCB layout. Additionally, each SERCOM instance can be assigned to different I/O
pins through I/O multiplexing, further increasing flexibility.
The devices include multiple instances of 16-bit Timer/Counters (TC). Each TC can be
individually programmed to perform frequency and waveform generation, accurate
program execution timing and input capture with time and frequency measurement of
digital signals. The TCs can be configured to operate in 8-bit and 16-bit modes, and
two TCs can be cascaded to form a 32-bit TC.
The SAM D20 series Power Manager (PM) has two software-selectable sleep modes,
idle and standby. The standby mode supports SleepWalking functionality, by which a
peripheral can be selectively activated based on events, even when the peripheral
clock is stopped. In addition the Event System (EVSYS) supports asynchronous
events, allowing peripherals to receive, react to and send events, even in standby
mode.
The devices feature several oscillators, such as a 48MHz Digital Frequency Locked
Loop (DFLL48M), 400kHz – 32MHz External Crystal Oscillator (XOSC), 8MHz Internal
Oscillator (OSC8M), 32kHz Ultra-Low-Power Internal Oscillator (OSCULP32K),
32.768kHz High-Accuracy Internal Oscillator (OSC32K) and 32.768kHz Crystal
Oscillator (XOSC32K). Any of these oscillators can be used as a source for the system
clock. Different clock domains can be independently configured to run at different
speeds, enabling the user to save power by running each peripheral at the optimal
clock frequency, and thus maintain a high CPU speed and throughput while reducing
system power consumption.
42129A–SAM–06/2013
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
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
Up to eight 16-bit Timer/Counters (TC), configurable as either:
One 16-bit TC with compare/capture channels
One 8-bit TC with compare/capture channels
One 32-bit TC with 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
I
2
C
SPI
One 12-bit, 350ksps Analog-to-Digital Converter (ADC) with up to 20 channels
Differential and single-ended channels
1/2x to 16x 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)
I/O
Up to 52 programmable I/O lines
Packages
64-pin TQFP, QFN
48-pin TQFP, QFN
32-pin TQFP, QFN
Operating Voltage
1.62V – 3.63V
Atmel SAM D20 [Preliminary DATASHEET]
42129A–SAM–06/2013
2
1.
Flash
SRAM
Configuration Summary
SAM D20J
256/128/64/32/16KB
32/16/8/4/2KB
8
2
6
20
2
1
1
1
1 32-bit value or
2 16-bit values
52
16
16x16
SAM D20G
256/128/64/32/16KB
32/16/8/4/2KB
6
2
6
14
2
1
1
1
1 32-bit value or
2 16-bit values
38
16
12x10
48MHz
64
QFN
TQFP
48
QFN
TQFP
32
QFN
TQFP
SAM D20E
128/64/32/16KB
16/8/4/2KB
6
2
4
10
2
1
1
1
1 32-bit value or
2 16-bit values
26
16
10x6
Timer Counter (TC) instances
Waveform output channels per
Timer Counter instance
Serial Communication Interface
(SERCOM) instances
Analog-to-Digital Converter (ADC)
channels
Analog Comparators (AC)
Digital-to-Analog Converter (DAC)
instances
Real-Time Counter (RTC) instances
RTC alarms
RTC compare values
General Purpose I/O-lines (GPIOs)
External Interrupt lines
Peripheral Touch Controller (PTC) X
and Y lines
Maximum speed
Number of pins
Packages
Oscillators
32.768kHz crystal oscillator (XOSC32K)
0.4-32MHz crystal oscillator (XOSC)
32.768kHz high-accuracy internal oscillator (OSC32K)
32.768kHz ultra-low-power internal oscillator (OSCULP32K)
8MHz internal oscillator (OSC8M)
48MHz Digital Frequency Locked Loop (DFLL48M)
8
1
1
8
1
1
8
1
1
Event System channels
SW Debug Interface
Watchdog Timer (WDT) instances
Atmel SAM D20 [Preliminary DATASHEET]
42129A–SAM–06/2013
3
2.
Ordering Information SAM D20
SAMD 20 E 14 A ‐ M U T
Product Family
SAMD = Base Line Microcontroller
Package Carrier
No character = Tray (Default)
T = Tape and Reel
Product Series
20 = Cortex M0+ CPU, Basic feature set
Package Grade
U = ‐40 ‐ 85°C Matte Sn Plating
H = ‐40 ‐ 85°C NiPdAu Plating
Pin count
E = 32 pins
G = 48 pins
J = 64 pins
Package Type
Flash memory density
18 = 256KB
17 = 128KB
16 = 64KB
15 = 32KB
14 = 16KB
A = TQFP
M = QFN
C = UBGA
U = WLCSP
Product Variant
A = Default Variant
2.1
Ordering Information SAM D20E
Ordering Code
SAMD20E14A-AU
TQFP32
SAMD20E14A-AUT
16K
SAMD20E14A-MU
QFN32
SAMD20E14A-MUT
SAMD20E15A-AU
TQFP32
SAMD20E15A-AUT
32K
SAMD20E15A-MU
QFN32
SAMD20E15A-MUT
SAMD20E16A-AU
TQFP32
SAMD20E16A-AUT
64K
SAMD20E16A-MU
QFN32
SAMD20E16A-MUT
Tape & Reel
8K
Tray
Tape & Reel
Tape & Reel
Tray
4K
Tray
Tape & Reel
Tape & Reel
Tray
2K
Tray
Tape & Reel
FLASH (bytes)
SRAM (bytes)
Package
Carrier Type
Tray
Atmel SAM D20 [Preliminary DATASHEET]
42129A–SAM–06/2013
4
Ordering Code
SAMD20E17A-AU
FLASH (bytes)
SRAM (bytes)
Package
TQFP32
Carrier Type
Tray
Tape & Reel
SAMD20E17A-AUT
128K
SAMD20E17A-MU
QFN32
SAMD20E17A-MUT
16K
Tray
Tape & Reel
2.2
Ordering Information SAM D20G
Ordering Code
SAMD20G14A-AU
TQFP48
SAMD20G14A-AUT
16K
SAMD20G14A-MU
QFN48
SAMD20G14A-MUT
SAMD20G15A-AU
TQFP48
SAMD20G15A-AUT
32K
SAMD20G15A-MU
QFN48
SAMD20G15A-MUT
SAMD20G16A-AU
TQFP48
SAMD20G16A-AUT
64K
SAMD20G16A-MU
QFN48
SAMD20G16A-MUT
SAMD20G17A-AU
TQFP48
SAMD20G17A-AUT
128K
SAMD20G17A-MU
QFN48
SAMD20G17A-MUT
SAMD20G18A-AU
TQFP48
SAMD20G18A-AUT
256K
SAMD20G18A-MU
QFN48
SAMD20G18A-MUT
Tape & Reel
32K
Tray
Tape & Reel
Tape & Reel
Tray
16K
Tray
Tape & Reel
Tape & Reel
Tray
8K
Tray
Tape & Reel
Tape & Reel
Tray
4K
Tray
Tape & Reel
Tape & Reel
Tray
2K
Tray
Tape & Reel
FLASH (bytes)
SRAM (bytes)
Package
Carrier Type
Tray
Atmel SAM D20 [Preliminary DATASHEET]
42129A–SAM–06/2013
5