Datasheet

Functional Description
20
May 2006SLES043A
Step 4
7 6 5 4 3 2 1 0
I
2
C Write register address (master) addr addr addr addr addr addr addr addr
Step 5 9
I
2
C Acknowledge (slave) A
Step 6 7 6 5 4 3 2 1 0
I
2
C Write data (master) Data Data Data Data Data Data Data Data
Step 7
†
9
I
2
C Acknowledge (slave) A
Step 8 0
I
2
C Stop (master) P
†
Repeat steps 6 and 7 until all data have been written.
3.18.2 I
2
C Read Operation
The read operation consists of two phases. The first phase is the address phase. In this phase, an I
2
C master
initiates a write operation to the TVP5150 device by generating a start condition (S) followed by the TVP5150
I
2
C address, in MSB first bit order, followed by a 0 to indicate a write cycle. After receiving acknowledges from
the TVP5150 device, the master presents the subaddress of the register or the first of a block of registers it
wants to read. After the cycle is acknowledged, the master terminates the cycle immediately by generating
a stop condition (P).
Table 3−7. Read Address Selection
I2CSEL READ ADDRESS
0 B9h
1 BBh
The second phase is the data phase. In this phase, an I
2
C master initiates a read operation to the TVP5150
device by generating a start condition followed by the TVP5150 I
2
C address (as shown below for a read
operation), in MSB first bit order, followed by a 1 to indicate a read cycle. After an acknowledge from the
TVP5150 device, the I
2
C master receives one or more bytes of data from the TVP5150 device. The I
2
C master
acknowledges the transfer at the end of each byte. After the last data byte desired has been transferred from
the TVP5150 device to the master, the master generates a not acknowledge followed by a stop.
3.18.2.1 Read Phase 1
Step 1 0
I
2
C Start (master) S
Step 2 7 6 5 4 3 2 1 0
I
2
C General address (master) 1 0 1 1 1 0 X 0
Step 3 9
I
2
C Acknowledge (slave) A
Step 4 7 6 5 4 3 2 1 0
I
2
C Read register address (master) addr addr addr addr addr addr addr addr
Step 5 9
I
2
C Acknowledge (slave) A