6.7 Function Priority for Device Pins

The device pins have an associated priority order in which functionality is exhibited on each pin. This priority order impacts the availability of PPS functionality. For example, if enabling SERCOM0, choose the outputs to be High Speed mode in the DEVCFG1 fuses (bit 17), give priority to pins PB9, PA4, PA5 and PA6 and use them as SERCOM0 pins instead of GPIO/PPS pins. The following table provides details for the priority in which functions are brought out on each device pin. Top entry is higher priority and bottom entry is lower priority for each specific pin.

Table 6-12. Priority for Device Pins PAn (n = 0-14)
Pin NameFunction In Priority OrderReference Peripheral
pa0(1)QSPI_DATA0QSPI
RTC_IN3RTCC
RPA0PPS
IOCA0Change notification
RA0GPIO
pa1(1)QSPI_SCKQSPI
RTC_IN2RTCC
RPA1PPS
IOCA1Change notification
RA1GPIO
pa2(1)QSPI_DATA3QSPI
RTC_IN1RTCC
RPA2PPS
IOCA2Change notification
RA2GPIO
pa3TRD2Trace (Debug)
SCLKISecondary oscillator
DACOUTDAC
ANN0ADC (Differential)
RTC_IN0RTCC
RPA3PPS
IOCA3Change notification
RA3GPIO
pa4SERCOM0_PAD3SERCOM0
RTC_OUTRTCC
RPA4PPS
IOCA4Change notification
RA4GPIO
pa5SERCOM0_PAD0SERCOM0
AC_CMP0Analog comparator
RPA5PPS
IOCA5Change notification
RA5GPIO
pa6TRD3Trace (Debug)
SERCOM0_PAD1SERCOM0
AC_CMP1_ALTAnalog comparator
RPA6PPS
IOCA6Change notification
RA6GPIO
pa7TRACECLKTrace (Debug)
SERCOM1_PAD0SERCOM1
RPA7PPS
IOCA7Change notification
RA7GPIO
pa8SERCOM1_PAD1SERCOM1
RPA8PPS
IOCA8Change notification
RA8GPIO
pa9SERCOM1_PAD2SERCOM1
RTC_IN0_ALTRTCC
RPA9PPS
IOCA9Change notification
RA9GPIO
pa10SERCOM1_PAD3SERCOM1
RTC_OUT_ALTRTCC
RPA10PPS
IOCA10Change notification
RA10GPIO
pa11SOSCISecondary oscillator
RPA11PPS (Re-mappable input only)
RA11GPIO (input only)
pa12SOSCOSecondary oscillator
RPA12PPS (Re-mappable input only)
RA12GPIO (input only)
pa13(1)SERCOM2_PAD0SERCOM2 (I2C only)
AC_CMP1Analog comparator
RPA13PPS
IOCA13Change notification
RA13GPIO
pa14(1)SERCOM2_PAD1SERCOM2 (I2C)
RPA14PPS
IOCA14Change notification
RA14GPIO
Note:
  1. Indicates pins are not available on the 32-pin package and available only on the 48-pin package.
Table 6-13. Priority for Device Pins PBn (n = 0-13)
Pin NameFunction In Priority OrderReference Peripheral
pb0(1)AN4ADC
CVD4CVD
CVDR4CVD
CVDT4CVD
AC_AIN2Analog comparator
RPB0PPS
IOCB0Change notification
RB0GPIO
pb1(1)AN5ADC
CVD5CVD
CVDR5CVD
CVDT5CVD
AC_AIN3Analog comparator
RPB1PPS
IOCB1Change notification
RB1GPIO
pb2(1)AN6ADC
CVD6CVD
CVDR6CVD
CVDT6CVD
AC_AIN0Analog comparator
RPB2PPS
IOCB2Change notification
RB2GPIO
pb3(1)AN7ADC
CVD7CVD
CVDR7CVD
CVDT7CVD
AC_AIN1Analog comparator
RPB3PPS
IOCB3Change notification
RB3GPIO
pb4AN0ADC
CVD0CVD
CVDR0CVD
CVDT0CVD
RPB4PPS
IOCB4Change notification
RB4GPIO
pb5TRD0Trace (Debug)
AN1ADC
CVD1CVD
CVDR1CVD
CVDT1CVD
RPB5PPS
IOCB5Change notification
RB5GPIO
pb6TRD1 Trace (Debug)
AN2ADC
CVD2CVD
CVDR2CVD
CVDT2CVD
RPB6PPS
IOCB6Change notification
RB6GPIO
pb7SWODebug
AN3ADC
CVD3CVD
CVDR3CVD
CVDT3CVD
LVDINLVD Voltage reference
RPB7PPS
IOCB7Change notification
RB7GPIO
pb8SWCLKDebug
RPB8PPS
IOCB8Change notification
RB8GPIO
pb9CM4_SWDIODebug
SERCOM0_PAD2SERCOM0
RPB9PPS
INT0Wake-up interrupt
IOCB9Change notification
RB9GPIO
pb10(1)RPB10PPS
IOCB10Change notification
RB10GPIO
pb11(1)QSPI_DATA2QSPI
RPB11PPS
IOCB11Change notification
RB11GPIO
pb12(1)QSPI_DATA1QSPI
RPB12PPS
IOCB12Change notification
RB12GPIO
pb13(1)QSPI_CSQSPI
RTC_EVENTRTCC
RPB13PPS
IOCB13Change notification
RB13GPIO
Note:
  1. Indicates that pins are not available on the 32-pin package.