ATSAMR21G18A-MUTA6

ATSAMR21G18A-MUTA6 Datasheet


ATSAMR 21 E 16 A - M U T

Part Datasheet
ATSAMR21G18A-MUTA6 ATSAMR21G18A-MUTA6 ATSAMR21G18A-MUTA6 (pdf)
PDF Datasheet Preview
SMART

Atmel SAM R21E / SAM R21G

SMART ARM-Based Wireless Microcontroller

PRELIMINARY DATASHEET SUMMARY

The | SMART SAM R21 is a series of low-power microcontrollers using the 32-bit processor and an integrated ultra-low power 2.4GHz ISM band transceiver. SAM R21 devices are available in 32- and 48-pin packages with up to 256KB Flash, 32KB of SRAM and are operating at a maximum frequency of 48MHz and reach 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. The Atmel SAM R21 devices provide the following features In-system programmable Flash, 12-channel direct memory access DMA controller, 12-channel Event System, programmable interrupt controller, up to 28 programmable I/O pins, ultra-low power 2.4GHz ISM band transceiver with a data rate of 250kB/s, 32-bit real-time clock and calendar, three 16-bit Timer/Counters TC and three 16-bit Timer/Counters for Control TCC , where each TC can be configured to perform frequency and waveform generation, accurate program execution timing or input capture with time and frequency measurement of digital signals. The TCs can operate in 8or 16-bit mode, selected TCs can be cascaded to form a 32-bit TC, and the three Timer/Counters for Control have extended functions optimized for motor, lighting and other control applications. The series provide one full-speed USB embedded host and device interface up to five Serial Communication Modules SERCOM that each can be configured to act as an USART, UART, SPI, I2C up 3.4MHz and LIN slave up to eight channel 350ksps 12-bit ADC with programmable gain and optional oversampling and decimation supporting up to 16-bit resolution, two analog comparators with window mode, Peripheral Touch Controller supporting up to 48 buttons, sliders, wheels and proximity sensing programmable Watchdog Timer, brown-out detector and power-on reset and two-pin Serial Wire Debug SWD program and debug interface. All devices have accurate and low-power external and internal oscillators. All oscillators can be used as a source for the system clock. Different clock domains can be independently configured to run at different frequencies, enabling power saving by running each peripheral at its optimal clock frequency, and thus maintaining a high CPU frequency while reducing power consumption. The SAM R21 devices have two software-selectable sleep modes, idle and standby. In idle mode the CPU is stopped while all other functions can be kept running. In standby all clocks and functions are stopped expect those selected to continue running. The device supports SleepWalking, which is the module's ability to wake itself up and wake up its own clock, and hence perform predefined tasks without waking up the CPU. The CPU can then be only woken on a need basis, e.g. a threshold is crossed or a result is ready. The Event System supports synchronous and asynchronous events, allowing peripherals to receive, react to and send events even in standby mode. The Flash program memory can be reprogrammed in-system through the SWD interface. The same interface can be used for non-intrusive on-chip debug of application code. A boot loader running in the device can use any communication interface to download and upgrade the application program in the Flash memory. The SAM R21 devices are supported with a full suite of program and system development tools, including C compilers, macro assemblers, program debugger/simulators, programmers and evaluation kits.
z Processor z ARM Cortex-M0+ CPU running at up to 48MHz z Single-cycle hardware multiplier z Micro Trace Buffer MTB
z Memories z 256/128/64KB in-system self-programmable Flash z 32/16/8KB SRAM
z System z Power-on reset POR and brown-out detection BOD z Internal and external clock options with 48MHz Digital Frequency Locked Loop DFLL48M and 48MHz to 96MHz Fractional

Digital Phase Locked Loop FDPLL96M z External Interrupt Controller EIC z Up to 15 external interrupts z One non-maskable interrupt z Two-pin Serial Wire Debug SWD programming, test and debugging interface z Low Power z Idle and standby sleep modes z SleepWalking peripherals z Peripherals z 12-channel Direct Memory Access Controller DMAC z 12-channel Event System z Integrated Ultra Low Power Transceiver for 2.4GHz ISM Band
z 250kB/s data rate z -99dBm RX Sensitivity TX Output Power up to +4dBm z Hardware Assisted MAC Auto-Acknowledge, Auto-Retry z SFD-Detection Spreading De-Spreading Framing CRC-16 Computation z Antenna Diversity and TX/RX Control z 128 Byte TX/RX Frame Buffer z Integrated 16MHz Crystal Oscillator external crystal needed z PLL synthesizer with 5 MHz and 500 kHz channel spacing for 2.4GHz ISM band z Hardware Security AES, True Random Generator z Three 16-bit Timer/Counters TC , configurable as either z One 16-bit TC with compare/capture channels z One 8-bit TC with compare/capture channels z One 32-bit TC with compare/capture channels, by using two TCs z Three 16-bit Timer/Counters for Control TCC , with extended functions z Up to four compare channels with optional complementary output z Generation of synchronized pulse width modulation PWM pattern across port pins z Deterministic fault protection, fast decay and configurable dead-time between complementary output z Dithering that increase resolution with up to 5 bit and reduce quantization error z 32-bit Real Time Counter RTC with clock/calendar function z Watchdog Timer WDT z CRC-32 generator z One full-speed 12Mbps Universal Serial Bus USB interface z Embedded host and device function z Eight endpoints z Up to five Serial Communication Interfaces SERCOM , each configurable to operate as either z USART with full-duplex and single-wire half-duplex configuration z I2C up to 3.4MHz z SPI z LIN slave z One 12-bit, 350ksps Analog-to-Digital Converter ADC with up to eight external channels z Differential and single-ended input z 1/2x to 16x programmable gain stage z Automatic offset and gain error compensation z Oversampling and decimation in hardware to support 13-, 14-, 15- or 16-bit resolution z Two Analog Comparators AC with window compare function z Peripheral Touch Controller PTC z 48-channel capacitive touch and proximity sensing z I/O and Package z 16/28 programmable I/O pins z 32-pin and 48-pin QFN

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]
z Operating Voltage z 1.8V 3.6V
z Temperature Range
z -40°C to 85°C Industrial z -40°C to 125°C Industrial

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]

Configuration Summary

Pins General Purpose I/O-pins GPIOs Flash SRAM Timer Counter TC instances Waveform output channels per TC instance Timer Counter for Control TCC instances Waveform output channels per TCC DMA channels USB interface Serial Communication Interface SERCOM instances Inter-IC Sound I2S interface Analog-to-Digital Converter ADC channels Analog Comparators AC Digital-to-Analog Converter DAC channels Real-Time Counter RTC alarms RTC compare values External Interrupt lines Peripheral Touch Controller PTC X and Y lines Maximum CPU frequency Packages 32.768kHz crystal oscillator XOSC32K

Oscillators

Event System channels SW Debug Interface Watchdog Timer WDT

SAM R21G 48 28
256/128/64KB 32/16/8KB 3 2 3 4/4/2 12 1 5+1 No 8 2

SAM R21E 32 16
256/128/64KB 32/16/8KB 3 2 3 4/4/2 12 1 4+1 No 4 2

Yes 1
1 32-bit value or 2 16-bit values
15 8x6

QFN Yes
48MHz

Yes 1
1 32-bit value or 2 16-bit values
14 6x2

QFN No
16MHz crystal oscillator for 2.4GHz TRX XOSCRF 0.4-32MHz crystal oscillator XOSC
32.768kHz internal oscillator OSC32K 32kHz ultra-low-power internal oscillator OSCULP32K
8MHz high-accuracy internal oscillator OSC8M 48MHz Digital Frequency Locked Loop DFLL48M 96MHz Fractional Digital Phased Locked Loop FDPLL96M

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]

Note:

SERCOM4 is internally connected to the AT86RF233.

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]
Ordering Information

ATSAMR 21 E 16 A - M U T

Product Family SAMR = SoC Microcontroller with RF Product Series 21 = Cortex M0+ CPU, USB Pin Count E = 32 Pins G = 48 Pins

Flash Memory 18 = 256KB 17 = 128KB 16 = 64KB

Package Carrier No character = Tray Default

T = Tape and Reel

Package Grade U = -40 - 85°C Matte Sn Plating F = -40 - 125°C Matte Sn Plating

Package Type M = QFN

Device Variant A = Default Variant

SAM R21E
Ordering Code ATSAMR21E16A-MF ATSAMR21E16A-MFT ATSAMR21E16A-MU ATSAMR21E16A-MUT ATSAMR21E17A-MF ATSAMR21E17A-MFT ATSAMR21E17A-MU ATSAMR21E17A-MUT ATSAMR21E18A-MF ATSAMR21E18A-MFT ATSAMR21E18A-MU ATSAMR21E18A-MUT

FLASH bytes

SRAM bytes
128K
256K

Package QFN32

Carrier Type Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]

SAM R21G
Ordering Code ATSAMR21G16A-MF ATSAMR21G16A-MFT ATSAMR21G16A-MU ATSAMR21G16A-MUT ATSAMR21G17A-MF ATSAMR21G17A-MFT ATSAMR21G17A-MU ATSAMR21G17A-MUT ATSAMR21G18A-MF ATSAMR21G18A-MFT ATSAMR21G18A-MU ATSAMR21G18A-MUT

FLASH bytes

SRAM bytes
128K
256K

Package QFN48

Carrier Type Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel Tray

Tape & Reel

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]

Block Diagrams

MCU Block Diagram

IOBUS

SWCLK SWDIO

SERIAL WIRE

DEVICE SERVICE

UNIT

PERIPHERAL ACCESS CONTROLLER

CORTEX-M0+ PROCESSOR Fmax 48 MHz

MEMORY TRACE BUFFER
256/128/64KB NVM

NVM CONTROLLER

Cache
32/16/8KB RAM

SRAM CONTROLLER

HIGH SPEED BUS MATRIX

USB FS DEVICE MINI-HOST

DP DM SOF 1KHZ

PORT

AHB-APB BRIDGE B

AHB-APB BRIDGE A

XIN32 4 XOUT32

XIN XOUT

PERIPHERAL ACCESS CONTROLLER

SYSTEM CONTROLLER

BOD33 XOSC32K

XOSC
Notes Some products have different number of SERCOM instances, Timer/Counter instances, PTC signals and ADC signals. Refer to “Ordering Information” on page 6 for details.

The three TCC instances have different configurations, including the number of Waveform Output WO lines. Refer to the PORT Function Multiplexing Table 5-1 for details about the available GCLK_IO and ADC signals. Only available for SAM R21G.

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]

SAM R21 Interconnection

FECTRL2..5 GHz RF FECTRL0..1 front-end circuit

PA15 PA14 PA13 2 PA12 2 GNDANA RFN RFP GNDANA PA09 PA08

AVSS RFN RFP

AVSS

DVDD VDDIO

DIG3 DIG4 1 DVSS DVDD DEVDD DIG1 DIG2 RSTN SLP_TR
2.4GHz TRX analog

DVREG

TRX digital

Control Logic

SPI Slave

AVREG

XOSC RF

AVSS AVDD EVDD AVSS XTAL1 XTAL2

AT86RF233

GNDANA AVDD VDDANA GNDANA XTAL1 XTAL2

PB00 IRQ

SCLK MISO MOSI /SEL

PC16 CLKM

PC18 PC19 PB30 PB31

PAD3 PAD0 PAD2 PAD1

GCLK_IO1 4

GENERIC CLOCK

SERCOM 4 3

PA20 PB15

PORT

EXTINT0

EXTERNAL INTERRUPT CONTROLLER

DIG1..4

RFCTRL

VREG

PTC XOSC 32K

SAMD21

SAMR21

GND VDDCORE

VDDIN

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY]
Description 1 Features. 2 Configuration Summary 4 Ordering Information 6

SAM R21E 6 SAM R21G 7

Block Diagrams 8

MCU Block Diagram. 8 SAM R21 Interconnection 9

Pinout 10

SAM R21G - QFN48 10 SAM R21E - QFN32. 11

I/O Multiplexing and Considerations 12

Multiplexed Signals 12 Internal Multiplexed Signals 13 Other Functions 14

Product Mapping 15 Processor And Architecture 16

Cortex M0+ Processor 16

Packaging Information 17

Thermal Considerations 17 Package Drawings 18 Soldering Profile. 20

Table of Contents 21

Atmel | SMART SAM R21 [PRELIMINARY DATASHEET SUMMARY] 21

ARM Connected Logo

Atmel Corporation
1600 Technology Drive, San Jose, CA 95110 USA T +1 408

F +1 408

Atmel logo and combinations thereof, Enabling Unlimited and others are registered trademarks or trademarks of Atmel Corporation in U.S. and other countries. ARM 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.

SAFETY-CRITICAL, MILITARY, AND AUTOMOTIVE APPLICATIONS DISCLAIMER Atmel products are not designed for and will not be used in connection with any applications where the failure of such products would reasonably be expected to result in significant personal injury or death “Safety-Critical Applications” without an Atmel officer's specific written consent. Safety-Critical Applications include, without limitation, life support devices and systems, equipment or systems for the operation of nuclear facilities and weapons systems. Atmel products are not designed nor intended for use in military or aerospace applications or environments unless specifically designated by Atmel as military-grade. Atmel products are not designed nor intended for use in automotive applications unless specifically designated by Atmel as automotive-grade.
More datasheets: APX803-31SAG-7 | APX803-40SAG-7 | APX803-29SRG-7 | APX803-23SRG-7 | APX803D-29SRG-7 | APX803-23SAG-7 | APX803-26SRG-7 | APX803-29SAG-7 | CY7C1352F-100AC | CY7C1352F-133AC


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived ATSAMR21G18A-MUTA6 Datasheet file may be downloaded here without warranties.

Datasheet ID: ATSAMR21G18A-MUTA6 519317