Upload
others
View
18
Download
0
Embed Size (px)
Citation preview
Atmel | SMART SAM R21ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
2 © 2015 / www.atmel.com
Key Benefits
High performance• 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
The Atmel® | SMART SAM R21 series of
low-power microcontrollers (MCUs)
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,
slider and wheel user interfaces.
Atmel | SMART SAM R21ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
3Atmel | SMART SAM R21
ARM® Cortex®-M0+ Processor
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, single-cycle 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.
1
2
3
4
5
6
7
8
24
23
22
21
20
19
18
17
VDDIO
PA25
PA24
DVDD
PA19
PA18
PA17
PA16
PA
31
/SW
DIO
PA
30
/SW
CLK
VD
DIN
VD
DC
OR
E
GN
D
PA
28
RE
SE
T
PA
27
PA
08
PA
09
GN
DA
NA
RFP
RFN
GN
DA
NA
PA
14
PA
15
XTAL2
XTAL1
GNDANA
VDDANA
AVDD
GNDANA
PA06
PA07
32
31
30
29
28
27
26
25
9 10
11
12
13
14
15
16
SAM R21EQFN32
SAM R21GQFN48
VDDIO
GND
PA25
PA24
PA23
PA22
DVDD
GND
PA19
PA18
PA17
PA16
36
35
34
33
32
31
30
29
28
27
26
25
PB
03
PB
02
PA
31
/SW
DIO
PA
30
/SW
CLK
VD
DIN
VD
DC
OR
E
GN
D
PA
28
RE
SE
T
PA
27
PB
23
PB
22
48
47
46
45
44
43
42
41
40
39
38
37
VD
DIO
GN
D
PA
08
PA
09
GN
DA
NA
RFP
RFN
GN
DA
NA
PA
12
PA
13
PA
14
PA
15
13
14
15
16
17
18
19
20
21
22
23
24
PA00
PA01
XTAL2
XTAL1
GNDANA
VDDANA
AVDD
GNDANA
PA04
PA05
PA06
PA07
1
2
3
4
5
6
7
8
9
10
11
12
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.
4 © 2015 / www.atmel.com
ARM®
CORTEX®-M0+PROCESSORFmax 48 MHz
HIGH SPEEDBUS MATRIX
32/16/8KBRAM
SRAMCONTROLLER
ME
MO
RY
TR
AC
E B
UF
FE
R
256/128/64KBNVM
NVMCONTROLLER
CACHE
SERIALWIRE
DEVICESERVICE
UNIT
USB FSDEVICE
MINI-HOST
PERIPHERALACCESS CONTROLLER
AHB/APBBRIDGE B
DMA
AHB/APBBRIDGE C
AHB/APBBRIDGE A
PO
RT
PO
RT
EV
EN
T S
YS
TE
M
PERIPHERALACCESS CONTROLLER
PERIPHERALACCESS CONTROLLER
5 x SERCOM
3 x TIMER / COUNTER
3 x TIMER / COUNTERFOR CONTROL
8-CHANNEL12-bit ADC 350KSPS
2 ANALOGCOMPARATORS
PERIPHERALTOUCH
CONTROLLER
SYSTEM CONTROLLER
POWER MANAGER
VREF
OSCULP32K
OSC32K
OSC8M
DFLL48M
FDPLL96M
BOD33
XOSC32K
XOSC
RESETCONTROLLER
CLOCKCONTROLLER
SLEEPCONTROLLER
GENERIC CLOCKCONTROLLER
REAL TIMECOUNTER
WATCHDOGTIMER
EXTERNAL INTERRUPTCONTROLLER
AIN[n]
X[7..0]
Y[5..0]
PAD0
WO1
PAD1PAD2PAD3
WO0
WO1
WOn
WO0
VREFB
AIN[3..0]
RESETN
XOUTXIN
XOUT32XIN32
EXTINT[15..1]
NMI
GCLK_IO[n]
SWDIO
SWCLK
IOBUS
S SS
S SM M
M
M
DMA
DMA
DMA
DMA
DP
DM
BOF 1KHZ
Low PowerThe 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 low-power process. All this enables 70µA/MHz in active mode and <3.5µA with full RAM retention and RTC running in Sleep mode.
5
Atmel | SMART SAM R21ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
Atmel | SMART SAM R21
ARM®
CORTEX®-M0+PROCESSORFmax 48 MHz
HIGH SPEEDBUS MATRIX
32/16/8KBRAM
SRAMCONTROLLER
ME
MO
RY
TR
AC
E B
UF
FE
R
256/128/64KBNVM
NVMCONTROLLER
CACHE
SERIALWIRE
DEVICESERVICE
UNIT
USB FSDEVICE
MINI-HOST
PERIPHERALACCESS CONTROLLER
AHB/APBBRIDGE B
DMA
AHB/APBBRIDGE C
AHB/APBBRIDGE A
PO
RT
PO
RT
EV
EN
T S
YS
TE
M
PERIPHERALACCESS CONTROLLER
PERIPHERALACCESS CONTROLLER
5 x SERCOM
3 x TIMER / COUNTER
3 x TIMER / COUNTERFOR CONTROL
8-CHANNEL12-bit ADC 350KSPS
2 ANALOGCOMPARATORS
PERIPHERALTOUCH
CONTROLLER
SYSTEM CONTROLLER
POWER MANAGER
VREF
OSCULP32K
OSC32K
OSC8M
DFLL48M
FDPLL96M
BOD33
XOSC32K
XOSC
RESETCONTROLLER
CLOCKCONTROLLER
SLEEPCONTROLLER
GENERIC CLOCKCONTROLLER
REAL TIMECOUNTER
WATCHDOGTIMER
EXTERNAL INTERRUPTCONTROLLER
AIN[n]
X[7..0]
Y[5..0]
PAD0
WO1
PAD1PAD2PAD3
WO0
WO1
WOn
WO0
VREFB
AIN[3..0]
RESETN
XOUTXIN
XOUT32XIN32
EXTINT[15..1]
NMI
GCLK_IO[n]
SWDIO
SWCLK
IOBUS
S SS
S SM M
M
M
DMA
DMA
DMA
DMA
DP
DM
BOF 1KHZ
SERCOMSAM 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 BufferThe Micro Trace Buffer available in selected SAM R21 devices enables enhanced on-chip debugging with trace capabilities supported by Atmel and third-party debuggers.
FS USB 2.0SAM 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.
Peripheral Touch ControllerAn 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.
Timers/CountersSAM 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.
Timers/Counters for ControlSAM 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.
Hardware and Software ToolsPrototype 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.
6 © 2015 / www.atmel.com
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
7
Atmel | SMART SAM R21ARM® Cortex®-M0+ based IEEE 802.15.4 Wireless MCUs
Atmel | SMART SAM R21
Ordering Information: SAM R21 Series
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.
SAM R 21 G 18 A - M U TProduct FamilySAM R = Low Power Wireless MCU
Product Series21 = D21 + 2.4GHz TRX, USB, DMA, TCC, I2C
Pin CountE = 32 pinsG = 48 pins
Memory Density 16 = 64kB 17 = 128kB 18 = 256kB
Marketing RevisionA = Initial Revision
Package carrierT = Tape & Reel
No character = Tray (Default)
Plating material and temp grade U = -40 — 85˚C Matte Sn plating F = -40 — 125˚C Matte Sn plating
Package type M = QFN
© 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 IN-ABILITY 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.
Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T : (+1)(408) 441. 0311 F : (+1)(408) 436. 4200 | www.atmel.com