3.1 I/O Multiplexing

VQFN32 / TQFP32VQFN28SPDIP28 / SOIC28 / SSOP28Pin name (1,2)SpecialADC0AC0DAC0ZCD3USARTnSPI0TWI0(4)TCA0TCBnTCD0EVSYSCCL-LUTn
302622PA0

XTALHF1

EXTCLK

0,TxD

MOSI(3)

SDA(H)(3)WO0

0,IN0

312723PA1

XTALHF2

0,RxD

MISO(3)

SCL(H)(3)WO1

0,IN1

322824PA2

TWI

Fm+
AIN22

0,XCK

0,TxD(3)

SDA(H)

WO20,WOEVOUTA

0,IN2

1125PA3

TWI

Fm+
AIN23

0,XDIR

0,RxD(3)

SCL(H)

WO31,WO0,OUT
2226PA4AIN240,TxD(3)MOSIWO4

WOA

3327PA5AIN250,RxD(3)MISOWO5

WOB

4428PA6AIN260,XCK(3)SCKWOC0,OUT(3)
551PA7CLKOUTAIN27OUTZCOUT0,XDIR(3)SSWODEVOUTA(3)
662PC0AIN28(6)1,TxD

SCK(3)

MOSI(3)

WO0(3)2,WO

1,IN0

773PC1AIN29(6)

1,RxD

0,TxD(3)

SS(3)

MISO(3)

MOSI(3)

WO1(3)

1,IN1

884PC2

TWI

Fm+
AIN30(6)AINN3(6)ZCIN

1,XCK

0,RxD(3)

SCK(3)

MISO(3)

SDA(C)

SDA(H)(3)

WO2(3)EVOUTC

1,IN2

995PC3

TWI

Fm+
AIN31(6)AINP4(6)

1,XDIR

0,XCK(3)

SS(3)

SCK(3)

SCL(C)

SCL(H)(3)

WO3(3)1,OUT
10106VDDIO2
11117PD1AIN1WO1(3)

2,IN1

12128PD2AIN2AINP0WO2(3)EVOUTD

2,IN2

13139PD3AIN3AINN0WO3(3)2,OUT
141410PD4AIN40,TxD(3)MOSI(3)WO4(3)WOC(3)
151511PD5AIN50,RxD(3)MISO(3)WO5(3)WOD(3)
161612PD6AIN6AINP3VOUT

0,XCK(3)

1,TxD(3)

SCK(3)2,OUT(3)
171713PD7VREFAAIN7AINN2

0,XDIR(3)

1,RxD(3)

SS(3)EVOUTD(3)
181814VDD
191915GND
202016PF0XTAL32K1AIN16WO0(3)WOA(3)3,IN0
212117PF1XTAL32K2AIN17WO1(3)WOB(3)3,IN1
22PF2 AIN18WO2(3)WOC(3)EVOUTF3,IN2
23PF3AIN19WO3(3)WOD(3)3,OUT
24PF4AIN20WO4(3)0,WO(3)
25PF5AIN21WO5(3)1,WO(3)
262218PF6(5)RESET
272319PF7UPDI

SS(3)

EVOUTF(3)
282420VDD
292521GND
Note:
  1. The pin names are Pxn type, with x being the PORT instance (A, B, C, ...) and n, the pin number. The notation for signals is PORTx_PINn. All pins can be used as event input.
  2. All pins can be used for external interrupt.
  3. Alternate pin positions. Refer to the PORTMUX - Port Multiplexer section for selecting the alternate positions.
  4. The TWI pins that can be used as host or client are marked H. The pins with client-only are marked C.
  5. Input-only.
  6. ADC and AC inputs are available on MVIO pins (PORTC) if the MVIO is disabled in the SYSCFG1.MVSYSCFG fuse setting.