DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST72325S6B5(2007) View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST72325S6B5 Datasheet PDF : 196 Pages
First Prev 111 112 113 114 115 116 117 118 119 120 Next Last
10.7 I2C BUS INTERFACE (I2C)
10.7.1 Introduction
The I2C Bus Interface serves as an interface be-
tween the microcontroller and the serial I2C bus. It
provides both multimaster and slave functions,
and controls all I2C bus-specific sequencing, pro-
tocol, arbitration and timing. It supports fast I2C
mode (400kHz).
10.7.2 Main Features
Parallel-bus/I2C protocol converter
Multi-master capability
7-bit/10-bit Addressing
SMBus V1.1 Compliant
Transmitter/Receiver flag
End-of-byte transmission flag
Transfer problem detection
I2C Master Features:
Clock generation
I2C bus busy flag
Arbitration Lost Flag
End of byte transmission flag
Transmitter/Receiver Flag
Start bit detection flag
Start and Stop generation
I2C Slave Features:
Stop bit detection
I2C bus busy flag
Detection of misplaced start or stop condition
Programmable I2C Address detection
Transfer problem detection
End-of-byte transmission flag
Transmitter/Receiver flag
10.7.3 General Description
In addition to receiving and transmitting data, this
interface converts it from serial to parallel format
Figure 67. I2C BUS Protocol
SDA
MSB
and vice versa, using either an interrupt or polled
handshake. The interrupts are enabled or disabled
by software. The interface is connected to the I2C
bus by a data pin (SDAI) and by a clock pin (SCLI).
It can be connected both with a standard I2C bus
and a Fast I2C bus. This selection is made by soft-
ware.
Mode Selection
The interface can operate in the four following
modes:
– Slave transmitter/receiver
– Master transmitter/receiver
By default, it operates in slave mode.
The interface automatically switches from slave to
master after it generates a START condition and
from master to slave in case of arbitration loss or a
STOP generation, allowing then Multi-Master ca-
pability.
Communication Flow
In Master mode, it initiates a data transfer and
generates the clock signal. A serial data transfer
always begins with a start condition and ends with
a stop condition. Both start and stop conditions are
generated in master mode by software.
In Slave mode, the interface is capable of recog-
nising its own address (7 or 10-bit), and the Gen-
eral Call address. The General Call address de-
tection may be enabled or disabled by software.
Data and addresses are transferred as 8-bit bytes,
MSB first. The first byte(s) following the start con-
dition contain the address (one in 7-bit mode, two
in 10-bit mode). The address is always transmitted
in Master mode.
A 9th clock pulse follows the 8 clock cycles of a
byte transfer, during which the receiver must send
an acknowledge bit to the transmitter. Refer to Fig-
ure 67.
ACK
SCL
1
2
8
9
START
CONDITION
STOP
CONDITION
VR02119B
119/196

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]