SMART ARM-Based Microcontrollers
SAM C21E / SAM C21G / SAM C21J
DATASHEET COMPLETE
Introduction
The Atmel | SMART SAM C21 is a series of microcontrollers optimized for
industrial automation, appliances and other 5V applications using the 32-bit
ARM Cortex -M0+ processor, ranging from 32- to 64-pins with up to 256KB
Flash and 32KB of SRAM and operate at a maximum frequency of 48MHz
and reach 2.46 CoreMark /MHz. The SAM C21 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.
SAM C21 devices are pin compatible to the SAM D and SAM C family of
general purpose microcontrollers.
Features
Processor
ARM Cortex-M0+ CPU running at up to 48MHz
Single-cycle hardware multiplier
Micro Trace Buffer
Memory Protection Unit (MPU)
Memories
32/64/128/256KB in-system self-programmable Flash
1/2/4/8KB independent self-programmable Flash for EEPROM
emulation
4/8/16/32KB SRAM Main Memory
System
Power-on reset (POR) and brown-out detection (BOD)
Internal and external clock options with 48MHz to 96MHz
Fractional Digital Phase Locked Loop (FDPLL96M)
External Interrupt Controller (EIC)
16 external interrupts
One non-maskable interrupt
Atmel-42365K-SAM-C21_Datasheet_Complete-11/2016 Two-pin Serial Wire Debug (SWD) programming, test and debugging interface
Low Power
Idle, standby, and off sleep modes
SleepWalking peripherals
Peripherals
Hardware Divide and Square Root Accelerator (DIVAS)
12-channel Direct Memory Access Controller (DMAC)
12-channel Event System
Up to five 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
Two 24-bit Timer/Counters and one 16-bit Timer/Counter for Control (TCC), with extended
functions:
Up to four compare channels with optional complementary output
Generation of synchronized pulse width modulation (PWM) pattern across port pins
Deterministic fault protection, fast decay and configurable dead-time between
complementary output
Dithering that increase resolution with up to 5 bit and reduce quantization error
Frequency Meter
32-bit Real Time Counter (RTC) with clock/calendar function
Watchdog Timer (WDT)
CRC-32 generator
Up to two Controller Area Network (CAN) interfaces:
CAN 2.0A/B
CAN-FD 1.0
Each CAN interface have two selectable pin locations to switch between two
external CAN transceivers (without the need for an external switch)
Up to six Serial Communication Interfaces (SERCOM), each configurable to operate as
either:
USART with full-duplex and single-wire half-duplex configuration
2
I C up to 3.4MHz
SPI
LIN master/slave
RS-485
One Configurable Custom Logic (CCL)
Two 12-bit, 1Msps Analog-to-Digital Converter (ADC) with up to 12 channels each (20 unique
channels in total)
Differential and single-ended input
Automatic offset and gain error compensation
Oversampling and decimation in hardware to support 13-, 14-, 15- or 16-bit resolution
One 16-bit Sigma-Delta Analog-to-Digital Converter (SDADC) with up to 3 differential
channels
10-bit, 350ksps Digital-to-Analog Converter (DAC)
Four Analog Comparators (AC) with window compare function
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET] 2
Atmel-42365K-SAM-C21_Datasheet_Complete-11/2016