7
The master terminates the serial data transfer by sending
another unique signal to the bus called a STOP condition.
This is dened as a LOW to HIGH transition on the SDA
line while SCL is HIGH.
The bus is considered to be busy after a START (S)
condition. It will be considered free a certain time after
the STOP (P) condition. The bus stays busy if a repeated
START (Sr) is sent instead of a STOP condition.
The START and repeated START conditions are
functionally identical.
Figure 3. START/STOP condition
Data Transfer
The master initiates data transfer after a START condition.
Data is transferred in bits with the master generating
one clock pulse for each bit sent. For a data bit to be
valid, the SDA data line must be stable during the HIGH
period of the SCL clock line. Only during the LOW period
of the SCL clock line can the SDA data line change state
to either HIGH or LOW.
Figure 4. Data bit transfer
SCL
SCL
S
START CONDITION
P
STOP CONDITION
SCL
SDA
DATA VALID DATA CHANGE
8
The SCL clock line synchronizes the serial data transmis-
sion on the SDA data line. It is always generated by the
master. The frequency of the SCL clock line may vary
throughout the transmission as long as it still meets the
minimum timing requirements.
The master by default drives the SDA data line. The
slave drives the SDA data line only when sending an
acknowledge bit after the master writes data to the
slave or when the master requests the slave to send
data.
The SDA data line driven by the master may be
implemented on the negative edge of the SCL clock
line. The master may sample data driven by the slave on
the positive edge of the SCL clock line. Figure shows an
example of a master implementation and how the SCL
clock line and SDA data line can be synchronized.
Figure 5. Data bit synchronization
A complete data transfer is 8-bits long or 1-byte. Each
byte is sent most signicant bit (MSB) rst followed by
an acknowledge or not acknowledge bit. Each data
transfer can send an unlimited number of bytes
(depending on the data format).
Figure 6. Data byte transfer
SDA MSB MSBLSB LSBACK
NO
ACK
SCL
S
or
Sr
P
Sr
Sr
or
P
1 2
8
9 1
2
8 9
START or repeated
START CONDITION
STOP or repeated
START CONDITION
9
Acknowledge/Not Acknowledge
The receiver must always acknowledge each byte sent
in a data transfer. In the case of the slave-receiver and
master-transmitter, if the slave-receiver does not send
an acknowledge bit, the master-transmitter can either
STOP the transfer or generate a repeated START to start
a new transfer.
Figure 7. Slave-receiver acknowledge
In the case of the master-receiver and slave-transmitter,
the master generates a not acknowledge to signal
the end of the data transfer to the slave-transmitter.
The master can then send a STOP or repeated START
condition to begin a new data transfer.
In all cases, the master generates the acknowledge or
not acknowledge SCL clock pulse.
Figure 8. Master-receiver acknowledge
SCL
(MASTER)
SDA
(MASTER-TRANSMITTER)
SDA
(SLAVE-RECEIVER)
ACKNOWLEDGE
ACKNOWLEDGE
CLOCK PULSE
98
LSB
SDA left HIGH
by transmitter
SDA pulled LOW
by receiver
SCL
(MASTER)
SDA
(SLAVE-TRANSMITTER)
SDA
(MASTER-RECEIVER)
ACKNOWLEDGE
CLOCK PULSE
NOT
ACKNOWLEDGE
9
P
Sr
8
LSB
SDA left HIGH
by transmitter
SDA left HIGH
by receiver
STOP or repeated
START condition

ADJD-S371-QR999

Mfr. #:
Manufacturer:
Broadcom / Avago
Description:
Light to Digital Converters RGB Color Sensor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet