3.1 I/O Multiplexing

Table 3-1. PORT Function Multiplexing

VQFN/TQFP 48-pin

VQFN/TQFP 32-pin

SPDIP/SSOP 28-pin

VQFN 28-pin

Pin name(1)SpecialADC0ACnDAC0USARTnSPI0TWI0(3)TCAnTCBnCCLEVSYS
44302226PA0

XTALHF1
                            EXTCLK

0, TxD0, MOSI(2)0, SDA(HC)(2)0, WO0LUT0, IN0
45312327PA1XTALHF2 0, RxD0, MISO(2)0, SCL(HC)(2)0, WO1LUT0, IN1
46322428PA2AIN22

0, XCK
                                0, TxD(2)

0, SDA(HC)0, WO20, WOLUT0, IN2 EVOUTA
471251PA3AIN23

0, XDIR
                                0, RxD(2)

0, SCL(HC)0, WO31, WOLUT0, OUT
482262PA4AIN240, TxD(2)0, MOSI

0, WO4
                                1, WO0(2)

13273PA5AIN250, RxD(2)0, MISO

0, WO5
                                1, WO1(2)

24284PA6AIN260, XCK(2)0, SCK1, WO2(2)LUT0, OUT(2)
3515PA7CLKOUTAIN27

0, OUT
                                1, OUT

0, XDIR(2)0, SSEVOUTA(2)
4PB0

0, WO0(2)
                                1, WO0

5PB1

0, WO1(2)
                                1, WO1

6PB2

0, WO2(2)
                                1, WO2

EVOUTB
7PB3

0, WO3(2)
                                1, WO3

8PB4

0, WO4(2)
                                1, WO4

2, WO(2)
9PB5

0, WO5(2)
                                1, WO5

3, WO
10626PC0AIN281, TxD

0, SCK(2)
                                0, MOSI(2)

0, WO0(2)2, WOLUT1, IN0
11737PC1AIN29

1, RxD
                                0, TxD(2)

0,SS(2)
                                0, MISO(2)
                                0, MOSI(2)

0, WO1(2)3, WO(2)LUT1, IN1
12848PC2AIN30

0, AINN3
                                1, AINN3

1, XCK
                                0, RxD(2)

0, SCK(2)
                                0, MISO(2)

0, SDA(C)
                                0, SDA(HC)(2)

0, WO2(2)LUT1, IN2EVOUTC
13959PC3AIN31

0, AINP4
                                1, AINP4

1, XDIR
                                0,XCK(2)

0, SS(2)
                                0, SCK(2)

0, SCL(C)
                                0, SCL(HC)(2)

0, WO3(2)LUT1, OUT
14VDD
15GND
16PC41, TxD(2)

0, WO4(2)
                                1, WO0(2)

17PC51, RxD(2)

0, WO5(2)
                                1, WO1(2)

18PC6

0, OUT(2)
                                1, OUT(2)

1, XCK(2)0, SDA(C)(2)1, WO2(2)LUT1, OUT(2)
19PC71, XDIR(2)0, SCL(C)(2)EVOUTC(2)
2010610PD0AIN0

0, AINN1
                                1, AINN1

0, WO0(2)LUT2, IN0
2111711PD1AIN1 0, WO1(2)LUT2, IN1
2212812PD2AIN2

0, AINP0
                                1, AINP0

0, WO2(2)LUT2, IN2EVOUTD
2313913PD3AIN3

0, AINN0
                                1, AINP1

0, WO3(2)LUT2, OUT
24141014PD4AIN41, AINP20, TxD(2)0, MOSI(2)

0, WO4(2)
                                1, WO0(2)

25151115PD5AIN51, AINN00, RxD(2)0, MISO(2)

0, WO5(2)
                                1, WO1(2)

26161216PD6AIN6

0, AINP3
                                1, AINP3

OUT

0, XCK(2)
                                1, TxD(2)

0, SCK(2)1, WO2(2)LUT2, OUT(2)
27171317PD7VREFAAIN7

0, AINN2
                                1, AINN2

0, XDIR(2)
                                1, RxD(2)

0, SS(2)EVOUTD(2)
28181418VDD
29191519GND
30PE0AIN80, AINP10, MOSI(2)0, WO0(2)
31PE1AIN90, MISO(2)0, WO1(2)
32PE2AIN100, AINP20, SCK(2)0, WO2(2)EVOUTE
33PE3AIN110, SS(2)0, WO3(2)
34201620PF0XTAL32K1AIN162, TxD0, WO0(2)LUT3, IN0
35211721PF1XTAL32K2AIN172, RxD0, WO1(2)LUT3, IN1
3622PF2AIN182, XCK0, WO2(2)LUT3, IN2EVOUTF
3723PF3AIN192, XDIR0, WO3(2)LUT3, OUT
3824PF4AIN202, TxD(2)0, WO4(2)0, WO(2)
3925PF5AIN212, RxD(2)0, WO5(2)1, WO(2)
40261822PF6RESET/HV
41271923PF7UPDI0, SS(2)EVOUTF(2)
42282024VDD
43292125GND
Note:
  1. Pin names are of Pxn type, with x being the PORT instance (A, B, C, ...) and n the pin number. Notation for signals is PORTx_PINn. All pins can be used as event inputs.
  2. Alternative pin positions.
  3. TWI pins are marked HC if they can be used as TWI Host or Client pins and C if they only can be used as TWI Client pins.