5.6.3 Inter-Integrated Circuit (I2C)

AVR Two-Wire Interface (TWI) and PIC32CM Serial Communication (SERCOM) provide Philips I2C-compatible peripherals for flexible inter-device communication on a shared bus. Both peripherals support Host and Client modes, standard and fast I2C speeds (up to 1 MHz), multi-host arbitration, and bus error detection. Table 5-23 shows a comparison of features between AVR and PIC32CM.

Table 5-23. AVR® and PIC32CM I2C Features
Feature/VariantAVR® TWIPIC32CM I2C (SERCOM)
IntegrationStand-alone TWI peripheralMode in SERCOM (Serial Communications) peripheral
Host/Client ModesSupportedSupported
Addressing

7-bit

General call

Address masking

Dual address match

7-bit, 10-bit

General call

Address masking

Dual address match

Data BufferingShift register16-byte internal FIFO
DMA SupportN/ASupported
Bus Speeds Supported100 kHz, 400 kHz, 1 MHz100 kHz, 400 kHz, 1 MHz
SMBus/PMBus SupportSMBus 2.0 compatibleSMBus and PMBus compatible
Multi-Host ArbitrationSupportedSupported
Wake-up from SleepSupported (on address match)Supported (on address match)
Input FilteringNoise suppressionFiltered inputs, slew-rate limited outputs
4-Wire OperationNoYes (for advanced protocols)
Data ExtensionNo32-bit data extension
FIFONo16-byte FIFO