I2c communication, I2c definitions, C communication – Rainbow Electronics DS1874 User Manual

Page 26: C definitions, Figure 17. i, C timing, Ds1874 sfp+ controller with digital ldd interface

Advertising
background image

DS1874

SFP+ Controller with Digital LDD Interface

26

______________________________________________________________________________________

SCL

NOTE: TIMING IS REFERENCED TO V

IL(MAX)

AND V

IH(MIN)

.

SDA

STOP

START

REPEATED

START

t

BUF

t

HD:STA

t

HD:DAT

t

SU:DAT

t

SU:STO

t

HD:STA

t

SP

t

SU:STA

t

HIGH

t

R

t

F

t

LOW

Figure 17. I

2

C Timing

I

2

C Communication

I

2

C Definitions

The following terminology is commonly used to
describe I

2

C data transfers.

Master device: The master device controls the
slave devices on the bus. The master device gen-
erates SCL clock pulses and START and STOP
conditions.

Slave devices: Slave devices send and receive
data at the master’s request.

Bus idle or not busy: Time between STOP and
START conditions when both SDA and SCL are inac-
tive and in their logic-high states.

START condition: A START condition is generated
by the master to initiate a new data transfer with a
slave. Transitioning SDA from high to low while SCL
remains high generates a START condition. See
Figure 17 for applicable timing.

STOP condition: A STOP condition is generated by
the master to end a data transfer with a slave.
Transitioning SDA from low to high while SCL
remains high generates a STOP condition. See
Figure 17 for applicable timing.

Repeated START condition: The master can use a
repeated START condition at the end of one data
transfer to indicate that it will immediately initiate a
new data transfer following the current one.
Repeated STARTs are commonly used during read

operations to identify a specific memory address to
begin a data transfer. A repeated START condition
is issued identically to a normal START condition.
See Figure 17 for applicable timing.

Bit write: Transitions of SDA must occur during the
low state of SCL. The data on SDA must remain valid
and unchanged during the entire high pulse of SCL
plus the setup and hold time requirements (Figure
17). Data is shifted into the device during the rising
edge of the SCL.

Bit read: At the end a write operation, the master
must release the SDA bus line for the proper amount
of setup time (Figure 17) before the next rising edge
of SCL during a bit read. The device shifts out each
bit of data on SDA at the falling edge of the previous
SCL pulse and the data bit is valid at the rising edge
of the current SCL pulse. Remember that the master
generates all SCL clock pulses, including when it is
reading bits from the slave.

Acknowledgement (ACK and NACK): An acknowl-
edgement (ACK) or not acknowledge (NACK) is
always the ninth bit transmitted during a byte trans-
fer. The device receiving data (the master during a
read or the slave during a write operation) performs
an ACK by transmitting a zero during the ninth bit. A
device performs a NACK by transmitting a one dur-
ing the 9th bit. Timing (Figure 17) for the ACK and
NACK is identical to all other bit writes. An ACK is
the acknowledgment that the device is properly
receiving data. A NACK is used to terminate a read

Advertising