3.1 I/O Multiplexing

VQFN64/

TQFP64

VQFN48/

TQFP48

VQFN32/

TQFP32

SOIC28/

SSOP28/SPDIP28

Pin name(1,2)

Special

ADC0ACnDAC0OPAMPZCDnUSARTnSPIn TWIn(4)TCAnTCBnTCD0EVSYSCCL
62443022PA0

XTALHF1
                         EXTCLK

0, TxD0, WO0LUT0, IN0
63453123PA1XTALHF20, RxD0, WO1LUT0, IN1
64463224PA2

TWI
Fm+

0, XCK0, SDA(HC)0, WO20, WOEVOUTALUT0, IN2
147125PA3

TWI
Fm+

0, XDIR0, SCL(HC)0, WO31, WOLUT0, OUT
248226PA40, TxD(3)0, MOSI0, WO4WOA
31327PA50, RxD(3)0, MISO0, WO5WOB
42428PA60, XCK(3)0, SCKWOCLUT0, OUT(3)
5351PA7CLKOUT

0, OUT
1, OUT
2, OUT

0, OUT
1, OUT
2, OUT

0, XDIR(3)0, SSWODEVOUTA(3)
6VDD
7GND
84PB03, TxD

0, WO0(3)
1, WO0

LUT4, IN0
95PB13, RxD

0, WO1(3)
1, WO1

LUT4, IN1
106PB2

TWI

3, XCK1, SDA(HC)(3)

0, WO2(3)
1, WO2

EVOUTBLUT4, IN2
117PB3TWI3, XDIR1, SCL(HC)(3)

0, WO3(3)
1, WO3

LUT4, OUT
128PB43, TxD(3)1, MOSI(3)

0, WO4(3)
1, WO4

2, WO(3)WOA(3)
139PB53, RxD(3)1, MISO(3)

0, WO5(3)
1, WO5

3, WOWOB(3)
14PB63, XCK(3)1, SCK(3)1, SDA(C)(3)WOC(3)LUT4, OUT(3)
15PB73, XDIR(3)1, SS(3)1, SCL(C)(3)WOD(3)EVOUTB(3)
161062PC01, TxD1, MOSI0, WO0(3)2, WOLUT1, IN0
171173PC11, RxD1, MISO0, WO1(3)3, WO(3)LUT1, IN1
181284PC2

TWI
Fm+

1, XCK1, SCK0, SDA(HC)(3)0, WO2(3)EVOUTCLUT1, IN2
191395PC3

TWI
Fm+

1, XDIR1, SS0, SCL(HC)(3)0, WO3(3)LUT1, OUT
2014106VDDIO2
2115GND
2216PC41, TxD(3)1, MOSI(3)

0, WO4(3)
1, WO0(3)

2317PC51, RxD(3)1, MISO(3)

0, WO5(3)
1, WO1(3)

2418PC6

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

1, XCK(3)1, SCK(3)0, SDA(C)(3)1, WO2(3)LUT1, OUT(3)
2519PC7

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

1, XDIR(3)1, SS(3)0, SCL(C)(3)EVOUTC(3)
2620PD0AIN0

0, AINN1
1, AINN1
2, AINN1

0, WO0(3)LUT2, IN0
2721117PD1AIN1 OP0, INP0, ZCIN0, WO1(3)LUT2, IN1
2822128PD2AIN2

0, AINP0
1, AINP0
2, AINP0

OP0, OUT0, WO2(3)EVOUTDLUT2, IN2
2923139PD3AIN3

0, AINN0
1, AINP1

OP0, INN0, WO3(3)LUT2, OUT
30241410PD4AIN4

1, AINP2
2, AINP1

OP1, INP0, WO4(3)
31251511PD5AIN5

1, AINN0

OP1, OUT0, WO5(3)
32261612PD6AIN6

0, AINP3
1, AINP3
2, AINP3

OUTLUT2, OUT(3)
33271713PD7VREFAAIN7

0, AINN2
1, AINN2
2, AINN0/AINN2

OP1, INNEVOUTD(3)
34281814AVDD
35291915AGND
3630PE0AIN80, AINP14, TxD0, MOSI(3)0, WO0(3)
3731PE1AIN92, AINP2OP2, INP4, RxD0, MISO(3)0, WO1(3)
3832PE2AIN100, AINP2OP2, OUT4, XCK0, SCK(3)0, WO2(3)EVOUTE
3933PE3AIN11OP2, INN1, ZCIN4, XDIR0, SS(3)0, WO3(3)
40PE4AIN124, TxD(3)

0, WO4(3)
1, WO0(3)

41PE5AIN134, RxD(3)

0, WO5(3)
1, WO1(3)

42PE6AIN144, XCK(3)1, WO2(3)
43PE7AIN152, ZCIN4, XDIR(3)EVOUTE(3)
44342016PF0XTAL32K1AIN16(5)2, TxD0, WO0(3)WOA(3)LUT3, IN0
45352117PF1XTAL32K2AIN17(5)2, RxD0, WO1(3)WOB(3)LUT3, IN1
463622PF2

TWI
Fm+

AIN18(5)2, XCK1, SDA(HC)0, WO2(3)WOC(3)EVOUTFLUT3, IN2
473723PF3

TWI
Fm+

AIN19(5)2, XDIR1, SCL(HC)0, WO3(3)WOD(3)LUT3, OUT
483824PF4AIN20(5)2, TxD(3)0, WO4(3)0, WO(3)
493925PF5AIN21(5)2, RxD(3)0, WO5(3)1, WO(3)
50402618PF6(6)RESET
51412719UPDIUPDI
52PG05, TxD

0, WO0(3)
1, WO0(3)

LUT5, IN0
53PG15, RxD

0, WO1(3)
1, WO1(3)

LUT5, IN1
54PG25, XCK

0, WO2(3)
1, WO2(3)

EVOUTGLUT5, IN2
55PG35, XDIR

0, WO3(3)
1, WO3(3)

4, WOLUT5, OUT
56422820VDD
57432921GND
58PG45, TxD(3)0, MOSI(3)

0, WO4(3)
1, WO4(3)

WOA(3)
59PG55, RxD(3)0, MISO(3)

0, WO5(3)
1, WO5(3)

WOB(3)
60PG65, XCK(3)0, SCK(3)WOC(3)LUT5, OUT(3)
61PG75, XDIR(3)0, SS(3)WOD(3)EVOUTG(3)
Note:
  1. Pin names are of type Pxn, 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. All pins can be used for external interrupt, where pins Px2 and Px6 of each port have full asynchronous detection.
  3. Alternative pin positions.
  4. TWI pins are marked HC if they can be used as TWI Host or Client pins, and C if they can only be used as TWI Client pins.
  5. AIN16 - AIN21 cannot be used as a negative ADC input for differential measurements.
  6. Input only.