Motorola MCF5281, MCF5282 user manual Chapter I2C Interface, Interface Features

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 511
Image 511

Chapter 24

I2C Interface

This chapter describes the MCF5282MCF523x I2C module, including I2C protocol, clock synchronization, and I2C programming model registers. It also provides extensive programming examples.

24.1 Overview

I2C is a two-wire, bidirectional serial bus that provides a simple, efficient method of data exchange, minimizing the interconnection between devices. This bus is suitable for applications that require occasional communication between many devices over a short distance. The flexible I2C bus allows additional devices to be connected to the bus for expansion and system development.

The I2C system is a true multiple-master bus; it uses arbitration and collision detection to prevent data corruption in the event that multiple devices attempt to control the bus simultaneously. This feature supports complex applications with multiprocessor control and can be used for rapid testing and alignment of end products through external connections to an assembly-line computer.

24.2 Interface Features

The I2C module has the following key features:

Compatibility with I2C bus standard version 2.1

Support for 3.3V tolerant devices

Multiple-master operation

Software-programmable for one of 50 different serial clock frequencies

Software-selectable acknowledge bit

Interrupt-driven, byte-by-byte data transfer

Arbitration-lost interrupt with automatic mode switching from master to slave

Calling address identification interrupt

START and STOP signal generation/detection

Repeated START signal generation

MOTOROLA

Chapter 24. I2C Interface

24-1

Page 511
Image 511
Motorola MCF5281, MCF5282 user manual Chapter I2C Interface, Interface Features