Datasheet

Table Of Contents
IMX219PQH5-C
21
3-1-2-3 CCI sequential read starting from random location
In reading data sequentially, which is starting from an optional address, the Master must set the index value to
the start of the addresses to be read. For this purpose, dummy write operation includes the register address
setting. The Master sets the sensor index value to M by designating the sensor slave address with a read
request, then designating the address (M). Then, the Master generates the Repeated Start condition. Next,
when the Master sends the slave address with a read request, the sensor outputs an Acknowledge followed
immediately by the index address data on SDA. When the Master outputs an Acknowledge after it receives the
data, the index value inside the sensor is incremented and the data at the next address is output on SDA. This
allows the Master to read data sequentially. After reading the necessary data, the Master generates a Negative
Acknowledge and the Stop condition to end the communication.
Fig. 14 CCI sequential read starting from random location
3-1-2-4 CCI sequential read starting from current location
When the index value is known to indicate the address to be read, sending the slave address with a read
request allows the data to be read immediately after the Acknowledge. When the Master outputs an
Acknowledge after it receives the data, the index value inside the sensor is incremented and the data at the
next address is output on SDA. This allows the Master to read data sequentially. After reading the necessary
data, the Master generates a Negative Acknowledge and the Stop condition to end the communication.
Fig. 15 CCI sequential read starting from current location
Register
Address
[15:8]
Register
Address
[7:0]
Data
[7:0]
From Master to Slave
From Slave to Master
S=Start Condition P=Stop Condition
Sr=Repeated Start Condition
A=Acknowledge
A=Negative Acknowledge
Slave
Address
[7:1]
0
AS A A P
Slave
Address
[7:1]
1
A
S
Previous Index value, K Index M
Index
(M+L)
Index, value M
A
Data
[7:0]
A
Data
[7:0]
A
Index M+1
Index
(M+L-1)
A
L bytes of data
Data
[7:0]
From Master to Slave
From Slave to Master
S=Start Condition
P=Stop Condition
A=Acknowledge
A=Negative Acknowledge
P
Slave
Address
[7:1]
1
AS
Index K
Index
(K+L)
A
Data
[7:0]
A
Data
[7:0]
A
Index K+1
Index
(K+L-1)
A
L bytes of data