Zoran ZR 36506 USBV ision – Datasheet
Zoran Proprietary and Confidential
Camera Control S erial Port
10 -1
10 C
AMERA
C
ONTROL
S
ER I AL
P
ORT
The ZR36506 has a dedicated Programmable Serial Port intended to be used for camera control.
This port has several modes of operation, where the ZR36506 is always the bus-master (one of
the more useful modes is IICC). The programmable serial port is controlled by the host computer
via the following registers of the ZR36506 register bank: SER_MODE, SER_ADRS,
SER_CONT, SER_DAT1, SER_DAT2, SER_DAT3, and SER_DAT4.
Camera control uses 3 dedicated pins on the ZR36506:
§
IICCK is an Open Drain output pin, used to drive the serial port clock signal. It is supposed
to be connected to an external 3.3-10K
Pull-Up resistor to 3.3.
§
IICDT is an Open-Drain bi-directional pin, used to send and receive the serial port data. It is
supposed to be connected to an external 3.3-10K
Pull-Up resistor to 3.3.
§
SENS is an Open Drain output pin, used as a serial control strobe signal in some modes of
operation. It is supposed to be connected to an external 3.3-10K
Pull-Up resistor to 3.3.
There are 6 modes of operation available to the camera control port. These are listed in the
following table, and described in more detail in the following paragraphs:
Mode
Number
Mode Name
Description
0
Soft
Bit-level Software controlled mode.
1
SIO
Serial clocked I/O.
2
IIC LRACK
IICC with Last Byte Read Acknowledged.
3
IIC LRNACK
IICC with Last Byte Read Not Acknowledged.
4
CAM1
Camera 1 - refer to timing diagram.
5
CAM2
Camera 2 - refer to timing diagram.
Modes number 1-5 are referred to as automatic modes: in these modes, the host computer only
needs to write the data bytes (and, in some of them, the device address byte) in certain registers
(SER_DAT1 to SER_DAT4, and SER_ADRS), and initiate a transfer request. Similarly, the host
computer can read received data from the same registers.