3.1 TWIHS on SAM E70/S70/V70/V71 and I2C on PIC32CZ CA80/9x

The TWIHS and I2C protocols are both used for communication between microcontrollers and peripherals, but they differ in terms of speed, configuration, and specific implementation on different microcontroller families. Here is a comparison of how they differ on the SAM E70/S70/V70/V71 and the PIC32CZ CA80/CA9x devices families.

This table from the SAM E70/S70/V70/V71 Family Data Sheet (DS60001527) shows the compatibility of TWI peripheral with standard I2C standard.

Table 3-1. TWI Compatibility with I2C Standard
I2C StandardTWI
Standard Mode Speed (100 kHz)Supported
Fast Mode Speed (400 kHz)Supported
High-speed Mode (Client only, 3.4 MHz)Supported
7- or 10-bit (Note 1) Client AddressingSupported
START Byte (Note 2)Not Supported
Repeated Start (Sr) ConditionSupported
ACK and NACK ManagementSupported
Input FilteringSupported
Slope ControlNot Supported
Clock StretchingSupported
Multi Host CapabilitySupported
Note:
  1. 10-bit support in Host mode only.
  2. START + b000000001 + Ack + Sr.

Users of the SAM E70/S70/V70/V71 family MCUs can make use of I2C (SERCOM can be configured as I2C) peripheral on the PIC32CZ CA80/CA9x family MCUs.

Refer to the Two-wire Interface (TWIHS) section on the SAM E70/S70/V70/V71 Data Sheet (DS60001527) for additional information on I/O Lines Description, Functional Description, and Modes of Operation.