25 of 37
G
GENNUM CORPORATION
19795 - 6
2.3 MULTIPLEX AND DEMULTIPLEX MODES
2.3.1 Delay of Video and Audio
The GS9023A can be configured for various audio sample
delays with respect to the video signal. The audio sample
delay is selected in “BUFSEL[1:0]” of Host Interface
Register #6h. Table 13 lists the various audio sample
delays.
2.3.2 Non-Standard Sample Distributions
Gennum Corporation has made every effort to maximize
compatibility of the GS9023A with other Embedded Audio
data
streams.
Unfortunately,
implementations (i.e. non-standard sample distributions)
Gennum cannot guarantee compatibility with all Embedded
Audio data streams.
due
to
variations
in
2.3.3 Host Interface
The Host Interface Registers allow for device configuration
and provide status information. The GS9023A contains
sixteen internal registers that are accessible through the
Host Interface. Based on the mode of operation the
registers have different functionality. In Multiplex Mode the
registers are defined in Table 14 and in Demultiplex Mode
the registers are defined in Table 15.
The asynchronous Host Interface consists of a 4 bit address
bus (ADDR[3:0]), 8 bit data bus (DATA[7:0]), read enable
(RE), write enable (WE) and chip select (CS). The Host
Interface access is independent of the PCLK or ACLK
inputs. Read and write cycle timing is detailed in Figure 19.
In a read cycle, CS is driven LOW t
AS
seconds after a valid
address. RE is then driven LOW after t
ACS
seconds for a
minimum of t
RD
seconds. After t
GQV
seconds, the address
register contents are output on the data bus. After a
minimum of t
RDH
seconds, CS is driven HIGH to end the
cycle.
Similarly, in a write cycle, CS is driven LOW t
AS
seconds
after a valid address. WE is then driven low after t
ACS
seconds
for a minimum of t
WD
seconds. Valid data must be
present for a minimum of t
DS
seconds
before WE is driven
HIGH again. After a minimum of t
WDH
seconds, CS is driven
HIGH to end the cycle.
2.3.4 Reset
Reset timing is detailed in Figure 20. Setting the RESET pin
to LOW for a period of t
RESET
seconds forces the audio
outputs LOW and re-initializes the internal control circuitry
including returning all Host Interface Register values to their
original default values. The RESET pin can be used for
synchronizing multiple devices.
2.3.5 Interconnection with GS9032 or GS7005
The user should pay special attention when laying out the
GS9023A to operate with the GS9032 or GS7005. The MSB
to LSB convention is consistent between the GS9023A and
GS9022 but reversed with respect to the GS9032 or
GS7005. Layout complexity can be minimized by placing
the GS9023A and the GS9032 or GS7005 on opposite sides
of the printed circuit board (PCB).
2.3.6 Audio Clock and Video Clock Stability in Multiplex Mode
Once the GS9023A is locked and processing audio, it is
recommended that the audio clock frequency (ACLK at
128fs) remains stable and locked to video clock (VCLK). If
VCLK is periodically switched or momentarily unstable, the
audio clock phase locked loop circuit external to the
GS9023A may be disrupted, causing ACLK to be at some
arbitrary frequency. Under these conditions, operation of
the GS9023A cannot be guaranteed and may result in
corrupted audio. This is due to possible overflow/underflow
condition occurring in the GS9023A internal FIFO, which is
caused by the unstable audio clock input. If an overflow/
underflow condition occurs, the “BUFSTAT” bit in Host
Interface Register #2h will be set HIGH. The internal FIFO
can be reset automatically by setting the “BUFCTRL” bit in
Host Interface Register #2h HIGH.
2.3.7 Interconnection with GS9020
The TRS_INSERT function of the GS9020 should be
disabled when operating with the GS9023A. This is
controlled through the Host Interface of the GS9020 and
through the CLIP_TRS pin. If enabled this may cause the
GS9020 to continue outputting valid TRS codes even when
the input signal is removed.The GS9023A may not detect
this loss of video input and could remain locked. When a
valid video signal is re-applied to the GS9020, the
GS9023A's internal audio buffers may not have been reset
and will therefore be in an overflow or underflow condition.
TABLE 13 AUDIO VIDEO DELAY
“BUFSEL[1:0]”
MODE
MULTIPLEX (US)
DEMULTIPLEX (US)
MULTIPLEX/DEMULTIPLEX
CONNECTION (US)
0
(70 Sample)
875
541
1416
1
(26 Sample - Default)
250
312
563
2
(20 Sample)
187
250
437
1. NOTE: When the video signal is in D2 format, the delay is fixed at 70 samples (1416 us).