
ZORAN Corporation
USBvision II Data Decoder
ZR36505 Data Sheet
November-99
Page 66 of 66
10.
Audio Channel
The audio channel in the ZR36504 is based on a serial 64-512Kb/s data stream from the
ZR36504 to the host computer (USB Isochronuos mode is used for this stream). The 64-
512Kb/s stream comes from a 8,000/16,000 S/sec 16/8-bit audio samples at the external
audio CODEC(s). Two external CODECs should be used for Stereo mode recordings. The
8/16KHz sampling clock is derived from the 12MHz external crystal.
The ZR36504 pins for the external Codec interface are BCLK, FS_L, FS_R, and
DAT_IN.
The following table specifies the
AUDIO_CONT
register (Register address = 50):
Bit #
Name
0
E_A
'0': Disables Audio channel. Set FS_L and FS_R outputs to constant '0'.
If E_B is also '0', BCLK is set to constant '0'.
'1': Enable Audio channel.
1
E_B
'0': Disable Bulk Data input. Set BLK_FULL output to constant '0'.
If E_A is also '0', BCLK is set to constant '0'.
'1': Enable Bulk Data input.
3-2
BPS
'00': 8-bit per sample.
'01': 12-bit per sample (Occupies 2 bytes. Bits d3-d0 of second byte are set to '0000').
'10': 14-bit per sample (Occupies 2 bytes. Bits d1-d0 of second byte are set to '00').
'11': 16-bit per sample.
4
S/M
'0': Selects Mono mode. FS_L output is active, FS_R output is constant '0'.
'1': Selects Stereo mode. Both FS_L and FS_R outputs are active.
5
FS
'0': Set sampling rate to 8,000 Samp/Sec.
'1': Set sampling rate to 16,000 Samp/Sec.
7-6
BK
'00': BCLK frequency is not defined.
'01': Select BCLK frequency = 64KHz.
'10': Select BCLK frequency = 1.544MHz.
'11': Select BCLK frequency = 2.048MHz.
In addition to the AUDIO_CONT register, there is the AUD_PK_LEN register (Register
address = 51), to select the maximum packet size to be sent via the audio Isochronuos pipe.
This number is limited by 128, which is the maximum number of bytes that the ZR36504
audio fifo can contain. The S/W driver should set this register to a value that fits the USB
descriptor for the E.P#3 maximum packet length (which is 66 if not using an external
EEPROM).
Codec Interface
Description