English
Language : 

SAMA5D41_14 Datasheet, PDF (1179/1776 Pages) ATMEL Corporation – Atmel | SMART ARM-based Embedded MPU
40. Two-wire Interface (TWIHS)
40.1
Description
The Atmel Two-wire Interface (TWI) interconnects components on a unique two-wire bus, made up of one clock
line and one data line with speeds of up to 400 Kbits per second, based on a byte-oriented transfer format. It can
be used with any Atmel Two-wire Interface bus Serial EEPROM and I²C compatible device such as a Real Time
Clock (RTC), Dot Matrix/Graphic LCD Controllers and temperature sensor. The TWI is programmable as a master
or a slave with sequential or single-byte access. Multiple master capability is supported.
Arbitration of the bus is performed internally and puts the TWI in slave mode automatically if the bus arbitration is
lost.
A configurable baud rate generator permits the output data rate to be adapted to a wide range of core clock
frequencies.
Table 40-1 lists the compatibility level of the Atmel Two-wire Interface in master mode and a full I2C compatible
device.
Table 40-1. Atmel TWI Compatibility with I2C Standard
I2C Standard
Atmel TWI
Standard Mode Speed (100 kHz)
Supported
Fast Mode Speed (400 kHz)
Supported
7- or 10-bit Slave Addressing
Supported
START byte
Not Supported
Repeated Start (Sr) Condition
Supported
ACK and NACK Management
Supported
Slope Control and Input Filtering (Fast mode)
Not Supported
Clock Stretching/Synchronization
Supported
Multi Master Capability
Supported
Note: 1. START + b000000001 + Ack + Sr
40.2
Embedded Characteristics
 Compatible with Atmel Two-wire Interface Serial Memory and I²C Compatible Devices(1)
 One, Two or Three Bytes for Slave Address
 Sequential Read/Write Operations
 Master, Multi-master and Slave Mode Operation
 Bit Rate: Up to 400 Kbit/s
 General Call Supported in Slave Mode
 Connection to DMA Controller (DMA) Channel Capabilities Optimizes Data Transfers
 Register Write Protection
Note: 1. See Table 40-1 for details on compatibility with I²C Standard.
SAMA5D4 Series [DATASHEET]
Atmel-11238A-ATARM-SAMA5D4-Datasheet_30-Sep-14
1179