Function
-
A
B
C
D
E
F
H
I
Type
L22G(5) L22J L22N Pad Name EIC
ANAREF ADC
AC
PTC
SLCD
SERCOM(6)
SERCOM(6)
TC/TCC
TCC/RTC COM/RTC
AC/
GCLK/
SUPC
CCL
38
50
79
PB23
EIC/EXTINT[7]
SERCOM0/
PAD[3]
SERCOM5/
PAD[3]
TC/3/
WO[1]
TCC/
WO[3]
GCLK/
IO[1]
CCL/
OUT[0]
80
PB24
EIC/EXTINT[8]
SERCOM0/
PAD[0]
SERCOM4/
PAD[0]
TCC/
WO[6]
AC/
CMP[0]
81
PB25
EIC/EXTINT[9]
SERCOM0/
PAD[1]
SERCOM4/
PAD[1]
TCC/
WO[7]
AC/
CMP[1]
82
PC24
EIC/EXTINT[0]
SERCOM0/
PAD[2]
SERCOM4/
PAD[2]
TC/2/
WO[0]
TCC/
WO[0]
83
PC25
EIC/EXTINT[1]
SERCOM0/
PAD[3]
SERCOM4/
PAD[3]
TC/2/
WO[1]
TCC/
WO[1]
84
PC26
EIC/EXTINT[2]
TC/3/
WO[0]
TCC/
WO[2]
85
PC27
EIC/EXTINT[3]
SERCOM1/
PAD[0]
TC/3/
WO[1]
TCC/
WO[3]
CCL/IN[4]
86
PC28
EIC/EXTINT[4]
PTC/
XY[20]
SERCOM1/
PAD[1]
TCC/
WO[4]
CCL/IN[5]
recommended for
GCLK IO
39
51
87
PA27
EIC/EXTINT[15]
PTC/
XY[21]
TCC/
WO[5]
TAL/BRK
GCLK/
IO[0]
40
52
88
RESET_N
45
57
93
PA30
EIC/EXTINT[10]
PTC/
XY[22]
SERCOM1/
PAD[2]
CORTEX_M0P/
SWCLK
GCLK/
IO[0]
CCL/IN[3]
46
58
94
PA31
EIC/EXTINT[11]
PTC/
XY[23]
SERCOM1/
PAD[3]
SWDIO
CCL/
OUT[1]
I2C: Sm, Fm, Fm
+, Hs
59
95
PB30
EIC/EXTINT[14]
SERCOM1/
PAD[0]
SERCOM5/
PAD[0]
TCC/
WO[0]
60
96
PB31
EIC/EXTINT[15]
SERCOM1/
PAD[1]
SERCOM5/
PAD[1]
TCC/
WO[1]
Battery backup
61
97
PB00
EIC/EXTINT[0]
ADC/
AIN[8]
SERCOM3/
PAD[2]
SERCOM5/
PAD[2]
TC/3/
WO[0]
RTC/IN[0]
SUPC/
PSOK
CCL/IN[1]
62
98
PB01
EIC/EXTINT[1]
ADC/
AIN[9]
SERCOM3/
PAD[3]
SERCOM5/
PAD[3]
TC/3/
WO[1]
RTC/IN[2] RTC/OUT
SUPC/
OUT[0]
CCL/IN[2]
47
63
99
PB02
EIC/EXTINT[2]
ADC/
AIN[10]
SERCOM3/
PAD[0]
SERCOM5/
PAD[0]
TC/2/
WO[0]
RTC/IN[1]
SUPC/
OUT[1]
CCL/
OUT[0]
48
64
100
PB03
EIC/EXTINT[3]
ADC/
AIN[11]
SERCOM3/
PAD[1]
SERCOM5/
PAD[1]
TC/2/
WO[1]
SUPC/
VBAT
Note:
1.
All analog pin functions are on peripheral function B. Peripheral function B must be selected to
disable the digital control of the pin.
2.
Only some pins can be used in SERCOM I
2
C mode. See the Type column for supported I
2
C
modes.
–
Sm: Standard mode, up to 100kHz
–
Fm: Fast mode, up to 400kHz
–
Fm+: Fast mode Plus, up to 1MHz
–
Hs: High-speed mode, up to 3.4MHz
3.
These pins are High Sink pins and have different properties than regular pins:
PA12, PA13, PA22, PA23, PA27, PA31, PB30, PB31.
4.
Clusters of multiple GPIO pins are sharing the same supply pin.
5.
The 49
th
pin of the WLCSP49 package is an additional GND pin.
6.
SAM L22N: SERCOM[0:5]. SAM L22G, L22J: SERCOM[0:3].
Related Links
on page 14
SERCOM USART and I2C Configurations
7.2.
Other Functions
7.2.1.
Oscillator Pinout
The oscillators are not mapped to the normal PORT functions and their multiplexing is controlled by
registers in the Oscillators Controller (OSCCTRL) and in the 32K Oscillators Controller (OSC32KCTRL).
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
29