Data Sheet
AD9558
Rev. B | Page 53 of 104
IC SERIAL PORT OPERATION
The I2C interface has the advantage of requiring only two control
pins and is a de facto standard throughout the I2C industry.
However, its disadvantage is programming speed, which is
400 kbps maximum. The
AD9558 IC port design is based on the
IC fast mode standard; therefore, it supports both the 100 kHz
standard mode and 400 kHz fast mode. Fast mode imposes a
glitch tolerance requirement on the control signals. That is, the
input receivers ignore pulses of less than 50 ns duration.
Th
e AD9558 IC port consists of a serial data line (SDA) and a
serial clock line (SCL). In an IC bus system, th
e AD9558 isconnected to the serial bus (data bus SDA and clock bus SCL)
as a slave device; that is, no clock is generated by the
AD9558.Th
e AD9558 uses direct 16-bit memory addressing instead of
traditional 8-bit memory addressing.
Th
e AD9558 allows up to seven unique slave devices to occupy
the I2C bus. These are accessed via a 7-bit slave address that is
transmitted as part of an I2C packet. Only the device that has a
matching slave address responds to subsequent I2C commands.
I2C Bus Characteristics
A summary of the various I2C protocols appears in Table 29. Table 29. I2C Bus Abbreviation Definitions
Abbreviation
Definition
S
Start
Sr
Repeated start
P
Stop
A
Acknowledge
A
EE
Nonacknowledge
A
WEE
Write
R
Read
The transfer of data is shown in
Figure 52. One clock pulse is
generated for each data bit transferred. The data on the SDA
line must be stable during the high period of the clock. The
high or low state of the data line can change only when the
clock signal on the SCL line is low.
DATA LINE
STABLE;
DATA VALID
CHANGE
OF DATA
ALLOWED
SDA
SCL
09758-
035
Figure 52. Valid Bit Transfer
condition is characterized by a high-to-low transition on the
SDA line while SCL is high. The start condition is always
generated by the master to initialize a data transfer. The stop
condition is characterized by a low-to-high transition on the
SDA line while SCL is high. The stop condition is always
generated by the master to terminate a data transfer. Every byte
on the SDA line must be eight bits long. Each byte must be
followed by an acknowledge bit; bytes are sent MSB first.
The acknowledge bit (A) is the ninth bit attached to any 8-bit
data byte. An acknowledge bit is always generated by the
receiving device (receiver) to inform the transmitter that the
byte has been received. It is done by pulling the SDA line low
during the ninth clock pulse after each 8-bit data byte.
The nonacknowledge bit (
AA
AEE
AA
) is the ninth bit attached to any 8-
bit data byte. A nonacknowledge bit is always generated by the
receiving device (receiver) to inform the transmitter that the
byte has not been received. It is done by leaving the SDA line
high during the ninth clock pulse after each 8-bit data byte.
SDA
START CONDITION
STOP CONDITION
SCL
S
P
09758-
036
Figure 53. Start and Stop Conditions
1
2
8
9
1
2
3 TO 7
8
9
10
SDA
SCL
S
MSB
ACK FROM
SLAVE RECEIVER
ACK FROM
SLAVE RECEIVER
P
09758-
037
Figure 54. Acknowledge Bit