SMART ARM-Based Microcontrollers
SAM C21E / SAM C21G / SAM C21J
DATASHEET PRELIMINARY
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 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-42365F-SAM-C21_Datasheet_Preliminary-02/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
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
I2C 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, 1ksps Sigma-Delta Analog-to-Digital Converter (SDADC) with up to 3 differential
channels
10-bit, 300ksps Digital-to-Analog Converter (DAC)
Four Analog Comparators (AC) with window compare function
Integrated Temperature Sensor with ±1°C accuracy
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
2
Peripheral Touch Controller (PTC)
256-Channel capacitive touch and proximity sensing
I/O
Up to 52 programmable I/O pins
Drop in compatible with SAM D20 and SAM D21
Packages
64-pin TQFP, QFN
48-pin TQFP, QFN
32-pin TQFP, QFN
Operating Voltage
2.7V – 5.5V
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
3
Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Description...............................................................................................................13
2. Configuration Summary...........................................................................................14
3. Ordering Information................................................................................................16
3.1. SAM C21E..................................................................................................................................16
3.2. SAM C21G................................................................................................................................. 17
3.3. SAM C21J.................................................................................................................................. 18
4. Block Diagram......................................................................................................... 20
5. Pinout.......................................................................................................................22
5.1. SAM C21E..................................................................................................................................22
5.2. SAM C21G................................................................................................................................. 23
5.3. SAM C21J.................................................................................................................................. 24
6. Signal Descriptions List........................................................................................... 25
7. I/O Multiplexing and Considerations........................................................................ 27
7.1. Multiplexed Signals.....................................................................................................................27
7.2. Other Functions..........................................................................................................................28
8. Power Supply and Start-Up Considerations............................................................ 30
8.1. Power Domain Overview............................................................................................................30
8.2. Power Supply Considerations.................................................................................................... 30
8.3. Power-Up....................................................................................................................................32
8.4. Power-On Reset and Brown-Out Detector................................................................................. 33
9. Product Mapping......................................................................................................34
10. Memories.................................................................................................................35
10.1. Embedded Memories................................................................................................................. 35
10.2. Physical Memory Map................................................................................................................ 35
10.3. NVM User Row Mapping............................................................................................................36
10.4. NVM Software Calibration Area Mapping...................................................................................37
10.5. NVM Temperature Calibration Area Mapping.............................................................................37
10.6. Serial Number.............................................................................................................................38
11. Processor and Architecture..................................................................................... 39
11.1. Cortex M0+ Processor................................................................................................................39
11.2. Nested Vector Interrupt Controller..............................................................................................41
11.3. Micro Trace Buffer...................................................................................................................... 42
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
4
11.4. High-Speed Bus System............................................................................................................ 43
12. PAC - Peripheral Access Controller.........................................................................46
12.1. Overview.....................................................................................................................................46
12.2. Features..................................................................................................................................... 46
12.3. Block Diagram............................................................................................................................ 46
12.4. Product Dependencies............................................................................................................... 46
12.5. Functional Description................................................................................................................47
12.6. Register Summary......................................................................................................................51
12.7. Register Description................................................................................................................... 51
13. Peripherals Configuration Summary........................................................................57
14. DSU - Device Service Unit...................................................................................... 59
14.1. Overview.....................................................................................................................................59
14.2. Features..................................................................................................................................... 59
14.3. Block Diagram............................................................................................................................ 60
14.4. Signal Description.......................................................................................................................60
14.5. Product Dependencies............................................................................................................... 60
14.6. Debug Operation........................................................................................................................ 61
14.7. Chip Erase..................................................................................................................................63
14.8. Programming..............................................................................................................................64
14.9. Intellectual Property Protection...................................................................................................64
14.10. Device Identification................................................................................................................... 66
14.11. Functional Description................................................................................................................67
14.12. Register Summary..................................................................................................................... 72
14.13. Register Description...................................................................................................................74
15. DIVAS – Divide and Square Root Accelerator.........................................................97
15.1. Overview.....................................................................................................................................97
15.2. Features..................................................................................................................................... 97
15.3. Block Diagram............................................................................................................................ 97
15.4. Signal Description.......................................................................................................................97
15.5. Product Dependencies............................................................................................................... 97
15.6. Functional Description................................................................................................................98
15.7. Register Summary....................................................................................................................101
15.8. Register Description................................................................................................................. 101
16. Clock System.........................................................................................................109
16.1. Clock Distribution......................................................................................................................109
16.2. Synchronous and Asynchronous Clocks.................................................................................. 110
16.3. Register Synchronization..........................................................................................................110
16.4. Enabling a Peripheral............................................................................................................... 112
16.5. On-demand, Clock Requests....................................................................................................112
16.6. Power Consumption vs. Speed................................................................................................ 113
16.7. Clocks after Reset.................................................................................................................... 113
17. GCLK - Generic Clock Controller...........................................................................114
17.1. Overview...................................................................................................................................114
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
5
17.2. Features....................................................................................................................................114
17.3. Block Diagram.......................................................................................................................... 114
17.4. Signal Description.....................................................................................................................115
17.5. Product Dependencies............................................................................................................. 115
17.6. Functional Description.............................................................................................................. 116
17.7. Register Summary....................................................................................................................121
17.8. Register Description................................................................................................................. 122
18. MCLK – Main Clock...............................................................................................131
18.1. Overview...................................................................................................................................131
18.2. Features................................................................................................................................... 131
18.3. Block Diagram.......................................................................................................................... 131
18.4. Signal Description.....................................................................................................................131
18.5. Product Dependencies............................................................................................................. 131
18.6. Functional Description..............................................................................................................133
18.7. Register Summary....................................................................................................................138
18.8. Register Description................................................................................................................. 138
19. RSTC – Reset Controller.......................................................................................156
19.1. Overview...................................................................................................................................156
19.2. Features................................................................................................................................... 156
19.3. Block Diagram.......................................................................................................................... 156
19.4. Signal Description.....................................................................................................................156
19.5. Product Dependencies............................................................................................................. 156
19.6. Functional Description..............................................................................................................157
19.7. Register Summary....................................................................................................................160
19.8. Register Description................................................................................................................. 160
20. PM – Power Manager............................................................................................162
20.1. Overview...................................................................................................................................162
20.2. Features................................................................................................................................... 162
20.3. Block Diagram.......................................................................................................................... 162
20.4. Signal Description.....................................................................................................................162
20.5. Product Dependencies............................................................................................................. 162
20.6. Functional Description..............................................................................................................163
20.7. Register Summary....................................................................................................................167
20.8. Register Description................................................................................................................. 167
21. OSCCTRL – Oscillators Controller........................................................................ 170
21.1. Overview...................................................................................................................................170
21.2. Features................................................................................................................................... 170
21.3. Block Diagram.......................................................................................................................... 171
21.4. Signal Description.....................................................................................................................171
21.5. Product Dependencies............................................................................................................. 171
21.6. Functional Description..............................................................................................................172
21.7. Register Summary....................................................................................................................181
21.8. Register Description................................................................................................................. 182
22. OSC32KCTRL – 32KHz Oscillators Controller......................................................210
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
6
22.1. Overview...................................................................................................................................210
22.2. Features................................................................................................................................... 210
22.3. Block Diagram.......................................................................................................................... 211
22.4. Signal Description.....................................................................................................................211
22.5. Product Dependencies............................................................................................................. 211
22.6. Functional Description..............................................................................................................213
22.7. Register Summary....................................................................................................................219
22.8. Register Description................................................................................................................. 219
23. SUPC – Supply Controller..................................................................................... 236
23.1. Overview...................................................................................................................................236
23.2. Features................................................................................................................................... 236
23.3. Block Diagram.......................................................................................................................... 237
23.4. Signal Description.....................................................................................................................237
23.5. Product Dependencies............................................................................................................. 237
23.6. Functional Description..............................................................................................................238
23.7. Register Summary....................................................................................................................244
23.8. Register Description................................................................................................................. 244
24. WDT – Watchdog Timer........................................................................................ 263
24.1. Overview...................................................................................................................................263
24.2. Features................................................................................................................................... 263
24.3. Block Diagram.......................................................................................................................... 264
24.4. Signal Description.....................................................................................................................264
24.5. Product Dependencies............................................................................................................. 264
24.6. Functional Description..............................................................................................................265
24.7. Register Summary....................................................................................................................271
24.8. Register Description................................................................................................................. 271
25. RTC – Real-Time Counter..................................................................................... 283
25.1. Overview...................................................................................................................................283
25.2. Features................................................................................................................................... 283
25.3. Block Diagram.......................................................................................................................... 283
25.4. Signal Description.....................................................................................................................284
25.5. Product Dependencies............................................................................................................. 284
25.6. Functional Description..............................................................................................................286
25.7. Register Summary - COUNT32................................................................................................291
25.8. Register Description - COUNT32............................................................................................. 292
25.9. Register Summary - COUNT16................................................................................................305
25.10. Register Description - COUNT16.............................................................................................306
25.11. Register Summary - CLOCK.................................................................................................... 320
25.12. Register Description - CLOCK................................................................................................. 321
26. DMAC – Direct Memory Access Controller........................................................... 337
26.1. Overview...................................................................................................................................337
26.2. Features................................................................................................................................... 337
26.3. Block Diagram.......................................................................................................................... 338
26.4. Signal Description.....................................................................................................................338
26.5. Product Dependencies............................................................................................................. 338
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
7
26.6. Functional Description..............................................................................................................340
26.7. Register Summary....................................................................................................................361
26.8. Register Description................................................................................................................. 362
26.9. Register Summary - SRAM...................................................................................................... 393
26.10. Register Description - SRAM................................................................................................... 393
27. EIC – External Interrupt Controller........................................................................ 401
27.1. Overview...................................................................................................................................401
27.2. Features................................................................................................................................... 401
27.3. Block Diagram.......................................................................................................................... 401
27.4. Signal Description.....................................................................................................................402
27.5. Product Dependencies............................................................................................................. 402
27.6. Functional Description..............................................................................................................403
27.7. Register Summary....................................................................................................................408
27.8. Register Description................................................................................................................. 409
28. NVMCTRL – Non-Volatile Memory Controller....................................................... 420
28.1. Overview...................................................................................................................................420
28.2. Features................................................................................................................................... 420
28.3. Block Diagram.......................................................................................................................... 420
28.4. Signal Description.....................................................................................................................421
28.5. Product Dependencies............................................................................................................. 421
28.6. Functional Description..............................................................................................................422
28.7. Register Summary....................................................................................................................429
28.8. Register Description................................................................................................................. 430
29. PORT - I/O Pin Controller......................................................................................445
29.1. Overview...................................................................................................................................445
29.2. Features................................................................................................................................... 445
29.3. Block Diagram.......................................................................................................................... 446
29.4. Signal Description.....................................................................................................................446
29.5. Product Dependencies............................................................................................................. 446
29.6. Functional Description..............................................................................................................449
29.7. Register Summary....................................................................................................................454
29.8. Register Description................................................................................................................. 455
30. EVSYS – Event System........................................................................................ 475
30.1. Overview...................................................................................................................................475
30.2. Features................................................................................................................................... 475
30.3. Block Diagram.......................................................................................................................... 475
30.4. Signal Description.....................................................................................................................476
30.5. Product Dependencies............................................................................................................. 476
30.6. Functional Description..............................................................................................................477
30.7. Register Summary....................................................................................................................481
30.8. Register Description................................................................................................................. 482
31. SERCOM – Serial Communication Interface.........................................................498
31.1. Overview...................................................................................................................................498
31.2. Features................................................................................................................................... 498
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
8
31.3. Block Diagram.......................................................................................................................... 498
31.4. Signal Description.....................................................................................................................499
31.5. Product Dependencies............................................................................................................. 499
31.6. Functional Description..............................................................................................................500
32. SERCOM USART – SERCOM Universal Synchronous and Asynchronous Receiver
and Transmitter......................................................................................................506
32.1. Overview...................................................................................................................................506
32.2. USART Features...................................................................................................................... 506
32.3. Block Diagram.......................................................................................................................... 507
32.4. Signal Description.....................................................................................................................507
32.5. Product Dependencies............................................................................................................. 507
32.6. Functional Description..............................................................................................................509
32.7. Register Summary....................................................................................................................521
32.8. Register Description................................................................................................................. 521
33. SERCOM SPI – SERCOM Serial Peripheral Interface..........................................546
33.1. Overview...................................................................................................................................546
33.2. Features................................................................................................................................... 546
33.3. Block Diagram.......................................................................................................................... 547
33.4. Signal Description.....................................................................................................................547
33.5. Product Dependencies............................................................................................................. 547
33.6. Functional Description..............................................................................................................549
33.7. Register Summary....................................................................................................................558
33.8. Register Description................................................................................................................. 559
34. SERCOM I2C – SERCOM Inter-Integrated Circuit................................................ 579
34.1. Overview...................................................................................................................................579
34.2. Features................................................................................................................................... 579
34.3. Block Diagram.......................................................................................................................... 580
34.4. Signal Description.....................................................................................................................580
34.5. Product Dependencies............................................................................................................. 580
34.6. Functional Description..............................................................................................................582
34.7. Register Summary - I2C Slave.................................................................................................601
34.8. Register Description - I2C Slave.............................................................................................. 601
34.9. Register Summary - I2C Master...............................................................................................621
34.10. Register Description - I2C Master............................................................................................ 622
35. CAN - Control Area Network................................................................................. 644
35.1. Overview...................................................................................................................................644
35.2. Features................................................................................................................................... 644
35.3. Block Diagram.......................................................................................................................... 644
35.4. Signal Description.....................................................................................................................645
35.5. Product Dependencies............................................................................................................. 645
35.6. Functional Description..............................................................................................................646
35.7. Register Summary....................................................................................................................667
35.8. Register Description................................................................................................................. 671
35.9. Message RAM..........................................................................................................................748
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
9
36. TC – Timer/Counter............................................................................................... 758
36.1. Overview...................................................................................................................................758
36.2. Features................................................................................................................................... 758
36.3. Block Diagram.......................................................................................................................... 759
36.4. Signal Description.....................................................................................................................759
36.5. Product Dependencies............................................................................................................. 760
36.6. Functional Description..............................................................................................................761
36.7. Register Summary....................................................................................................................775
36.8. Register Description................................................................................................................. 779
37. TCC – Timer/Counter for Control Applications...................................................... 809
37.1. Overview...................................................................................................................................809
37.2. Features................................................................................................................................... 809
37.3. Block Diagram.......................................................................................................................... 810
37.4. Signal Description.....................................................................................................................811
37.5. Product Dependencies............................................................................................................. 811
37.6. Functional Description..............................................................................................................813
37.7. Register Summary....................................................................................................................844
37.8. Register Description................................................................................................................. 847
38. CCL – Configurable Custom Logic........................................................................ 903
38.1. Overview...................................................................................................................................903
38.2. Features................................................................................................................................... 903
38.3. Block Diagram.......................................................................................................................... 904
38.4. Signal Description.....................................................................................................................904
38.5. Product Dependencies............................................................................................................. 904
38.6. Functional Description..............................................................................................................906
38.7. Register Summary....................................................................................................................916
38.8. Register Description................................................................................................................. 917
39. ADC – Analog-to-Digital Converter........................................................................922
39.1. Overview...................................................................................................................................922
39.2. Features................................................................................................................................... 922
39.3. Block Diagram.......................................................................................................................... 923
39.4. Signal Description.....................................................................................................................923
39.5. Product Dependencies............................................................................................................. 923
39.6. Functional Description..............................................................................................................925
39.7. Register Summary....................................................................................................................937
39.8. Register Description................................................................................................................. 938
40. SDADC – Sigma-Delta Analog-to-Digital Converter..............................................966
40.1. Overview...................................................................................................................................966
40.2. Features................................................................................................................................... 966
40.3. Block Diagram.......................................................................................................................... 967
40.4. Signal Description.....................................................................................................................967
40.5. Product Dependencies............................................................................................................. 968
40.6. Functional Description..............................................................................................................969
40.7. Register Summary....................................................................................................................978
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
10
40.8. Register Description................................................................................................................. 979
41. AC – Analog Comparators...................................................................................1005
41.1. Overview.................................................................................................................................1005
41.2. Features................................................................................................................................. 1005
41.3. Block Diagram........................................................................................................................ 1006
41.4. Signal Description...................................................................................................................1007
41.5. Product Dependencies........................................................................................................... 1007
41.6. Functional Description............................................................................................................1009
41.7. Register Summary..................................................................................................................1018
41.8. Register Description............................................................................................................... 1018
42. DAC – Digital-to-Analog Converter......................................................................1036
42.1. Overview.................................................................................................................................1036
42.2. Features................................................................................................................................. 1036
42.3. Block Diagram........................................................................................................................ 1036
42.4. Signal Description...................................................................................................................1036
42.5. Product Dependencies........................................................................................................... 1036
42.6. Functional Description............................................................................................................1038
42.7. Register Summary..................................................................................................................1043
42.8. Register Description............................................................................................................... 1043
43. PTC - Peripheral Touch Controller.......................................................................1057
43.1. Overview.................................................................................................................................1057
43.2. Features................................................................................................................................. 1057
43.3. Block Diagram........................................................................................................................ 1058
43.4. Signal Description...................................................................................................................1059
43.5. Product Dependencies........................................................................................................... 1059
43.6. Functional Description............................................................................................................1060
44. TSENS – Temperature Sensor............................................................................ 1062
44.1. Overview.................................................................................................................................1062
44.2. Features................................................................................................................................. 1062
44.3. Block Diagram........................................................................................................................ 1062
44.4. Signal Description...................................................................................................................1062
44.5. Product Dependencies........................................................................................................... 1063
44.6. Functional Description............................................................................................................1064
44.7. Register Summary..................................................................................................................1068
44.8. Register Description............................................................................................................... 1068
45. FREQM – Frequency Meter................................................................................ 1089
45.1. Overview.................................................................................................................................1089
45.2. Features................................................................................................................................. 1089
45.3. Block Diagram........................................................................................................................ 1089
45.4. Signal Description...................................................................................................................1089
45.5. Product Dependencies........................................................................................................... 1089
45.6. Functional Description............................................................................................................1091
45.7. Register Summary..................................................................................................................1094
45.8. Register Description............................................................................................................... 1094
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
11
46. Electrical Characteristics......................................................................................1104
46.1. Disclaimer...............................................................................................................................1104
46.2. Absolute Maximum Ratings....................................................................................................1104
46.3. General Operating Ratings.....................................................................................................1105
46.4. Supply Characteristics............................................................................................................1105
46.5. Maximum Clock Frequencies................................................................................................. 1106
46.6. Power Consumption............................................................................................................... 1108
46.7. I/O Pin Characteristics............................................................................................................ 1110
46.8. Analog Characteristics............................................................................................................ 1114
46.9. NVM Characteristics...............................................................................................................1125
46.10. Oscillator Characteristics........................................................................................................1125
46.11. Timing Characteristics............................................................................................................ 1130
47. Packaging Information......................................................................................... 1131
47.1. Thermal Considerations..........................................................................................................1131
47.2. Package Drawings..................................................................................................................1132
47.3. Soldering Profile..................................................................................................................... 1138
48. Schematic Checklist.............................................................................................1139
48.1. Introduction.............................................................................................................................1139
48.2. Power Supply..........................................................................................................................1139
48.3. External Analog Reference Connections................................................................................1141
48.4. External Reset Circuit.............................................................................................................1143
48.5. Unused or Unconnected Pins.................................................................................................1144
48.6. Clocks and Crystal Oscillators................................................................................................ 1144
48.7. Programming and Debug Ports.............................................................................................. 1147
49. Errata................................................................................................................... 1151
49.1. Revision A...............................................................................................................................1151
49.2. Revision B...............................................................................................................................1151
50. Revision History...................................................................................................1163
50.1. Rev F - 02/2015......................................................................................................................1163
50.2. Rev E - 12/2015......................................................................................................................1164
50.3. Rev D - 09/2015......................................................................................................................1165
50.4. Rev C - 09/2015......................................................................................................................1165
50.5. Rev B - 06/2015......................................................................................................................1165
50.6. Rev A - 04/2015......................................................................................................................1165
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
12
1. Description
The Atmel SAM C21 devices provide the following features: In-system programmable Flash, twelve-
channel direct memory access (DMA) controller, twelve-channel Event System, programmable interrupt
controller, up to 52 programmable I/O pins, 32-bit real-time clock and calendar, up to five 16-bit Timer/
Counters (TC) and three 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 8- or 16-bit mode, selected TCs can be
cascaded to form a 32-bit TC, and three timer/counters have extended functions optimized for motor,
lighting and other control applications. Two TCC can operate in 24-bit mode, and the third TCC can
operate in 16- bit mode. The series provide two Controller Area Network (CAN) modules supported CAN
2.0A/B and CAN-FD 1.0; up to six Serial Communication Modules (SERCOM) that each can be
configured to act as an USART, UART, SPI, I2C up to 3.4MHz, SMBus, PMBus, RS-485 and LIN master/
slave; two 12-bit, 1Msps ADCs with up to 12-channels each (20 unique channels total), three 24-bit,
1.5Msps Sigma-Delta ADC , one 10-bit 300ksps DAC, four analog comparators with window mode,
Peripheral Touch Controller supporting up to 256 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 C21 devices have three software-selectable sleep modes, idle, standby and off. 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. In this mode all RAMs and logic contents are
retained. The device supports SleepWalking. This feature allows the peripheral to wake up from sleep
based on predefined conditions, and thus allows some internal operation like DMA transfer and/or the
CPU to wake up only when needed, e.g. when 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 Atmel SAM C21 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.
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
13
2. Configuration Summary
SAM C21J SAM C21G SAM C21E
Pins 64 48 32
General Purpose I/O-pins (GPIOs) 52 38 26
Flash 256/128/64/32KB 256/128/64/32KB 256/128/64/32KB
Flash RWW section 8/4/2/1KB 8/4/2/1KB 8/4/2/1KB
System SRAM 32/16/8/4KB 32/16/8/4KB 32/16/8/4KB
Timer Counter (TC) instances 5 5 5
Waveform output channels per TC
instance
222
Timer Counter for Control (TCC)
instances
333
Waveform output channels per TCC 8/4/2 8/4/2 6/4/2
DMA channels 12 12 12
CAN interface 2 2 1
Configurable Custom Logic (CCL) (LUTs) 4 4 4
Serial Communication Interface
(SERCOM) instances
664
Analog-to-Digital Converter (ADC)
channels
20 14 10
Sigma-Delta Analog-to-Digital Converter
(SDADC) channels
321
Analog Comparators (AC) 4 4 3
Digital-to-Analog Converter (DAC)
channels
111
Real-Time Counter (RTC) Yes Yes Yes
RTC alarms 1 1 1
RTC compare values One 32-bit value or
two 16-bit values
One 32-bit value or
two 16-bit values
One 32-bit value or
two 16-bit values
External Interrupt lines 16 16 16
Peripheral Touch Controller (PTC) X and
Y lines
16x16 11x11 8x8
Maximum CPU frequency 48MHz
Packages QFN
TQFP
QFN
TQFP
QFN
TQFP
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
14
SAM C21J SAM C21G SAM C21E
Oscillators 32.768kHz crystal oscillator (XOSC32K)
0.4-32MHz crystal oscillator (XOSC)
32.768kHz internal oscillator (OSC32K)
32KHz ultra-low-power internal oscillator (OSCULP32K)
48MHz high-accuracy internal oscillator (OSC48M)
96MHz Fractional Digital Phased Locked Loop (FDPLL96M)
Event System channels 12 12 12
SW Debug Interface Yes Yes Yes
Watchdog Timer (WDT) Yes Yes Yes
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
15
3. Ordering Information
SAMC 21 E 15 A - M U T
Product Family
E = 32 Pins
G = 48 Pins
J = 64 Pins
No character = Tray (Default)
T = Tape and Reel
U = -40 - 85OC Matte Sn Plating
N = -40 - 105OC Matte Sn Plating
A = TQFP
M = QFN
21 = Cortex M0+ CPU, DMA, CAN,
16-bit SDADC
SAMC = 5V Microcontroller
Product Series
Flash Memory Density
Device Variant
A = Default Variant
Pin Count
Package Carrier
Package Grade
Package Type
18 = 256KB
17 = 128KB
16 = 64KB
15 = 32KB
3.1. SAM C21E
Table 3-1. SAM C21E15A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21E15A-AUT 32K 4K TQFP32 Tape & Reel 85°C
ATSAM C21E15A-ANT 32K 4K TQFP32 Tape & Reel 105°C
ATSAM C21E15A-MUT 32K 4K QFN32 Tape & Reel 85°C
ATSAM C21E15A-MNT 32K 4K QFN32 Tape & Reel 105°C
Table 3-2. SAM C21E16A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21E16A-AUT 64K 8K TQFP32 Tape & Reel 85°C
ATSAM C21E16A-ANT 64K 8K TQFP32 Tape & Reel 105°C
ATSAM C21E16A-MUT 64K 8K QFN32 Tape & Reel 85°C
ATSAM C21E16A-MNT 64K 8K QFN32 Tape & Reel 105°C
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
16
Table 3-3. SAM C21E17A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21E17A-AUT 128K 16K TQFP32 Tape & Reel 85°C
ATSAM C21E17A-ANT 128K 16K TQFP32 Tape & Reel 105°C
ATSAM C21E17A-MUT 128K 16K QFN32 Tape & Reel 85°C
ATSAM C21E17A-MNT 128K 16K QFN32 Tape & Reel 105°C
Table 3-4. SAM C21E18A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21E18A-AUT 256K 32K TQFP32 Tape & Reel 85°C
ATSAM C21E18A-ANT 256K 32K TQFP32 Tape & Reel 105°C
ATSAM C21E18A-MUT 256K 32K QFN32 Tape & Reel 85°C
ATSAM C21E18A-MNT 256K 32K QFN32 Tape & Reel 105°C
3.2. SAM C21G
Table 3-5. SAM C21G15A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21G15A-AUT 32K 4K TQFP48 Tape & Reel 85°C
ATSAM C21G15A-ANT 32K 4K TQFP48 Tape & Reel 105°C
ATSAM C21G15A-MUT 32K 4K QFN48 Tape & Reel 85°C
ATSAM C21G15A-MNT 32K 4K QFN48 Tape & Reel 105°C
Table 3-6. SAM C21G16A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21G16A-AUT 64K 8K TQFP48 Tape & Reel 85°C
ATSAM C21G16A-ANT 64K 8K TQFP48 Tape & Reel 105°C
ATSAM C21G16A-MUT 64K 8K QFN48 Tape & Reel 85°C
ATSAM C21G16A-MNT 64K 8K QFN48 Tape & Reel 105°C
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
17
Table 3-7. SAM C21G17A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21G17A-AUT 128K 16K TQFP48 Tape & Reel 85°C
ATSAM C21G17A-ANT 128K 16K TQFP48 Tape & Reel 105°C
ATSAM C21G17A-MUT 128K 16K QFN48 Tape & Reel 85°C
ATSAM C21G17A-MNT 128K 16K QFN48 Tape & Reel 105°C
Table 3-8. SAM C21G18A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21G18A-AUT 256K 32K TQFP48 Tape & Reel 85°C
ATSAM C21G18A-ANT 256K 32K TQFP48 Tape & Reel 105°C
ATSAM C21G18A-MUT 256K 32K QFN48 Tape & Reel 85°C
ATSAM C21G18A-MNT 256K 32K QFN48 Tape & Reel 105°C
3.3. SAM C21J
Table 3-9. SAM C21J15A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21J15A-AUT 32K 4K TQFP64 Tape & Reel 85°C
ATSAM C21J15A-ANT 32K 4K TQFP64 Tape & Reel 105°C
ATSAM C21J15A-MUT 32K 4K QFN64 Tape & Reel 85°C
ATSAM C21J15A-MNT 32K 4K QFN64 Tape & Reel 105°C
Table 3-10. SAM C21J16A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21J16A-AUT 64K 8K TQFP64 Tape & Reel 85°C
ATSAM C21J16A-ANT 64K 8K TQFP64 Tape & Reel 105°C
ATSAM C21J16A-MUT 64K 8K QFN64 Tape & Reel 85°C
ATSAM C21J16A-MNT 64K 8K QFN64 Tape & Reel 105°C
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
18
Table 3-11. SAM C21J17A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21J17A-AUT 128K 16K TQFP64 Tape & Reel 85°C
ATSAM C21J17A-ANT 128K 16K TQFP64 Tape & Reel 105°C
ATSAM C21J17A-MUT 128K 16K QFN64 Tape & Reel 85°C
ATSAM C21J17A-MNT 128K 16K QFN64 Tape & Reel 105°C
Table 3-12. SAM C21J18A Ordering Codes
Ordering Code FLASH
(bytes)
SRAM
(bytes)
Package Carrier Type Temp
ATSAM C21J18A-AUT 256K 32K TQFP64 Tape & Reel 85°C
ATSAM C21J18A-ANT 256K 32K TQFP64 Tape & Reel 105°C
ATSAM C21J18A-MUT 256K 32K QFN64 Tape & Reel 85°C
ATSAM C21J18A-MNT 256K 32K QFN64 Tape & Reel 105°C
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
19
4. Block Diagram
6 x SERCOM
8 x Timer Counter
AHB-APB
BRIDGE C
M
M
HIGH SPEED
BUS MATRIX
PORT
PORT
SERIAL
WIRE
SWDIO
S
CORTEX-M0+
PROCESSOR
Fmax 48 MHz
SWCLK
DEVICE
SERVICE
UNIT
AHB-APB
BRIDGE A
2x 12-CHANNEL
12-bit ADC 1MSPS
AIN[11..0]
VREFA
AIN[7..0]
S
SRAM
CONTROLLER
32/16/8/4KB
RAM
M
5 x TIMER / COUNTER
EVENT SYSTEM
S
6x SERCOM
4ANALOG
COMPARATORS
X[15..0]
Y[15..0]
PERIPHERAL
TOUCH
CONTROLLER
AHB-APB
BRIDGE B
VREFA
VOUT
10-bit DAC
PERIPHERAL
ACCESS CONTROLLER
S
PAD0
WO1
PAD1
PAD2
PAD3
WO0
256/128/64/32KB
8KB RWW
NVM
NVM
CONTROLLER
Cache
M
DMA
2x CAN
3x TIMER / COUNTER
FOR CONTROL
WOn
IOBUS
DMA
DMA
DMA
DMA
DMA
MICRO
TRACE BUFFER
S
WO0
WO1
(2)
TxD
RxD
3-CHANNEL
16-bit SDADC 3KSPS
AIN[5..0]
VREFB
DMA
REAL TIME
COUNTER
WATCHDOG
TIMER
RESETN
OSCILLATORS CONTROLLER
XOUT
XIN
XOUT32
XIN32
OSCULP32K
OSC32K
OSC48M
XOSC32K
XOSC
EXTERNAL INTERRUPT
CONTROLLER
MAIN CLOCKS
CONTROLLER
EXTINT[15..0]
NMI
GCLK_IO[7..0]
FDPLL96M
GENERIC CLOCK
CONTROLLER
POWER
MANAGER
RESET
CONTROLLER
OSC32K CONTROLLER
SUPPLY CONTROLLER
VREF
BOD55
VREG
DivideAccellerator S
DMA
TEMPERATURE
SENSOR
FREQUENCY
METER
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
20
Note: 
1. Some products have different number of SERCOM instances, Timer/Counter instances, PTC
signals and ADC signals. Refer to Ordering Information on page 16 for details.
2. The three TCC instances have different configurations, including the number of Waveform Output
(WO) lines. Refer to Table 37-1 TCC Configuration Summary on page 809 for details.
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
21
5. Pinout
5.1. SAM C21E
PA00 1
PA01 2
PA02 3
PA03 4
PA04 5
PA05 6
PA06 7
PA07 8
VDDANA 9
GND 10
PA08 11
PA09 12
PA10 13
PA11 14
PA14 15
PA15 16
PA25
24
PA24
23
PA23
22
PA22
21
PA19
20
PA18
19
PA17
18
PA16
17
PA27
25
RESETN
26
PA28
27
GND
28
VDDCORE
29
VDDIN
30
PA30
31
PA31
32
DIGITAL PIN
ANALOG PIN
OSCILLATOR
GROUND
INPUT SUPPLY
REGULATED OUTPUT SUPPLY
RESET PIN
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
22
5.2. SAM C21G
PA21
PA00 1
PA01 2
PA02 3
PA03 4
GNDANA 5
VDDANA 6
PB08 7
PB09 8
PA04 9
PA05 10
PA06 11
PA07 12
PA08 13
PA09 14
PA10 15
PA11 16
VDDIO 17
GND 18
PB10 19
PB11 20
PA12 21
PA13 22
PA14 23
PA15 24
VDDIO36
GND35
PA2534
PA2433
PA2332
PA2231
30
PA2029
PA1928
PA1827
PA1726
PA1625
PB22
37
PB23
38
PA27
39
RESETN
40
PA28
41
GND
42
VDDCORE
43
VDDIN
44
PA30
45
PA31
46
PB02
47
PB03
48
DIGITAL PIN
ANALOG PIN
OSCILLATOR
GROUND
INPUT SUPPLY
REGULATED OUTPUT SUPPLY
RESET PIN
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
23
5.3. SAM C21J
PA00 1
PA01 2
PA02 3
PA03 4
PB04 5
PB05 6
GNDANA 7
VDDANA 8
PB06 9
PB07 10
PB08 11
PB09 12
PA04 13
PA05 14
PA06 15
PA07 16
PA08 17
PA09 18
PA10 19
PA11 20
VDDIO 21
GND 22
PB10 23
PB11
24
PB12 25
PB13 26
PB14 27
PB15 28
PA12 29
PA13 30
PA14 31
PA15 32
VDDIO48
GND47
PA2546
PA2445
PA2344
PA2243
PA2142
PA2041
PB1740
PB1639
PA1938
PA1837
PA1736
PA1635
VDDIO34
GND33
PB22
49
PB23
50
PA27
51
RESETN
52
PA28
53
GND
54
VDDCORE
55
VDDIN
56
PA30
57
PA31
58
PB30
59
PB31
60
PB00
61
PB01
62
PB02
63
PB03
64
DIGITAL PIN
ANALOG PIN
OSCILLATOR
GROUND
INPUT SUPPLY
REGULATED OUTPUT SUPPLY
RESET PIN
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
24
6. Signal Descriptions List
The following table gives details on signal names classified by peripheral.
Table 6-1. Signal Descriptions List
Signal Name Function Type Active Level
Analog Comparators - AC
AIN[7:0] AC Analog Inputs Analog
CMP[2:0] AC Comparator Outputs Digital
Analog Digital Converter - ADCx
AIN[19:0] ADC Analog Inputs Analog
VREFA ADC Voltage External Reference A Analog
Digital Analog Converter - DAC
VOUT[1:0] DAC Voltage output Analog
VREFA DAC Voltage External Reference Analog
Sigma-Delta Analog Digital Converter - SDADC
INN[2:0] SDADC Analog Negative Inputs Analog
INP[2:0] SDADC Analog Positive Inputs Analog
VREFB SDADC Voltage External Reference B Analog
External Interrupt Controller - EIC
EXTINT[15:0] External Interrupts inputs Digital
NMI External Non-Maskable Interrupt input Digital
Generic Clock Generator - GCLK
GCLK_IO[7:0] Generic Clock (source clock inputs or generic clock
generator output)
Digital
Custom Control Logic - CCL
IN[11:0] Logic Inputs Digital
OUT[3:0] Logic Outputs Digital
Power Manager - PM
RESETN Reset input Digital Low
Serial Communication Interface - SERCOMx
PAD[3:0] SERCOM Inputs/Outputs Pads Digital
Oscillators Control - OSCCTRL
XIN Crystal or external clock Input Analog/Digital
XOUT Crystal Output Analog
32KHz Oscillators Control - OSC32KCTRL
XIN32 32KHz Crystal or external clock Input Analog/Digital
XOUT32 32KHz Crystal Output Analog
Timer Counter - TCx
WO[1:0] Waveform Outputs Digital
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
25
Signal Name Function Type Active Level
Timer Counter - TCCx
WO[1:0] Waveform Outputs Digital
Peripheral Touch Controller - PTC
X[15:0] PTC Input Analog
Y[15:0] PTC Input Analog
General Purpose I/O - PORT
PA25 - PA00 Parallel I/O Controller I/O Port A Digital
PA28 - PA27 Parallel I/O Controller I/O Port A Digital
PA31 - PA30 Parallel I/O Controller I/O Port A Digital
PB17 - PB00 Parallel I/O Controller I/O Port B Digital
PB23 - PB22 Parallel I/O Controller I/O Port B Digital
PB31 - PB30 Parallel I/O Controller I/O Port B Digital
Controller Area Network - CAN
TX CAN Transmit Line Digital
RX CAN Receive Line Digital
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
26
7. I/O Multiplexing and Considerations
7.1. Multiplexed Signals
Each pin is by default controlled by the PORT as a general purpose I/O and alternatively it can be
assigned to one of the peripheral functions A, B, C, D, E, F, G; H or I. To enable a peripheral function on a
pin, the Peripheral Multiplexer Enable bit in the Pin Configuration register corresponding to that pin
(PINCFGn.PMUXEN, n = 0-31) in the PORT must be written to one. The selection of peripheral function A
to H is done by writing to the Peripheral Multiplexing Odd and Even bits in the Peripheral Multiplexing
register (PMUXn.PMUXE/O) in the PORT.
Table 7-1.  PORT Function Multiplexing
Pin I/O Pin Supply Type A B(1)(2) C D E F G H I
SAM
C21E
SAM
C21G
SAM
C21J
EIC REF ADC0 ADC1 AC PTC DAC SDADC SERCOM(1)(2)
(3)
SERCOM-ALT(3) TC(4)/TCC TCC COM AC/GCLK CCL
1 1 1 PA00 VDDANA EXTINT[0] SERCOM1/
PAD[0]
TCC2/WO[0] CMP[2]
2 2 2 PA01 VDDANA EXTINT[1] SERCOM1/
PAD[1]
TCC2/WO[1] CMP[3]
3 3 3 PA02 VDDANA EXTINT[2] AIN[0] AIN[4] Y[0] VOUT
4 4 4 PA03 VDDANA EXTINT[3] ADC/
VREFA
DAC/
VREFA
AIN[1] AIN[5] Y[1]
5 PB04 VDDANA EXTINT[4] AIN[6] Y[10]
6 PB05 VDDANA EXTINT[5] AIN[7] AIN[6] Y[11]
9 PB06 VDDANA EXTINT[6] AIN[8] AIN[7] Y[12] INN[2] CCL2/
IN[6]
10 PB07 VDDANA EXTINT[7] AIN[9] Y[13] INP[2] CCL2/
IN[7]
7 11 PB08 VDDANA EXTINT[8] AIN[2] AIN[4] Y[14] INN[1] SERCOM4/
PAD[0]
TC0/WO[0] CCL2/
IN[8]
8 12 PB09 VDDANA EXTINT[9] AIN[3] AIN[5] Y[15] INP[1] SERCOM4/
PAD[1]
TC0WO[1] CCL2/
OUT[2]
5 9 13 PA04 VDDANA EXTINT[4] SDADC
VREFB
AIN[4] AIN[0] Y[2] SERCOM0/
PAD[0]
TCC0/WO[0] CCL0/
IN[0]
6 10 14 PA05 VDDANA EXTINT[5] AIN[5] AIN[1] Y[3] SERCOM0/
PAD[1]
TCC0/WO[1] CCL0/
IN[1]
7 11 15 PA06 VDDANA EXTINT[6] AIN[6] AIN[2] Y[4] INN[0] SERCOM0/
PAD[2]
TCC1/WO[0] CCL0/
IN[2]
8 12 16 PA07 VDDANA EXTINT[7] AIN[7] AIN[3] Y[5] INP[0] SERCOM0/
PAD[3]
TCC1/WO[1] CCL0/
OUT[0]
11 13 17 PA08 VDDIO I2C NMI AIN[8] AIN[10] X[0]/Y[16] SERCOM0/
PAD[0]
SERCOM2/
PAD[0]
TCC0/WO[0] TCC1/
WO[2]
CCL1/
IN[3]
12 14 18 PA09 VDDIO I2C EXTINT[9] AIN[9] AIN[11] X[1]/Y[17] SERCOM0/
PAD[1]
SERCOM2/
PAD[1]
TCC0/WO[1] TCC1/
WO[3]
CCL1/
IN[4]
13 15 19 PA10 VDDIO HS EXTINT[10] AIN[10] X[2]/Y[18] SERCOM0/
PAD[2]
SERCOM2/
PAD[2]
TCC1/WO[0] TCC0/
WO[2]
GCLK_IO[4] CCL1/
IN[5]
14 16 20 PA11 VDDIO HS EXTINT[11] AIN[11] X[3]/Y[19] SERCOM0/
PAD[3]
SERCOM2/
PAD[3]
TCC1/WO[1] TCC0/
WO[3]
GCLK_IO[5] CCL1/
OUT[1]
19 23 PB10 VDDIO HS EXTINT[10] SERCOM4/
PAD[2]
TC1/WO[0] TCC0/
WO[4]
CAN1/TX GCLK_IO[4] CCL1/
IN[5]
20 24 PB11 VDDIO HS EXTINT[11] SERCOM4/
PAD[3]
TC1/WO[1] TCC0/
WO[5]
CAN1/RX GCLK_IO[5] CCL1/
OUT[1]
25 PB12 VDDIO I2C EXTINT[12] X[12]/
Y[28]
SERCOM4/
PAD[0]
TC0/WO[0] TCC0/
WO[6]
GCLK_IO[6]
26 PB13 VDDIO I2C EXTINT[13] X[13]/
Y[29]
SERCOM4/
PAD[1]
TC0/WO[1] TCC0/
WO[7]
GCLK_IO[7]
27 PB14 VDDIO EXTINT[14] X[14]/
Y[30]
SERCOM4/
PAD[2]
TC1/WO[0] CAN1/TX GCLK_IO[0] CCL3/
IN[9]
28 PB15 VDDIO EXTINT[15] X[15]/
Y[31]
SERCOM4/
PAD[3]
TC1/WO[1] CAN1/RX GCLK_IO[1] CCL3/
IN[10]
21 29 PA12 VDDIO I2C EXTINT[12] SERCOM2/
PAD[0]
SERCOM4/
PAD[0]
TCC2/WO[0] TCC0/
WO[6]
AC/CMP[0]
22 30 PA13 VDDIO I2C EXTINT[13] SERCOM2/
PAD[1]
SERCOM4/
PAD[1]
TCC2/WO[1] TCC0/
WO[7]
AC/CMP[1]
15 23 31 PA14 VDDIO EXTINT[14] SERCOM2/
PAD[2]
SERCOM4/
PAD[2]
TC4/WO[0] TCC0/
WO[4]
GCLK_IO[0]
16 24 32 PA15 VDDIO EXTINT[15] SERCOM2/
PAD[3]
SERCOM4/
PAD[3]
TC4/WO[1] TCC0/
WO[5]
GCLK_IO[1]
Atmel SAM C21E / SAM C21G / SAM C21J [DATASHEET]
Atmel-42365F-SAM-C21_Datasheet_Preliminary-02/2016
27