Datasheet

Chapter 8. I
2
C Module 8-1
Chapter 8
I
2
C Module
This chapter describes the MCF5407 I
2
C module, including I
2
C protocol, clock
synchronization, and the registers in the I
2
C programing model. It also provides extensive
programming examples.
8.1 Overview
I
2
C is a two-wire, bidirectional serial bus that provides a simple, efcient method of data
exchange, minimizing the interconnection between devices. This bus is suitable for
applications requiring occasional communications over a short distance between many
devices. The exible I
2
C allows additional devices to be connected to the bus for expansion
and system development.
The I
2
C system is a true multiple-master bus including arbitration and collision detection
that prevents data corruption if 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.
Note that I
2
C is dened for 5-V operation and the MCF5407 is a 3.3-V device. Care must
be taken to interface to 5-V peripherals.
8.2 Interface Features
The I
2
C module has the following key features:
Compatibility with I
2
C bus standard
Support for 3.3-V tolerant devices
Multiple-master operation
Software-programmable for one of 64 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 identication interrupt