
Zoran ZR 36506 USBV ision – Datasheet
Zoran Proprietary and Confidential
R egister Bank ( Control and S tatus)
4 -1
4
R
EGI S TER
B
ANK
( C
ONTROL AND
S
TATUS
)
The ZR36506 uses the End-Point #1 message pipe for ZR36506 and camera control. As a bi-
directional pipe, this channel allows the host computer to write contents to control registers, as
well as to read status registers. Control registers may also be read by the host computer to check
their contents. All registers are byte-oriented.
The following section defines a USB vendor-specific protocol for read and write operations
applied to the ZR36506 register bank. This protocol uses a standard USB request of a vendor-
specific type (defined in chapter 9.3 of USB standard rev.1.1) to perform a data transfer of up to
8 bytes to/from End-Point #1. A single write operation will write 1-8 concurrent bytes to the
register bank, and a single read operation will read 1-8 concurrent bytes from the register bank.
The USB Request Command always defines the address of the first I/O-register to be read or
write. This address is automatically incremented by the ZR36506 for the following data bytes.
The first byte of the USB Request Command defines the direction of the data transfer (0x42 for
write, and 0xC2 for read). The second byte is an ZR36506-specific code - 0x33. The address of
the first I/O-register in the list is defined by the wIndex parameter of the standard USB Request
Command (these are bytes 4 and 5 of the command). All other bytes in the Request Command
are not important to the ZR36506.
W rite Transaction Protocol
OUT PID
Device Address
End-Point #1
Host initiates Write operation
DATA0(1) PID
DATA-byte #1
DATA-byte #2
(optional)
DATA-byte #8
(optional)
Reg Data
ACK PID
NT1006 sends handshake to host
ACK PID
NT1006 sends handshake to host
SETUP PID
Device Address
End-Point #1
Host initiates I/O-Reg
operation
byte0=0x42
byte1=0x33
byte4 =
RA
I/O-Reg address
byte5=0x00
Host defines
Reg-Address
IN PID
ACK PID
Host sends handshake to NT1006
Host terminates Setup Command
...Empty IN Packet