View detail for Atmel SAM R21

Atmel | SMART SAM R21
ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
The Atmel® | SMART SAM R21 series of
Key Benefits
low-power microcontrollers (MCUs)
High performance
combines the 32-bit ARM®
Cortex®-M0+ processor and an
integrated ultra-low-power 2.4GHz ISM
band transceiver. These devices are
available in 32- and 48-pin packages
with up to 256KB Flash, and 32KB
of SRAM. They deliver a maximum
operating frequency of 48MHz and
reach 2.14 CoreMark/MHz. SAM
R21 devices 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,
•
•
•
•
•
48MHz operation
2.14 CoreMark/MHz
Single-cycle IO access
12-channel event system
12-channel DMA
Low power
•
•
•
•
< 70µA/MHz
<3.5μA RAM retention and RTC
Internal and external oscillators
On-the-fly clock switching and prescaling
Robust peripheral set
• Ultra-low-power 2.4GHZ transceiver
• Up to five serial communication modules (SERCOM) configurable
as UART/USART, SPI or I2C
• Up to three 16-bit Timer/Counters
• Peripheral Touch Controller that supports buttons, sliders, wheels
and proximity with up to 48 channels
• Real Time Clock (RTC) and Calendar with leap year correction
and 1ppm calibration
• 12-bit 300kbps ADC
• Full Speed USB device and host
World-class tools
•
•
•
•
SAM R21 Xplained Pro starter kits – $39
Atmel Studio with compiler support – Free
Atmel Software Framework – Free
Low-level drivers and stacks – Free
slider and wheel user interfaces.
2
© 2015 / www.atmel.com
Atmel | SMART SAM R21
ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
ARM® Cortex®-M0+ Processor
PB03
PB02
PA31/SWDIO
PA30/SWCLK
VDDIN
VDDCORE
GND
PA28
RESET
PA27
PB23
PB22
47
46
45
44
43
42
41
40
39
38
37
PA00
1
36
VDDIO
PA01
2
35
GND
XTAL2
3
34
PA25
XTAL1
4
33
PA24
32
PA23
31
PA22
30
DVDD
XTAL2
1
24
VDDIO
XTAL1
2
23
PA25
GNDANA
3
22
PA24
GNDANA
5
VDDANA
4
21
DVDD
VDDANA
6
20
PA19
AVDD
7
SAM R21E
QFN32
48
RESET
PA28
PA27
25
26
27
VDDCORE
VDDIN
PA30/SWCLK
GND
28
29
30
31
32
PA31/SWDIO
The most energy-efficient ARM processor yet, the ARM Cortex-M0+ builds on the ARM Cortex-M0 processor—retaining its
full instruction set and tool compatibility—while further reducing energy consumption and increasing performance. The SAM
R21 ARM Cortex-M0+ based MCUs operate at 48MHz and feature a two-stage pipeline, single-cycle I/O access, singlecycle 32x32 multiplier, event system, and a fast and flexible interrupt controller. They are also highly efficient, reaching 2.14
CoreMark/MHz – 0.93 DMIPS/MHz.
SAM R21G
QFN48
20
21
22
23
24
PA12
PA13
PA14
PA15
VDDIO
PA15
PA14
GNDANA
RFN
RFP
GNDANA
PA09
PA08
19
PA16
RFN
25
GNDANA
12
18
PA17
PA07
RFP
PA18
26
17
27
11
GNDANA
10
PA06
16
PA05
PA09
PA16
15
17
14
8
GND
PA19
PA07
PA08
GND
28
13
29
9
16
8
PA04
15
GNDANA
PA17
14
PA18
18
13
19
7
12
6
PA06
11
GNDANA
9
5
10
AVDD
The SAM R21 series consists of two pin- and code-compatible product series and a total of 24 different microcontrollers.
They all use the same processor, bus matrix, interrupt system and other core features, but they are differentiated in regards
to pin counts, memories, peripheral mix and temperature grades.
Atmel | SMART SAM R21
3
SWCLK
SWDIO
Low Power
SERIAL
WIRE
DEVICE
SERVICE
UNIT
M
32/16/8KB
RAM
256/128/64KB
NVM
NVM
CONTROLLER
SRAM
CONTROLLER
CACHE
M
M
S
S
HIGH SPEED
BUS MATRIX
M
S
AHB/APB
BRIDGE B
S
USB FS
DEVICE
MINI-HOST
S
AHB/APB
BRIDGE A
AHB/APB
BRIDGE C
PERIPHERAL
ACCESS CONTROLLER
PERIPHERAL
ACCESS CONTROLLER
DMA
SYSTEM CONTROLLER
5 x SERCOM
VREF
BOD33
XIN32
XOUT32
DMA
DP
PERIPHERAL
ACCESS CONTROLLER
PORT
The SAM R21 MCU
implements a wide range
of features to drive down
power consumption,
including low-power
oscillators, clock gating
and prescaling, Atmel
SleepWalking™ technology
and a proprietary lowpower process. All this
enables 70μA/MHz in
active mode and <3.5μA
with full RAM retention
and RTC running in Sleep
mode.
ARM®
CORTEX®-M0+
PROCESSOR
Fmax 48 MHz
MEMORY
TRACE BUFFER
IOBUS
PAD0
PAD1
PAD2
PAD3
OSCULP32K
OSC32K
XOSC32K
DMA
WO0
3 x TIMER / COUNTER
OSC8M
WO1
DFLL48M
XOSC
FDPLL96M
POWER MANAGER
CLOCK
CONTROLLER
RESETN
RESET
CONTROLLER
GCLK_IO[n]
SLEEP
CONTROLLER
GENERIC CLOCK
CONTROLLER
REAL TIME
COUNTER
WATCHDOG
TIMER
EXTINT[15..1]
NMI
4
EVENT SYSTEM
XIN
XOUT
DMA
3 x TIMER / COUNTER
FOR CONTROL
WO0
WO1
WOn
AIN[n]
DMA
8-CHANNEL
12-bit ADC 350KSPS
2 ANALOG
COMPARATORS
PERIPHERAL
TOUCH
CONTROLLER
VREFB
AIN[3..0]
X[7..0]
Y[5..0]
EXTERNAL INTERRUPT
CONTROLLER
© 2015 / www.atmel.com
DM
BOF 1KHZ
Atmel | SMART SAM R21
ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
FS USB 2.0
SAM R21 products feature Full Speed USB device and
embedded host. In Device mode, a device can operate
from the internal RC oscillator giving you a minimum Bill
of Materials (BoM) implementation of a USB device.
The USB drivers are available from Atmel through the
Atmel Software Framework.
SERCOM
SAM R21 devices feature multiple instances of the
Serial Communication Module (SERCOM). The
SERCOM is configurable to operate as I2C, SPI or
USART, giving developers extended flexibility to mix
serial interfaces and greater freedom in PCB layout.
Each SERCOM instance can be assigned to different
I/O pins through I/O multiplexing, further increasing
versatility.
Micro Trace Buffer
The Micro Trace Buffer available in selected SAM R21
devices enables enhanced on-chip debugging with
trace capabilities supported by Atmel and third-party
debuggers.
Peripheral Touch Controller
An embedded peripheral touch controller (PTC)
makes it easy to add capacitive touch sensing to your
project with buttons, sliders, wheels and proximity. By
offering superb sensitivity and noise tolerance as well
as self-calibration, the PTC eliminates the need for
external components and minimizes CPU overhead.
The PTC supports up to 48 channels on the 48-pin
devices, and 12 channels on the 32-pin devices.
PORT
Timers/Counters
SAM R21 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. Each TC can be configured to operate
as 2x8-bit timers, as a 16-bit timer, and two TCs can
be combined to a 32-bit TC. In addition, the SAM R21
features a 32-bit RTC with full calendar and leap year
support.
Hardware and Software Tools
Prototype your designs with the Atmel | SMART SAM
R21 Xplained Pro, which incorporates an embedded
programmer and debugger. If you prefer to use a
standalone programmer/debugger, Atmel SAM-ICE™,
JTAGICE3 and Atmel-ICE debuggers fully supports the
SAM R21 series. Atmel Studio and the Atmel Software
Framework also support the SAM R21 products,
providing an easy-to-use and low-cost development
platform to reduce your time to market.
Timers/Counters for Control
SAM R21 devices have T/CCs, these are Timers/
Counters for control applications like switch mode
power supplies, lighting and motor control. The T/CCs
support up to 96MHz and 24 bit resolution.
Atmel | SMART SAM R21
5
Hardware and Software Tools
The Xplained Pro board available for the SAM R21 is perfect for rapid prototyping and development. It features an embedded
programmer and debugger, and easily connects to your computer and Atmel Studio. Several expansion wings are available
for Xplained Pro boards. The wings enable evaluation of different interfaces and peripherals. Wings are also available from third
parties.
Xplained Pro boards are available for the SAM R21 wireless microcontrollers
6
© 2015 / www.atmel.com
Atmel | SMART SAM R21
ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
Extension Boards
The PROTO1 extension provides a breadboarding area for general prototyping with
the SAM R21 Xplained Pro boards.
The PROTO1 extension provides a breadboarding area for general prototyping with
the SAM R21 Xplained Pro boards.
The OLED1 wing connects a 128x32 OLED display, LEDs and buttons to the
Xplained Pro.
Ordering Information: SAM R21 Series
Package type
M = QFN
Plating material and temp grade
U = -40 — 85˚C Matte Sn plating
F = -40 — 125˚C Matte Sn plating
Package carrier
T = Tape & Reel
No character = Tray (Default)
SAM R 21 G 18 A - M U T
Product Family
SAM R = Low Power Wireless MCU
Product Series
21 = D21 + 2.4GHz TRX, USB, DMA, TCC, I2C
Pin Count
Marketing Revision
A = Initial Revision
Memory Density
16 = 64kB
17 = 128kB
18 = 256kB
E = 32 pins
G = 48 pins
Atmel | SMART SAM R21
7
Atmel Corporation
1600 Technology Drive, San Jose, CA 95110 USA
T : (+1)(408) 441. 0311
F : (+1)(408) 436. 4200
|
www.atmel.com
© 2015 Atmel Corporation. / Rev.: Atmel-45067B-SAM-R21_E_US_122015
Atmel,® Atmel logo and combinations thereof, Enabling Unlimited Possibilities,® and others are registered trademarks or trademarks of Atmel Corporation in U. S. and other
countries. ARM,® ARM Connected® logo and others are the registered trademarks or trademarks of ARM Ltd. Other terms and product names may be trademarks of others.
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel
products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY
RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and
reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not
suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.