STV-5410-R01 STMICROELECTRONICS [STMicroelectronics], STV-5410-R01 Datasheet - Page 82

no-image

STV-5410-R01

Manufacturer Part Number
STV-5410-R01
Description
Mono and Colour Digital Video CMOS Image Sensors
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
VV5410 & VV6410
9.6
This section gives guidelines on the basic operations to read data from and write data to the serial interface.
The serial interface supports variable length messages. A message may contain no data bytes, one data byte or many data
bytes. This data can be written to or read from common or different locations within the sensor. The range of instructions
available are detailed below.
Examples of these operations are given below. A full description of the internal registers is given in the previous section. For all
examples the slave address used is 32
set to zero while this bit is set in the read address.
9.6.1
When a random value is written to the sensor, the message will look like this:
In this example, the fineH exposure register (index = 32
of the index byte) is set to zero to disable automatic increment of the index after writing the value. The address index is preserved
and may be used by a subsequent read. The write message is terminated with a stop condition from the master.
9.6.2
A read message always contains the index used to get the first byte.
This example assumes that a write message has already taken place and the residual index value is 32
from the fineH exposure register. Note that the read message is terminated with a negative acknowledge (A) from the master: it is
not guaranteed that the master will be able to issue a stop condition at any other time during a read message. This is because if
the data sent by the slave is all zeros, the sda line cannot rise, which is part of the stop condition.
82/105
Write no data byte, only sets the index for a subsequent read message.
Single location data write or read for monitoring (real time control)
Multiple location read or write for fast information transfers.
Types of messages
Single location, single data write.
Single location, single data read.
Start
Start
S
S
Device
Device
address
address
32
33
10
10
10
Figure 38 : Single location, single write.
Figure 39 : Single location, single read.
for writing and 33
Commercial in confidence
Ack
Ack
cd5410-6410f-3-0.fm
A 0
A 0
Inc
10
) is set to 85
Master reads from slave, acknowledging
each byte
10
Index
Index
for reading. The write address includes the read/write bit (the lsb)
32
32
10
10
10
. The r/w bit is set to zero for writing and the inc bit (msbit
A
A
Data
Data
85
85
10
10
Stop
A
Stop
A
10
P
P
. A value of 85
Serial Control Bus
10
is read

Related parts for STV-5410-R01