Datasheet

SDA
SCL
S
P
START condition
STOP condition
SCL
SDA
data
change
allowed
data valid
data
change
allowed
data valid
data
change
allowed
LP3972
www.ti.com
SNVS468K SEPTEMBER 2006REVISED MAY 2013
I
2
C Compatible Interface
I
2
C DATA VALIDITY
The data on SDA line must be stable during the HIGH period of the clock signal (SCL). In other words, state of
the data line can only be changed when CLK is LOW.
Figure 19.
I
2
C START and STOP CONDITIONS
START and STOP bits classify the beginning and the end of the I
2
C session. START condition is defined as SDA
signal transitioning from HIGH to LOW while SCL line is HIGH. STOP condition is defined as the SDA
transitioning from LOW to HIGH while SCL is HIGH. The I
2
C master always generates START and STOP bits.
The I
2
C bus is considered to be busy after START condition and free after STOP condition. During data
transmission, I
2
C master can generate repeated START conditions. First START and repeated START
conditions are equivalent, function-wise.
Figure 20.
TRANSFERRING DATA
Every byte put on the SDA line must be eight bits long, with the most significant bit (MSB) being transferred first.
The number of bytes that can be transmitted per transfer is unrestricted. Each byte of data has to be followed by
an acknowledge bit. The acknowledge related clock pulse is generated by the master. The transmitter releases
the SDA line (HIGH) during the acknowledge clock pulse. The receiver must pull down the SDA line during the
9th clock pulse, signifying an acknowledge. A receiver which has been addressed must generate an
acknowledge after each byte has been received.
After the START condition, a chip address is sent by the I
2
C master. This address is seven bits long followed by
an eighth bit which is a data direction bit (R/W). The LP3972 address is 34h. For the eighth bit, a "0" indicates a
WRITE and a "1" indicates a READ. The second byte selects the register to which the data will be written. The
third byte contains data to write to the selected register.
I
2
C CHIP ADDRESS - 7h'34
MSB
ADR6 ADR5 ADR4 ADR3 ADR2 ADR1 ADR0 R/W
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0 1 1 0 1 0 0 R/W
Copyright © 2006–2013, Texas Instruments Incorporated Submit Documentation Feedback 19
Product Folder Links: LP3972