36.4 Signal Description

Signal NameTypeDescription
PAD[0]Digital I/OSDA
PAD[1]Digital I/OSCL
PAD[2]Digital I/OSDA_OUT (4-wire operation)
PAD[3]Digital I/OSCL_OUT (4-wire operation)
CAUTION: When the SERCOM is used in I2C mode, the SERCOM controls the direction and value of the I/O pins.

The PORT Control bit (PINCFGn.DRVSTR) is still effective for the SERCOM output pins. The PORT Control bit (PINCFGn.PULLEN) is still effective on the SERCOM input pins, but is limited to the enabling or disabling of a pull down only (it is not possible to enable or disable a pull up). If the receiver or transmitter is disabled, these pins can be used for other purposes.

Important: I²C is not supported on all SERCOM pins.

The following table lists the SERCOM pins which support I2C:

Table 36-1. SERCOM I2C Pins (PIC32CM2532 and PIC32CM5164 devices)
Pin NamePeripheral C

SERCOM

Peripheral D

SERCOM ALT

PA08SERCOM1/PAD[0]SERCOM2/PAD[0]
PA09SERCOM1/PAD[1]SERCOM2/PAD[1]
PA12SERCOM2/PAD[0]SERCOM4/PAD[0]
PA13SERCOM2/PAD[1]SERCOM4/PAD[1]
PA16SERCOM1/PAD[0]SERCOM0/PAD[0]
PA17SERCOM1/PAD[1]SERCOM0/PAD[1]
PA22SERCOM0/PAD[0]SERCOM2/PAD[0]
PA23SERCOM0/PAD[1]SERCOM2/PAD[1]
PB12SERCOM3/PAD[0]-
PB13SERCOM3/PAD[1]-
PB16SERCOM5/PAD[0]-
PB17SERCOM5/PAD[1]-
PB30SERCOM1/PAD[0]SERCOM5/PAD[0]
PB31SERCOM1/PAD[1]SERCOM5/PAD[1]
CAUTION:
  • I2C is not supported on SERCOM3 and SERCOM5 for 48-pin packages. Refer to the Pinout for additional information.
  • I/Os for SERCOM peripherals are grouped into I/O sets, listed in their ‘IOSET’ column in the pinout tables. For these peripherals, it is mandatory to use I/Os that belong to the same I/O set. The timings are not guaranteed when I/Os from different I/O sets are mixed. Refer to the Pinout and Packaging chapter to get IOSET definitions.
Table 36-2. SERCOM I2C Pins (PIC32CM1216 devices)
Pin NamePeripheral C

SERCOM

Peripheral D

SERCOM ALT

PA08SERCOM1/PAD[0]SERCOM2/PAD[0]
PA09SERCOM1/PAD[1]SERCOM2/PAD[1]
PA16SERCOM1/PAD[0]SERCOM0/PAD[0]
PA17SERCOM1/PAD[1]SERCOM0/PAD[1]
PA22SERCOM0/PAD[0]SERCOM2/PAD[0]
PA23SERCOM0/PAD[1]SERCOM2/PAD[1]
CAUTION:
  • I/Os for SERCOM peripherals are grouped into I/O sets, listed in their ‘IOSET’ column in the pinout tables. For these peripherals, it is mandatory to use I/Os that belong to the same I/O set. The timings are not guaranteed when I/Os from different I/O sets are mixed. Refer to the Pinout and Packaging chapter to get IOSET definitions.