6.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, or H. 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.

This table describes the peripheral signals multiplexed to the PORT I/O pins.

Table 6-1.  PORT Function Multiplexing
Pin/BallI/O PinSupplyTypeAB(2)C(1)D(1)EFGH
SAM D20E (VQFN32,TQFP32/WLCSP27)SAM D20G (VQFN48,TQFP48/WLCSP45)SAM D20J (VQFN64,TQFP64/UFBGA64)EICREFADCACPTCDACSERCOM(3)SERCOM-ALTTC(4)COMAC/GCLK
1/A11/C121/B1PA00VDDANA EXTINT[0]SERCOM1/
PAD[0]TC2/WO[0]
2/B22/B132/C1PA01VDDANAEXTINT[1]SERCOM1/
PAD[1]TC2/WO[1]
3/A33/C103/C3PA02VDDANAEXTINT[2]AIN[0]Y[0]VOUT
4/B44/C84/D3PA03VDDANAEXTINT[3]ADC/VREFA
DAC/VREFAAIN[1]Y[1]
/D115/D2PB04VDDANAEXTINT[4]AIN[12]Y[10]
6/D4PB05VDDANAEXTINT[5]AIN[13]Y[11]
9/E4PB06VDDANAEXTINT[6]AIN[14]Y[12]
10/E3PB07VDDANAEXTINT[7]AIN[15]Y[13]
7/D911/E2PB08VDDANAEXTINT[8]AIN[2]Y[14]SERCOM4/
PAD[0]TC4/WO[0]
8/E1012/F4PB09VDDANAEXTINT[9]AIN[3]Y[15]SERCOM4/
PAD[1]TC4/WO[1]
5/A59/F1313/F1PA04VDDANAEXTINT[4]ADC/VREFBAIN[4]AIN[0]Y[2]SERCOM0/
PAD[0]TC0/WO[0]
6/A710/F1114/F2PA05VDDANAEXTINT[5]AIN[5]AIN[1]Y[3]SERCOM0/
PAD[1]TC0/WO[1]
7/A911/E815/G2PA06VDDANAEXTINT[6]AIN[6]AIN[2]Y[4]SERCOM0/
PAD[2]TC1/WO[0]
8/B612/G1216/G1PA07VDDANAEXTINT[7]AIN[7]AIN[3]Y[5]SERCOM0/
PAD[3]TC1/WO[1]
11/C713/F917/H1PA08VDDIOI2CNMIAIN[16]X[0]SERCOM0/
PAD[0]SERCOM2/
PAD[0]TC0/WO[0]
12/C914/E618/H2PA09VDDIOI2CEXTINT[9]AIN[17]X[1]SERCOM0/
PAD[1]SERCOM2/
PAD[1]TC0/WO[1]
13/D815/G1019/F3PA10VDDIOEXTINT[10]AIN[18]X[2]SERCOM0/
PAD[2]SERCOM2/
PAD[2]TC1/WO[0]GCLK_IO[4]
14/D616/F720/G3PA11VDDIOEXTINT[11]AIN[19]X[3]SERCOM0/
PAD[3]SERCOM2/
PAD[3]TC1/WO[1]GCLK_IO[5]
1923/G4PB10VDDIOEXTINT[10]SERCOM4/
PAD[2]TC5/WO[0]GCLK_IO[4]
2024/E5PB11VDDIOEXTINT[11]SERCOM4/
PAD[3]TC5/WO[1]GCLK_IO[5]
25/F5PB12VDDIOI2CEXTINT[12]X[12]SERCOM4/
PAD[0]TC4/WO[0]GCLK_IO[6]
26/G5PB13VDDIOI2CEXTINT[13]X[13]SERCOM4/
PAD[1]TC4/WO[1]GCLK_IO[7]
27/H5PB14VDDIOEXTINT[14]X[14]SERCOM4/
PAD[2]TC5/WO[0]GCLK_IO[0]
28/E6PB15VDDIOEXTINT[15]X[15]SERCOM4/
PAD[3]TC5/WO[1]GCLK_IO[1]
21/D729/F6PA12VDDIOI2CEXTINT[12]SERCOM2/
PAD[0]SERCOM4/
PAD[0]TC2/WO[0]AC/CMP[0]
22/F530/G6PA13VDDIOI2CEXTINT[13]SERCOM2/
PAD[1]SERCOM4/
PAD[1]TC2/WO[1]AC/CMP[1]
15/E923/G431/H6PA14VDDIOEXTINT[14]SERCOM2/
PAD[2]SERCOM4/
PAD[2]TC3/WO[0]GCLK_IO[0]
16/E724/G232/H7PA15VDDIOEXTINT[15]SERCOM2/
PAD[3]SERCOM4/
PAD[3]TC3/WO[1]GCLK_IO[1]
17/F825/D535/G7PA16VDDIOI2CEXTINT[0]X[4]SERCOM1/
PAD[0]SERCOM3/
PAD[0]TC2/WO[0]GCLK_IO[2]
18/E526/F336/F8PA17VDDIOI2CEXTINT[1]X[5]SERCOM1/
PAD[1]SERCOM3/
PAD[1]TC2/WO[1]GCLK_IO[3]
19/F627/F137/F7PA18VDDIOEXTINT[2]X[6]SERCOM1/
PAD[2]SERCOM3/
PAD[2]TC3/WO[0]AC/CMP[0]
20/F428/E438/E7PA19VDDIOEXTINT[3]X[7]SERCOM1/
PAD[3]SERCOM3/
PAD[3]TC3/WO[1]AC/CMP[1]
39/D7PB16VDDIOI2CEXTINT[0]SERCOM5/
PAD[0]TC6/WO[0]GCLK_IO[2]
40/D5PB17VDDIOI2CEXTINT[1]SERCOM5/
PAD[1]TC6/WO[1]GCLK_IO[3]
29/E241/D6PA20VDDIOEXTINT[4]X[8]SERCOM5/
PAD[2]SERCOM3/
PAD[2]TC7/WO[0]GCLK_IO[4]
30/D142/C5PA21VDDIOEXTINT[5]X[9]SERCOM5/
PAD[3]SERCOM3/
PAD[3]TC7/WO[1]GCLK_IO[5]
21/E331/C643/C6PA22VDDIOI2CEXTINT[6]X[10]SERCOM3/
PAD[0]SERCOM5/
PAD[0]TC4/WO[0]GCLK_IO[6]
2232/D344/C7PA23VDDIOI2CEXTINT[7]X[11]SERCOM3/
PAD[1]SERCOM5/
PAD[1]TC4/WO[1]GCLK_IO[7]
2333/C245/E8PA24VDDIOEXTINT[12]SERCOM3/
PAD[2]SERCOM5/
PAD[2]TC5/WO[0]
2434/B146/D8PA25VDDIOEXTINT[13]SERCOM3/
PAD[3]SERCOM5/
PAD[3]TC5/WO[1]
3749/A8PB22VDDIOEXTINT[6]SERCOM5/
PAD[2]TC7/WO[0]GCLK_IO[0]
3850/A7PB23VDDIOEXTINT[7]SERCOM5/
PAD[3]TC7/WO[1]GCLK_IO[1]
2539/A251/B7PA27VDDIOEXTINT[15]GCLK_IO[0]
27/E141/A453/A6PA28VDDIOEXTINT[8]GCLK_IO[0]
31/C345/B757/B5PA30VDDIOEXTINT[10]SERCOM1/
PAD[2]TC1/WO[0]SWCLKGCLK_IO[0]
32/D446/B958/B4PA31VDDIOEXTINT[11]SERCOM1/
PAD[3]TC1/WO[1]SWDIO(5)
59/C4PB30VDDIOI2CEXTINT[14]SERCOM5/
PAD[0]TC0/WO[0]
60/B3PB31VDDIOI2CEXTINT[15]SERCOM5/
PAD[1]TC0/WO[1]
61/B2PB00VDDANAEXTINT[0]AIN[8]Y[6]SERCOM5/
PAD[2]TC7/WO[0]
62/A2PB01VDDANAEXTINT[1]AIN[9]Y[7]SERCOM5/
PAD[3]TC7/WO[1]
47/A1263/A1PB02VDDANAEXTINT[2]AIN[10]Y[8]SERCOM5/
PAD[0]TC6/WO[0]
48/B1164/C2PB03VDDANAEXTINT[3]AIN[11]Y[9]SERCOM5/
PAD[1]TC6/WO[1]
Note:
  1. SERCOM4/SERCOM5 are not available on VQFN32/TQFP32 and WLCSP27 packages.
  2. All analog pin functions are on peripheral function B. Peripheral function B must be selected to disable the digital control of the pin.
  3. Only some pins can be used in SERCOM I2C mode. Refer to the Type column for using a SERCOM pin in I2C mode. Refer to “Electrical Characteristics” for details on the I2C pin characteristics.
  4. TC6 and TC7 are not supported on the SAM D20E and SAM D20G devices. Refer to the Configuration Summary for details.
  5. The SWDIO function is only activated in the presence of a debugger.