3.1 I/O Multiplexing
VQFN32 / TQFP32 | VQFN28 | SPDIP28 / SOIC28 / SSOP28 | Pin name (1,2) | Special | ADC0 | AC0 | DAC0 | ZCD3 | USARTn | SPI0 | TWI0(4) | TCA0 | TCBn | TCD0 | EVSYS | CCL-LUTn |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
30 | 26 | 22 | PA0 |
XTALHF1 EXTCLK | 0,TxD |
MOSI(3) | SDA(H)(3) | WO0 |
0,IN0 | |||||||
31 | 27 | 23 | PA1 |
XTALHF2 | 0,RxD |
MISO(3) | SCL(H)(3) | WO1 |
0,IN1 | |||||||
32 | 28 | 24 | PA2 |
TWI Fm+ | AIN22 |
0,XCK 0,TxD(3) |
SDA(H) | WO2 | 0,WO | EVOUTA |
0,IN2 | |||||
1 | 1 | 25 | PA3 |
TWI Fm+ | AIN23 |
0,XDIR 0,RxD(3) |
SCL(H) | WO3 | 1,WO | 0,OUT | ||||||
2 | 2 | 26 | PA4 | AIN24 | 0,TxD(3) | MOSI | WO4 |
WOA | ||||||||
3 | 3 | 27 | PA5 | AIN25 | 0,RxD(3) | MISO | WO5 |
WOB | ||||||||
4 | 4 | 28 | PA6 | AIN26 | 0,XCK(3) | SCK | WOC | 0,OUT(3) | ||||||||
5 | 5 | 1 | PA7 | CLKOUT | AIN27 | OUT | ZCOUT | 0,XDIR(3) | SS | WOD | EVOUTA(3) | |||||
6 | 6 | 2 | PC0 | AIN28(6) | 1,TxD |
SCK(3) MOSI(3) | WO0(3) | 2,WO |
1,IN0 | |||||||
7 | 7 | 3 | PC1 | AIN29(6) |
1,RxD 0,TxD(3) |
SS(3) MISO(3) MOSI(3) | WO1(3) |
1,IN1 | ||||||||
8 | 8 | 4 | PC2 |
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 | |||
9 | 9 | 5 | PC3 |
TWI Fm+ | AIN31(6) | AINP4(6) |
1,XDIR 0,XCK(3) |
SS(3) SCK(3) |
SCL(C) SCL(H)(3) | WO3(3) | 1,OUT | |||||
10 | 10 | 6 | VDDIO2 | |||||||||||||
11 | 11 | 7 | PD1 | AIN1 | WO1(3) |
2,IN1 | ||||||||||
12 | 12 | 8 | PD2 | AIN2 | AINP0 | WO2(3) | EVOUTD |
2,IN2 | ||||||||
13 | 13 | 9 | PD3 | AIN3 | AINN0 | WO3(3) | 2,OUT | |||||||||
14 | 14 | 10 | PD4 | AIN4 | 0,TxD(3) | MOSI(3) | WO4(3) | WOC(3) | ||||||||
15 | 15 | 11 | PD5 | AIN5 | 0,RxD(3) | MISO(3) | WO5(3) | WOD(3) | ||||||||
16 | 16 | 12 | PD6 | AIN6 | AINP3 | VOUT |
0,XCK(3) 1,TxD(3) | SCK(3) | 2,OUT(3) | |||||||
17 | 17 | 13 | PD7 | VREFA | AIN7 | AINN2 |
0,XDIR(3) 1,RxD(3) | SS(3) | EVOUTD(3) | |||||||
18 | 18 | 14 | VDD | |||||||||||||
19 | 19 | 15 | GND | |||||||||||||
20 | 20 | 16 | PF0 | XTAL32K1 | AIN16 | WO0(3) | WOA(3) | 3,IN0 | ||||||||
21 | 21 | 17 | PF1 | XTAL32K2 | AIN17 | WO1(3) | WOB(3) | 3,IN1 | ||||||||
22 | PF2 | AIN18 | WO2(3) | WOC(3) | EVOUTF | 3,IN2 | ||||||||||
23 | PF3 | AIN19 | WO3(3) | WOD(3) | 3,OUT | |||||||||||
24 | PF4 | AIN20 | WO4(3) | 0,WO(3) | ||||||||||||
25 | PF5 | AIN21 | WO5(3) | 1,WO(3) | ||||||||||||
26 | 22 | 18 | PF6(5) | RESET | ||||||||||||
27 | 23 | 19 | PF7 | UPDI |
SS(3) | EVOUTF(3) | ||||||||||
28 | 24 | 20 | VDD | |||||||||||||
29 | 25 | 21 | GND |
Note:
- 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.
- All pins can be used for external interrupt.
- Alternate pin positions. Refer to the PORTMUX - Port Multiplexer section for selecting the alternate positions.
- The TWI pins that can be used as host or client are marked H. The pins with client-only are marked C.
- Input-only.
- ADC and AC inputs are available on MVIO pins (PORTC) if the MVIO is disabled in the SYSCFG1.MVSYSCFG fuse setting.