This document introduces the features and characteristics of TWI, including TWI pins, data formats and modes, as well as how to configure TWI.
This document introduces the TWI (Two-Wire Interface) protocol, explaining its pin configuration, data format, and operation modes. It details how to configure TWI in both master and slave modes, including handling clock stretching and interrupt-driven operations. The guide also covers compatibility with I2C devices and provides code examples for TWI implementation.
The document is targeted at developers working with Microchip's SAM MCU family and includes references to datasheets and application notes for further details. This manual is written in Chinese.
The maximum speed is 3.4 MHz.
The SAM TWI device provides 3.3V.
The output stage must be open-drain or open-collector.
The maximum Cbus value is 400pF.