
ZORAN Corporation
USBvision II Data Decoder
ZR36505 Data Sheet
November-99
Page 63 of 63
8.
ZR36504 USB and Status Registers
The ZR36504 has some registers that allow software driver to directly read and affect some
USB device parameters. These are specified in the following table:
Parameter
Register
address
CONFIG_REG
Reg.1
CONFIG_
REG
ADRS_REG
Reg.2/d6-d0
ADRS_REG
ALTER_REG
Reg.3/d3-d0
ALTER_REG
a binary number in the range [1,15], the number of bytes
sent in the Isochronous pipe of EP2 in every
millisecond is:
N = (16-ALTER_REG)*64 - 1
USB Bandwidth = (16-ALTER_REG)*0.5 Mbit/sec
NEW_ALT
Reg.4/d3-d0
FORCE_
ALTER_REG
without letting know the Operating System.
FORCE_ALT
Reg.4/d7
FORCE_
ALTER_REG
VFRM_BLNK
Reg.5/d0
STATUS_
REG
EE_CLK_FORCE
[2..0]
EE_CONT
pins of the ZR36504:
EE_CLK_FORCE[0] = SCL/PWR0 pin.
EE_CLK_FORCE[1] = PWR1 pin.
EE_CLK_FORCE[2] = SDA/EEPROM
WD_EN &
WD_COUNT[7..0]
Reg.53/d7-d0
Frame point). This means that long IN transactions may
exceed the 1mS time interval of the USB frame, and
cause the USB host controller to disconnect the device.
The ZR36504 uses an internal Watch Dog timer to
eliminate such problems. The Watch Dog operates if
WD_EN control bit is set to '1'. It then starts to count
686uS after the SOF pattern, and automatically
terminates any Isochronuos transaction when reaching
the value of WD_COUNT register. Every one count is
equivalent to 1.33uS. Note that the value of
WD_COUNT should be no more than 0xE9 in order to
take any effect.
Usage
Read Only register. Contains the Device Configuration
number.
Read Only register. Contains the Device Address.
Read Only register. Contains the Alternate setting for
End-Point 2 (Video bandwidth). Regarding this value as
New Alternate setting for End-Point 2, (Video
bandwidth), to replace the original setting. This can be
used to lower the actual used bandwidth temporarily,
Force New Alternate.
0: Use original setting.
1: Select NEW_ALT value.
Read Only register.
0: Valid region of input video frame.
1: Blank or unused region of input video frame.
Reg.16/d7-d5
Read Only register.
These 3bits reflect the logical level of the following
(1)
pin.
Reg.0/d0
Some USB host controllers may start an Isochronuos IN
transaction too much time after the SOF (Start of USB