Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

VV5409 View Datasheet(PDF) - Vision

Part Name
Description
MFG CO.
'VV5409' PDF : 39 Pages View PDF
VV5409 CMOS Monochrome Sensor Datasheet (Restricted) Rev 1.0
6.4 Message Interpretation
All serial-interface communications with the sensor, must begin with a start condition. If the start condition is
followed by a valid address byte, 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/~write bit (lsb of the address
byte) is stored, and the next byte of data, sampled from SDA, can be interpreted.
During a write sequence, the second byte received is an address index, which points to one of the internal
registers. The msbit of the following byte, is the index auto increment flag. 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 either:
1. The slave fails to provide an acknowledge
2. The master terminates the write communication with a stop condition
3. The master sends a repeated start, (Sr).
If the auto increment feature is used, the master does not have to send indexes to accompany the data bytes.
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 from the byte following the device address byte. The
next byte read from the slave device, is the contents of the register addressed by the current index. The
contents of this register, is 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 VV5409 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
greater than the 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.
6.5 The Programmers Model
The serial interface programmer’s model allows for up to 128, 8-bit registers within the sensor, accessible by
the user through the serial-interface. They are grouped, according to function, with each group occupying a
16-byte page of the location address space. There may be up to eight such groups, although this scheme is
purely a conceptual feature, and not related to the actual hardware implementation, The primary categories
are given below:
• Status Registers (Read Only)
• Setup registers, with bit significant functions
• Exposure parameters, which influence output image brightness
• System functions, and analogue test bit significant registers.
Any internal register which can be written to, can also be read from. There are several read-only registers,
which contain device status information, (e.g. design revision details).
Names which end with H or L, denote the most, or least-significant, part of the internal register. Note that
unused locations in the H byte, are packed with zeroes.
VISION sensors, which include a 2-wire serial-interface, are designed with a common address space. If a
register parameter is unused in a design, but has been allocated an address in the generic design model, the
location is referred to as reserved. If the user attempts to read from any of these reserved, or unused
locations, a default byte will be read back. In VV5409 this data is 07H. A write instruction to a reserved (but
unused) location is illegal, and will not be successful, as the device will not allocate an internal register to the
data-word contained in the instruction.
Commercial In Confidence
cd38041a.fm
08/10/98
45
VV5409 CMOS Monochrome Sensor Datasheet (Restricted) Rev 1.0
A detailed description of each register follows.
Index
Name
Recommended Register
Setting
Type
Comments
0
1
2
3
4
5 - 11
12-15
16
deviceH
deviceL
status0
line_countH
line_countL
reserved
unused
setup0
17
18-19
20
setup1
reserved
fg_modes
21
22
23
24-31
32
33
34
35
36
37
38-111
112
113
114
115
116
117
118
119
120
121
122-
126
127
pin_mapping
unused
op_format
unused
fineH
fineL
coarseH
coarseL
gain
clk_div
unused/
reserved
bcal_win
bcal0
bcal1
reserved
tms0
cr0
cr1
as0
at0
at1
unused/
reserved
reserved
RO Chip identification number including
RO revision indicator
RO
RO Current line counter value
RO
1000_x0002
01x0_00102
0FH
R/W Low-power/sleep modes & Video
Timing
R/W Black Calibration
R/W reserved
R/W Frame grabbing modes
(FST, LST and QCK)
R/W FST and QCK mapping modes
unused
R/W Output coding format
unused
R/W Fine exposure
R/W Fine exposure
R/W Coarse exposure
R/W Coarse exposure
R/W ADC Pre-amp gain setting
R/W Clock division
unused/reserved
R/W Black Calibration Window Select
R/W Black calibration DAC0
R/W Black calibration DAC1
R/W Reserved
R/W Analogue Control Register 0
R/W Analogue Control Register 1
R/W ADC Setup Register
R/W Analogue Test Register
R/W Microphone Amp Setup Register
unused/reserved
Defect SRAM Auto-load Address,
where required. Contact VLSI VISION
for details
Table 6.2 : VV5409 Serial-Interface Address Map.
Commercial In Confidence
cd38041a.fm
08/10/98
46
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]