
CMOS Sensor; Customer Datasheet, Rev 3.0, 28 September 2000
VV5410 & VV6410
Commercial in confidence
cd5410-6410f-3-0.fm
The byte following the address byte contains the address of the first data byte (also referred to as the index). The serial interface
can address up to 128, byte registers. If the msb of the second byte is set the automatic increment feature of the address index is
selected.
9.4
All serial interface communications with the sensor must begin with a startcondition. If the start condition is followed by a valid
address byte then further communications can take place. The sensor will acknowledge the receipt of a valid address by driving
the sda wire low. The state of the read/~writebit (lsb of the address byte) is stored and the next byte of data, sampled from
can be interpreted.
Message Interpretation
During a write sequence the second byte received is an address index and is used to point to one of the internal registers. The
msbit of the following byte is the index auto incrementflag. If this flag is set then the serial interface will automatically increment
the index address by one location after each slave acknowledge. The master can therefore send data bytes continuously to the
slave until the slave fails to provide an acknowledge or the master terminates the write communication with a
sends a repeated start (Sr) If the auto increment feature is used the master does nothave to send indexes to accompany the
data bytes.
condition or
As data is received by the slave it is written bit by bit to a serial/parallel register. After each data byte has been received by the
slave, an acknowledge is generated, the data is then stored in the internal register addressed by the current index.
During a read message, the current index is read out in the byte following the device address byte. The next byte read from the
slave device are the contents of the register addressed by the current index. The contents of this register are then parallel loaded
into the serial/parallel register and clocked out of the device by scl.
At the end of each byte, in both read and write message sequences, an acknowledge is issued by the receiving device. Although
VV5410/VV6410 is always considered to be a slave device, it acts as a transmitter when the bus master requests a read from the
sensor.
At the end of a sequence of incremental reads or writes, the terminal index value in the register will be one greaterthe last
location read from or written to. A subsequent read will use this index to begin retrieving data from the internal registers.
A message can only be terminated by the bus master, either by issuing a stop condition, a repeated start condition or by a
negative acknowledge after reading a complete byte during a read operation.
9.5
There may be up to 128, 8-bit registers within the camera, accessible by the user via the serial interface. They are grouped
The Programmers Model
0
0
1
0
0
0
0
Figure 36 : VV5410/VV6410’s Serial Interface Address
R/W
S
address[7:1]
R
/
W
bit
A
DATA[7:0]
A
Sensor acknowledges valid address
Acknowledge from slave
INDEX[6:0]
INC
P
A
A
DATA[7:0]
[0]
address
Auto increment
Index bit
Figure 37 : Serial Interface Data Format