ETC GS9023

GENLINX ™II GS9023
Embedded Audio CODEC
PRELIMINARY DATA SHEET
DESCRIPTION
• single chip embedded audio solution
The GS9023 is a highly integrated, single chip solution for
the multiplexing/demultiplexing of digital audio channels
into and out of digital video signals. The GS9023 supports
the multiplexing/demultiplexing of 20 or 24 bit synchronous
audio data with a 48kHz sample rate. Audio signals with
different sample rates may be sample rate converted to
48kHz before and after the GS9023 using audio sample
rate converters.
• operates as an embedded audio multiplexer or
demultiplexer
• full support for 48kHz synchronous 20/24 bit audio
• 4 channels of audio per GS9023
• cascadable architecture supports additional audio
channels
• multiplexes and demultiplexes arbitrary ANC data
packets
• support for 143, 177, 270, 360 and 540 Mb/s video
standards
• full processing of audio parity, channel status and
user data
• multiplexes and demultiplexes audio control packets
• EDH generation and insertion when in Multiplex Mode
• 3.3V core with 3.3V or 5V I/O (requires 5V supply)
• complies with SMPTE 272M A, B, and C
APPLICATIONS
SDI Embedded Audio
ORDERING INFORMATION
PART NUMBER
PACKAGE
TEMPERATURE
GS9023-CFY
100 pin LQFP
0°C to 70°C
WCINA/B
AINA/B
AUXEN
2
3
MPX
Convert Input
Data Format
S/P
SAFA/B
CSA/B
UDA/B
VFLA/B
The GS9023 requires a 3.3V power supply for internal core
logic and a 3.3V or 5V power supply for device I/O.
MPX
10
3
The GS9023 supports video standards with rates from
143Mb/s to 540Mb/s. When in Multiplex Mode, the GS9023
supports the generation and insertion of EDH information
according to SMPTE RP165. In combination with Gennum’s
GS9032, the GS9023 provides a low power, highly
integrated two chip solution for SDI transmit applications. In
combination with Gennum’s GS7005, the GS9023 provides
a low power, highly integrated two chip solution for SDI
receive applications.
MPX
10
Convert
AES/EBU
Format
AM[2:0]
Each GS9023 supports all the processing required to
handle the multiplexing/demultiplexing of four digital audio
channels. To simplify system design, the GS9023
seamlessly integrates with common AES/EBU digital audio
receivers and transmitters. The cascadable architecture
allows for the multiplexing/demultiplexing of additional
audio channels with no external glue logic.
Audio
Buffer
MPX
10
10
10
8
Convert
Control
Code
Add
CRC
10
Add
EDH
10 DOUT[9:0]
MPX
MUTE
ADDR[3:0]
CS, WE, RE
DATA[7:0]
DIN[9:0]
VM[2:0]
Generate
Audio
Packets
7
8
Control
Registers
9
10
b9=b8
8
10
3
Arbitrary
Packet
Buffer
Video Detection
& Synchronization
Generate
ANCI area
9
LOCK
PKT[8:0]
EDH_INS
MULTIPLEX MODE BLOCK DIAGRAM
Revision Date: November 2000
GENNUM CORPORATION P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3
Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946 E-mail: [email protected]
www.gennum.com
Document No. 522 - 45 - 05
GS9023
FEATURES
TRS
ANCI
DIN[9:0]
Delete
ANCI
10
10
Delete
TRS
DOUT[9:0]
10
Video Detection &
Synchronization
10
9
Output Arbitrary Packet
Audio
Buffer
10
P/S
Add
CRC
ADDR[3:0],
CS, WE, RE
8
2
Convert
AES/EBU
Format
8
PKT[8:0]
SAFA/B
CSA/B
UDA/B
VFLA/B
WCOUT
Convert Output
Data Format
Control
Registers
7
Output
Control
Code
LOCK
BUFERR
AUXEN
AOUTA/B
3
MUTE
DATA[7:0]
AM[2:0]
DEMULTIPLEX MODE BLOCK DIAGRAM
2
GENNUM CORPORATION
522 - 45 - 05
GS9023
3
Detect ANCI
TEST
DATA2
DATA1
DATA0
GND
BUFERR
NC
LOCK
VDDIO
DOUT0
DOUT1
DOUT2
DOUT3
DOUT4
DOUT5
DOUT6
DOUT7
GND
DOUT8
DOUT9
AOUTA
AOUTB
WC OUT
NC
VDDIO
PIN CONNECTIONS
GND
PKTEN
PKT0
PKT1
PKT2
PKT3
PKT4
PKT5
PKT6
PKT7
PKT8
VDDIO
AUXEN
CSB
CSA
UDB
UDA
VFLB
VFLA
SAFB
SAFA
GND
TEST
TEST
VDDINT
RESET
WC INA
WC INB
AINA
AINB
GND
PCLK
GND
VDDINT
VM2
VM1
VM0
DEMUX/MUX
DIN9
DIN8
DIN7
DIN6
DIN5
GND
DIN4
DIN3
DIN2
DIN1
DIN0
VDDINT
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
50
76
49
77
48
78
47
79
46
80
45
81
44
82
43
83
42
84
41
85
40
86
39
87
GS9023
38
88
37
89
(TOP VIEW)
36
90
35
91
34
92
33
93
32
94
31
95
30
96
29
97
98
28
99
27
100
26
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
GS9023
VDDIO
DATA3
DATA4
DATA5
DATA6
DATA7
GND
RE
WE
CS
ADDR3
ADDR2
ADDR1
ADDR0
VDDINT
ANCI
TRS
EDH_INS
MUTE
AM2
AM1
AM0
GND
ACLK
GND
NOTE: The GS9023 DOUT[9:0] MSB to LSB convention is compatible with
the GS9022 but reversed with the GS9032 or GS7005.
See Interconnection with GS9032 or GS7005 section.
PIN DESCRIPTIONS
NUMBER
SYMBOL
TYPE
DESCRIPTION
1, 17, 26, 90
VDDINT
2-4
VM[2:0]
I
Video standard format. Used in conjunction with the TRS pin. VM[2] is the MSB
and VM[0] is the LSB. See Table 1.
DEMUX/MUX
I
Mode of operation. When set HIGH, the GS9023 operates in Demultiplex Mode.
When set LOW, the GS9023 operates in Multiplex Mode.
DIN[9:0]
I
Parallel digital video signal input. DIN[9] is the MSB and DIN[0] is the LSB. The
digital video input should contain TRS information.
5
6-10,12-16
11, 23, 25, 29,
50, 58, 71, 82,
98, 100
+3.3V power supply pins for core logic.
GND
Device ground.
18
RESET
I
Device reset. Active low.
19
WCINA
I
48kHz word clock for channels 1 and 2. Used only when operating in Multiplex
Mode and when the audio source is not an AES/EBU data stream. This pin
should be grounded when inputting AES/EBU digital audio data or when
operating in Demultiplex Mode.
20
WCINB
I
48kHz word clock for channels 3 and 4. Used only when operating in Multiplex
Mode and when the audio source is not an AES/EBU data stream. This pin
should be grounded when inputting AES/EBU digital audio data or when
operating in Demultiplex Mode.
3
GENNUM CORPORATION
522 - 45 - 05
PIN DESCRIPTIONS (Continued)
NUMBER
TYPE
DESCRIPTION
21
AINA
I
Audio signal input for channels 1 and 2. AES/EBU digital audio data is bi-phase
mark encoded. For all non-AES/EBU input modes, bi-phase mark encoding is not
required.
22
AINB
I
Audio signal input for channels 3 and 4. AES/EBU digital audio data is bi-phase
mark encoded. For all non-AES/EBU input modes, bi-phase mark encoding is not
required.
24
PCLK
I
Video clock signal input.
27, 28, 75
TEST
-
Connect to ground.
30
SAFA
I/O
Start of audio frame indicator for channels 1 and 2. Valid only for non-AES/EBU
audio formats. This pin should be grounded when inputting AES/EBU audio data.
SAFA is HIGH for audio frame 0 and LOW for all other audio frames. In Multiplex
Mode, this pin is an input and is supplied by the user. In Demultiplex Mode, this
pin is an output and is generated by the GS9023.
31
SAFB
I/O
Start of audio frame indicator for channels 3 and 4. Valid only for non-AES/EBU
audio formats. This pin should be grounded when inputting AES/EBU audio data.
SAFB is set to HIGH for audio frame 0 and LOW for all other audio frames. In
Multiplex Mode, this pin is an input and is supplied by the user. In Demultiplex
Mode, this pin is an output and is generated by the GS9023.
32
VFLA
I/O
Validity flag for channels 1 and 2. Valid only for non-AES/EBU audio formats. This
pin should be grounded when inputting AES/EBU audio data. VFLA is HIGH
when audio is invalid and LOW when audio is valid. In Multiplex Mode, this pin is
an input and is supplied by the user. In Demultiplex Mode, this pin is an output
and is generated by the GS9023.
33
VFLB
I/O
Validity flag for channels 3 and 4. Valid only for non-AES/EBU audio formats. This
pin should be grounded when inputting AES/EBU audio data. VFLB is HIGH
when audio is invalid and LOW when audio is valid. In Multiplex Mode, this pin is
an input and is supplied by the user. In Demultiplex Mode, this pin is an output
and is generated by the GS9023.
34
UDA
I/O
User data for channels 1 and 2. Valid only for non-AES/EBU audio formats. This
pin should be grounded when inputting AES/EBU audio data. In Multiplex Mode,
this pin is an input and is supplied by the user. In Demultiplex Mode, this pin is
an output and is generated by the GS9023.
35
UDB
I/O
User data for channels 3 and 4. Valid only for non-AES/EBU audio formats. This
pin should be grounded when inputting AES/EBU audio data. In Multiplex Mode,
this pin is an input and is supplied by the user. In Demultiplex Mode, this pin is
an output and is generated by the GS9023.
36
CSA
I/O
Channel status for channels 1 and 2. Valid only for non-AES/EBU audio formats.
This pin should be grounded when inputting AES/EBU audio data. In Multiplex
Mode, this pin is an input and is supplied by the user. In Demultiplex Mode, this
pin is an output and is generated by the GS9023.
37
CSB
I/O
Channel status for channels 3 and 4. Valid only for non-AES/EBU audio formats.
This pin should be grounded when inputting AES/EBU audio data. In Multiplex
Mode, this pin is an input and is supplied by the user. In Demultiplex Mode, this
pin is an output and is generated by the GS9023.
38
AUXEN
I/O
Extended audio enable. When HIGH, the GS9023 processes 24-bit audio
samples. When LOW, the GS9023 processes 20-bit samples. In Multiplex Mode,
this pin is an input and is supplied by the user. In Demultiplex Mode, this pin is
an output and is generated by the GS9023.
39, 51, 67, 76
VDDIO
+3.3V or +5V power supply pins for device I/Os. In order for device I/O to be +5V
tolerant VDDIO must be +5V. Device I/O are not +5V tolerant if VDDIO is +3.3V.
4
GENNUM CORPORATION
522 - 45 - 05
GS9023
SYMBOL
PIN DESCRIPTIONS (Continued)
NUMBER
TYPE
DESCRIPTION
PKT[8:0]
I/O
Arbitrary data I/O bus. In Multiplex Mode, the user must input the arbitrary data
packet words starting from the secondary data identification (SDID) to the last
user data word (UDW) according to SMPTE 291M. The GS9023 internally
converts the data to 10 bits by generating the inversion bit (bit 9). The checksum
(CS) word is also generated internally. In Demultiplex Mode, the GS9023 outputs
the arbitrary data packet words starting from the SDID to the last UDW. PKT[8] is
the MSB and PKT[0] is the LSB. See Figures 9 and 13.
PKTEN
I/O
Arbitrary data packet enable. In Multiplex Mode, PKTEN must be set HIGH one
PCLK cycle before Arbitrary packet data is input to the device. In Demultiplex
Mode, the output is set HIGH when outputting Arbitrary packet data. See Figures
9 and 13.
NC
N/A
No Connect. Do not connect these pins.
53
WCOUT
O
48kHz word clock for channels 1, 2, 3 and 4. Valid only when operating in
Demultiplex Mode.
54
AOUTB
O
Audio signal output for channels 3 and 4. The AES/EBU digital audio output is biphase mark encoded. In all non-AES/EBU modes, the output is not bi-phase
mark encoded.
55
AOUTA
O
Audio signal output for channels 1 and 2. The AES/EBU digital audio output is biphase mark encoded. In all non-AES/EBU modes, the output is not bi-phase
mark encoded.
DOUT[9:0]
O
Parallel digital video signal output. DOUT[9] is the MSB and DOUT[0] is the LSB.
LOCK
O
Lock indicator. In Multiplex Mode, when HIGH, the video standard has been
identified, the start of a new video frame has been detected and the device is
multiplexing audio.
40-48
49
52, 69
56, 57, 59-66
68
NOTE: LOCK will not be set HIGH unless at least one of the audio channel
enable bits is HIGH. See “CHACT” description in Table 14.
In Demultiplex Mode, when HIGH, the video standard has been identified, the
‘lock’ process selected by “ACTSEL” has been validated and the device is
demultiplexing audio. See “ACTSEL” description in Table 15.
NOTE: LOCK remains active regardless of the number of audio samples in the
video stream after ‘lock’ is achieved.
70
BUFERR
O
Buffer error. Indicates when an internal buffer overflow/underflow error has
occurred. Valid only when the device is configured to operate in Demultiplex
Mode.
NOTE: If an internal buffer overflow/underflow condition occurs, the GS9023
does not mute the audio output.
72-74, 77-81
DATA[7:0]
I/O
83
RE
I
Read enable for Host Interface. Active LOW.
84
WE
I
Write enable for Host Interface. Active LOW.
85
CS
I
Chip select for Host Interface. Active LOW.
ADDR[3:0]
I
Host Interface address bus. ADDR[3] is the MSB and ADDR[0] is the LSB.
ANCI
I
ANCI Selection. Valid in Demultiplex Mode only. When set HIGH, each ancillary
data packet with a DID corresponding to either the audio packet DID, the
extended audio packet DID or the arbitrary packet DID is removed from the
video signal. The data contained in the packets are output at the corresponding
pins. The various DIDs are user programmable in the internal registers and are
accessible via the Host Interface.
86-89
91
Host Interface data bus. DATA[7] is the MSB and DATA[0] is the LSB.
NOTE: When ancillary data packets are deleted, the GS9023 does not
recalculate the EDH checkwords.
When set LOW, all ancillary data packets remain in the video signal.
5
GENNUM CORPORATION
522 - 45 - 05
GS9023
SYMBOL
PIN DESCRIPTIONS (Continued)
NUMBER
TYPE
DESCRIPTION
92
TRS
I
TRS Selection. Used in conjunction with the VM[2:0] pins to select video
standard format. In Multiplex Mode, when the TRS pin is HIGH, TRS is added to a
composite video signal. In Demultiplex Mode, when HIGH, TRS is removed from
a composite video signal. See Table 1.
93
EDH_INS
I
EDH Insert Selection. Valid in Multiplex Mode only. When set HIGH, the GS9023
performs EDH functions according to SMPTE RP165. When set LOW, EDH is not
inserted.
NOTE: Active picture and full field data words are updated from recalculated
values but error flag information is replaced with the values programmed in the
internal registers via the Host Interface.
94
95-97
99
MUTE
I
Audio mute. In Multiplex Mode, when set HIGH, the embedded audio packets
are forced to ‘0’. In Demultiplex Mode, when set HIGH, the output data is forced
to “0”.
AM[2:0]
I
Audio mode format. In Multiplex Mode, AM[2:0] indicates the input audio data
format. In Demultiplex Mode, AM[2:0] indicates the output audio data format.
AM[2] is the MSB and AM[0] is the LSB. See Table 2.
ACLK
I
Input audio signal clock (128 fs). Synchronous to PCLK.
NOTE: All unused inputs of the GS9023 should be connected to ground.
6
GENNUM CORPORATION
522 - 45 - 05
GS9023
SYMBOL
DETAILED DESCRIPTION
When “VSEL” is LOW, the video input standard is selected
by the VM[2:0] and TRS input pins. When “VSEL” is HIGH,
the video input standard is selected by the “VMOD[2:0]”
and “D2_TRS” bits in Host Interface Register #0h. The
supported video input standards are listed in Table 1.
After the user has specified the video input standard via the
VM[2:0] and TRS pins or by setting Host Interface
Register #0h, the GS9023 performs video standard
detection to verify that the input video stream corresponds
to the selected standard. When the selected video input
standard is verified, the “VXST” bit of Host Interface
Register #0h is set HIGH. The LOCK output pin and the
“LOCK” bit of Host Interface Register #0h are then set
HIGH if at least one of the audio channel enable bits
“CHACT(4-1)” of Host Interface Register #1h is HIGH and
the start of a video frame is detected.
MULTIPLEX MODE
Video Clock Input
A master video clock must be supplied to the PCLK pin
corresponding to the selected video standard. The
supported video input standards and corresponding clock
frequencies are listed in Table 1.
NOTE: The user must ensure that the video input format
correctly corresponds to the video format being provided to
the GS9023.
Video Data Input
The video data DIN[9:0] is clocked into the GS9023 on the
rising edge of PCLK. The video clock frequency must
correspond to the video input standard selected. This is
done via the “VSEL” bit of Host Interface Register #0h.
TABLE 1: Video Input Formats
SERIAL DIGITAL
DATA RATE
(Mbps)
PCLK
FREQUENCY
(MHz)
VM[2] or
“VMOD[2]”
VM[1] or
“VMOD[1]”
VM[0] or
“VMOD[0]”
TRS or
“D2_TRS”
525/D2 (SMPTE259M)
143
14.3
0
0
0
0
525/D2 (SMPTE244M)
143
14.3
0
0
0
1
525/D1
270
27.0
0
0
1
0
Reserved
-
-
0
0
1
1
525/16:9
360
36.0
0
1
0
0
Reserved
-
-
0
1
0
1
540
54.0
0
1
1
0
-
-
0
1
1
1
625/D2 (with TRS)
177
17.7
1
0
0
0
625/D2 (without TRS)
177
17.7
1
0
0
1
625/D1
270
27.0
1
0
1
0
Reserved
-
-
1
0
1
1
625/16:9
360
36.0
1
1
0
0
Reserved
-
-
1
1
0
1
625/4:4:4:4 (System #2)
540
54.0
1
1
1
0
625/4:2:2P (System #4)
540
54.0
1
1
1
1
VIDEO STANDARD
525/4:4:4:4 (System #1)
Reserved
7
GENNUM CORPORATION
522 - 45 - 05
GS9023
The GS9023 has two main modes of operation: Multiplex
Mode and Demultiplex Mode. In Multiplex Mode, which is
selected by setting the DEMUX/MUX input pin LOW, digital
audio is embedded into a digital video stream. In
Demultiplex Mode, which is selected by setting the DEMUX/
MUX input pin HIGH, digital audio is extracted from a digital
video stream. Tables 14 and 15 contain Host Interface
Register descriptions for the Multiplex and Demultiplex
Modes respectively.
The GS9023 supports muting of the audio data input.
Multiplexed audio and extended data packets for all
channels are forced to zero when the MUTE pin or “MUTE”
bit of Host Interface Register #4h is set HIGH.
Video Data Output
The video signal is output at the DOUT[9:0] pins. The video
signal is synchronized to the rising edge of PCLK. When the
GS9023 is properly configured, audio packets, extended
audio packets, audio control packets and arbitrary data
packets are multiplexed into the output video signal. When
the video signal is a 525 line or 625 line D2 format, TRS
information is added to the video signal if the TRS input pin
or the “D2_TRS” and “VSEL” bits of Host Interface Register
#0h are HIGH. EDH packets can also be inserted into the
video signal by setting the EDH_INS pin HIGH or by setting
the “EDHON” bit HIGH of Host Interface Register #1h.
When selected, the GS9023 inserts EDH packets according
to SMPTE RP165.
Control Code Input
When inputting non-AES/EBU audio data, the SAFA and
SAFB pins must be high for one frame out of 192 frames
received to indicate the start of frame condition.
NOTE: Active picture and full field data words are updated
from recalculated values but error flag information is
replaced with the values programmed in Host Interface
Registers #Eh and #Fh.
When inputting AES/EBU audio data, the control code input
pins should be grounded as they are not used.
NOTE: In the 525/4:4:4:4 video standard, EDH packets
should not be inserted as this can lead to TRS signal
corruption. When EDH packets are not inserted, the
“EDHDEL” bit of Host Interface Register #0h controls the
deletion of EDH packets. When the “EDHDEL” bit is set
LOW, EDH packets are deleted from the incoming video
signal. When “EDHDEL” is set HIGH, EDH packets pass
through the device unchanged.
TABLE 2: Audio Input Formats
NOTE: “EDHDEL” functionality is valid only when the
“CASCADE” bit of Host Interface Register #4h is LOW.
FORMATS
WCINA/B
AM[2]
AM[1]
AM[0]
AIN-MODE 0
User
Supplied
0
0
0
AIN-MODE 1
User
Supplied
0
0
1
AIN-MODE 2
User
Supplied
0
1
0
AIN-MODE 3
User
Supplied
0
1
1
AIN-AES/EBU
Not Used
1
0
0
Not Used
-
1
0
1
Not Used
-
1
1
0
Not Used
-
1
1
1
Audio Clock Input
A master audio clock (128 fs: 6.144MHz) must be supplied
to the ACLK pin. This clock must be synchronized with the
video signal input to the GS9023. An audio word clock must
also be supplied (fs: 48kHz) to the WCINA/B pins when
using non-AES/EBU audio. The two 48kHz word clocks
must also be synchronized to the video signal.
Audio Data Input
The serial audio data for channels 1 and 2 are input to the
AINA pin. The serial audio data for channels 3 and 4 are
input to the AINB pin. The GS9023 can multiplex 20 or 24
bit audio data samples. When the AUXEN pin or bit “A4ON”
of Host Interface Register #1h is HIGH, the device
processes 24 bit audio samples. When the AUXEN pin or
“A4ON” register bit is LOW, the device processes 20 bit
audio samples. On power up, the “A4ON” bit default is
LOW.
The GS9023 offers five predefined audio data input formats,
selected via the AM[2:0] pins, which are listed in Table 2
and illustrated in Figure 1. The first four predefined formats
relate to non-AES/EBU audio data while the fifth format
corresponds to the AES/EBU audio format. The WCINA and
WCINB pins should be grounded when inputting AES/EBU
audio data as they are not used.
8
GENNUM CORPORATION
522 - 45 - 05
GS9023
When inputting non-AES/EBU audio data, the validity (V),
user data (U) and channel status (C) bits of each audio
data channel must be input to the corresponding pins
(VFLA, VFLB; UDA, UDB; CSA, CSB). The signals must be
updated on the rising edge of WCINA/B and remain
constant for the entire word clock period (64 ACLK cycles).
GENNUM CORPORATION
ACLK
(128fs)
WCINA/B
SAFA/B
VFLA/B
UDA/B
CSA/B
AIN-MODE0
AIN-MODE1
AIN-MODE2
DATA
LEFT CHANNEL
MSB
0
RIGHT CHANNEL LSB
7
5
LEFT CHANNEL
23
LEFT CHANNEL
3
4
7
MSB
27 28 29 30 31 0
Audio sample word
8
Synchronization
preamble
LSB
0
23
23
AES/EBU Sub-frame format
LSB
LSB
0
3
LSB
4
RIGHT CHANNEL
8
MSB
23
MSB
4
MSB
23
LSB
0
6
LSB
0
LSB
0
8
MSB
0
LSB
0
LEFT CHANNEL
23
RIGHT CHANNEL LSB
AIN-MODE3
AIN-AES/EBU
MSB
0
RIGHT CHANNEL
MSB
23
LSB
23
7
LSB
8
RIGHT CHANNEL
6
RIGHT CHANNEL
4
MSB
27 28 29 30 31
Audio sample word
20bits
9
24bits
Validity flag
User data
Channel status
Parity bit
M
M
Channel 1
W
Channel 2
B
Channel 1
Sub-frame
Frame 0 (Start of Block)
W
Channel 2
M
Channel 1
W Channel 2
Sub-frame
Frame 1
MSB
23
23
Frame 2
Fig. 1: Audio Input Format Timing Diagram
522 - 45 - 05
GS9023
The GS9023 can multiplex up to four audio channels. The
channels are selectable via the “CHACT(4-1)” bits of Host
Interface Register #1h. The audio group (Audio packet data
ID) for each device is configured in “AD20ID[3:0]” of Host
Interface Register #3h. On power up, the four audio
channels and audio group 1 are selected by default.
NOTE: Do not rely on default value. Reprogram on power
up or reset.
Extended
Audio
Group 2
Audio
Group 2
Extended
Audio
Group 1
Audio
Group 1
EAV
The “CASCADE” bit in Host Interface Register #4h controls
the manner in which multiplexing is performed. When
“CASCADE” is LOW, the GS9023 deletes all existing
ancillary packets. New packets are multiplexed at the first
location after the end of active video (EAV) in the horizontal
ancillary space (HANC). See Figure 2.
SAV
The GS9023 assumes that the ancillary space from the first
free location is empty to the start of active video (SAV).
Existing ancillary data packets (inserted by previous
devices) in the video signal must be contiguous from the
beginning of the HANC space or the insertion of a new
audio data packet may overwrite existing data. See
Figure 4.
Empty
SAV
Audio
Group 1
(New)
EAV
Video Signal before GS9023
Empty
Video Signal after GS9023 Insertion of Audio Group 1 ("CASCADE" = LOW)
SAV
Extended
Audio
Group 4
Audio
Group 4
Extended
Audio
Group 3
Audio
Group 3
EAV
Fig. 2
Empty
Empty
SAV
Extended
Audio
Group 3
(New)
Audio
Group 3
(New)
Extended
Audio
Group 4
(Old)
Audio
Group 4
(Old)
Extended
Audio
Group 3
(Old)
Audio
Group 3
(Old)
EAV
Video Signal before GS9023
Video Signal after GS9023 Insertion of Audio Group 3 ("CASCADE" = HIGH)
Fig. 3
10
GENNUM CORPORATION
522 - 45 - 05
GS9023
When “CASCADE” is HIGH, the GS9023 multiplexes
packets at the first free location in the horizontal ancillary
(HANC) space after the end of active video (EAV) if there is
sufficient space remaining to insert the packet. The GS9023
does not check if existing audio group samples are present
in the video signal. Use caution in applications where the
video signal contains existing audio packets to avoid
adding identical group samples. See Figure 3.
Audio Data Packets
SAV
Extended
Audio
Group 2
Audio
Group 2
Audio
Group 4
EAV
Empty
Empty
SAV
Extended
Audio
Group 2
(Old)
Audio
Group 2
(Corrupted)
(Old)
Audio
Group 1
(New)
EAV
GS9023
Audio
Group 4
(Old)
Video signal before GS9023
Empty
Video signal after GS9023 Insertion of Audio Group 1 ("CASCADE" = HIGH)
Fig. 4
Group 1: Fh (2FFh)
In cases where an audio data packet does not fit inside the
remaining HANC space, the audio packet is discarded. In
this case, the “ADERR” bit of Host Interface Register #7h is
HIGH indicating an audio packet multiplexing error. The
error bit is cleared once accessed by the Host Interface.
Group 2: Dh (1FDh)
Group 3: Bh (1FBh)
Group 4: 9h (2F9h)
By cascading four GS9023 devices, it is possible to
multiplex up to 16 audio channels (according to SMPTE
272) in a component video signal as shown in Figure 18.
NOTE: The six most significant bits of the DID are internally
generated by the GS9023.
DBN: Data Block Number. The data block number is used
when data blocks within a common data ID are to be linked
or to distinguish consecutive data blocks within a common
data ID. The data block number continuously increments
from 1 to 255 and is generated automatically by the
GS9023.
NOTE: In the 525/D1 video format, only 15 channels of 24
bit audio can be multiplexed.
Cascade operation is not recommended with a composite
video signal, as there is insufficient HANC space for more
than four channels of audio. Audio packet insertion is not
guaranteed in this case.
DC: Data Count. The data count represents the number of
user data words to follow (maximum of 255 words). The
data count is automatically generated by the GS9023.
The audio data packet structure as described in SMPTE
272M is shown in Figure 5.
The audio data packets words are defined as follows:
CS: Checksum. The checksum consists of nine bits. The
checksum is used to determine the validity of the words
data ID through user data. It is the sum of the nine least
significant bits of the words data ID through user data. The
checksum is automatically generated by the GS9023.
ADF: Ancillary Data Flag. The ancillary data flag marks the
beginning of an ancillary packet and is automatically
generated by the GS9023.
DID: Data ID. Audio data packets corresponding to an
audio group are selected by programming “A20ID[3:0]” of
Host Interface Register #3h for audio groups 1 to 4 as
follows:
CS
AES 2, CH.2
X+1 X+2
AES 2, CH.2
X
AES 2, CH.2
AES 2, CH.1
X+1 X+2
AES 2, CH.1
X
AES 2, CH.1
AES 1, CH.2
X+1 X+2
AES 1, CH.2
X
AES 1, CH.2
AES 2, CH.1
X+1 X+2
AES 2, CH.1
X
AES 2, CH.1
AES 1, CH.2
X+1 X+2
AES 1, CH.2
X
AES 1, CH.2
AES 1, CH.1
X+1 X+2
AES 1, CH.1
AES 1, CH.1
DC
DBN
DID
ADF*
ADF*
ADF*
X
The serial audio data samples, are mapped into three
contiguous ancillary data words (X, X+1, X+2) as shown in
Table 3.
* The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M) and three words
in component systems (ANSI/SMPTE 125M).
Fig. 5: Audio Data Packet Structure with 4 Audio Channels, 1 Audio Group
11
GENNUM CORPORATION
522 - 45 - 05
The audio packet data sample bits are defined as follows:
TABLE 3: Audio Packet Data Sample Structure
WORD X
WORD X+1
WORD X+2
b9
not b8
not b8
not b8
b8
aud 5
aud 14
P
b7
aud 4
aud 13
C
b6
aud 3
aud 12
U
b5
aud 2
aud 11
V
b4
aud 1
aud 10
aud 19 (MSB)
b3
aud 0 (LSB)
aud 9
aud 18
b2
ch 1 (MSB)
aud 8
aud 17
b1
ch 0 (LSB)
aud 7
aud 16
b0
Z
aud 6
aud 15
Z: The Z flag is set HIGH at the same sample coincident
with the beginning of a new AES channel status block
(frame 0) and is otherwise set LOW. In non-AES/EBU data
input formats this bit is set to the value of the SAFA/B input
pins at the rising edge of WCINA/B.
ch[1:0]: Identification of the channels in an audio group as
shown in Table 4.
aud[19:0]: Twos complement linearly represented audio
data. The audio data is input from the AINA and AINB pins.
V: AES/EBU sample validity bit. If the audio sample is valid
the bit is set LOW. If the audio sample is invalid, the bit is
set HIGH. In non-AES/EBU data input formats, this bit is set
to the value of the VFLA/B input pins at the rising edge of
WCINA/B.
U: AES/EBU user bit. In non-AES/EBU data input formats,
this bit is set to the value of the UDA/B input pins at the
rising edge of WCINA/B.
TABLE 4: Channel Identification Within The Audio Groups
CH
1
CH
0
GROUP
1
GROUP
2
GROUP
3
GROUP
4
0
0
Channel
1
Channel
5
Channel
9
Channel
13
0
1
Channel
2
Channel
6
Channel
10
Channel
14
1
0
Channel
3
Channel
7
Channel
11
Channel
15
1
1
Channel
4
Channel
8
Channel
12
Channel
16
C: AES/EBU audio channel status bit. In non-AES/EBU data
input formats this bit is set to the value of the CSA/B input
pins at the rising edge of WCINA/B.
P: Even parity for the 26 previous bits in the audio data
sample (excludes b9 in the first and second words).
NOTE: The P bit is not the same as the AES/EBU parity bit.
This bit is automatically generated by the GS9023.
Extended Audio Data Packets
SAV
Audio
Group 4
EAV
The GS9023 can multiplex 20 or 24 bit audio samples. For
24 bit audio samples, the 20 MSBs of a 24 bit audio sample
are contained in the audio data packets and the 4 LSBs are
contained in an extended audio data packet as defined in
SMPTE 272. The extended audio data packet is multiplexed
immediately following the corresponding audio data packet.
See Figure 6.
Empty
Empty
SAV
Extended
Audio
Group 2
(New)
Audio
Group 2
(New)
Audio
Group 4
(Old)
EAV
Video signal before GS9023
Video signal after GS9023 Insertion of Audio Group 2 & Extended
Audio Group 2 ("CASCADE" = HIGH)
Fig. 6
12
GENNUM CORPORATION
522 - 45 - 05
GS9023
BIT
CS
AES 2 CH.3/4
AES 1 CH.1/2
AES 2 CH.3/4
AES 1 CH.1/2
AES 2 CH.3/4
AES 1 CH.1/2
AES 2 CH.3/4
AES 1 CH.1/2
DC
DBN
DID
ADF*
ADF*
ADF*
* The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M)
and three words in component systems (ANSI/SMPTE 125M).
Fig. 7: Extended Audio Data Packet Structure
DC: Data Count. The data count represents the number of
user data words to follow (maximum of 255 words). The
data count is automatically generated by the GS9023.
DATA WORDS: The extended audio data samples are
mapped into ancillary data words as shown in Table 5.
TABLE 5: Extended Audio Packet Data Sample Structure
BIT
ANC DATA WORD
b9
not b8
b8
a
b7
y3 (MSB)
b6
y2
b5
y1
b4
y0 (LSB)
The extended audio data packet structure as described in
SMPTE 272M is shown in Figure 7.
b3
x3 (MSB)
b2
x2
The extended audio data packets words are defined as
follows:
b1
x1
b0
x0 (LSB)
By cascading four GS9023 devices, it is possible to
multiplex up to 16 audio channels (according to SMPTE
272) in a component video signal as shown in Figure 18.
NOTE: In the 525/D1 video format, only 15 channels of 24
bit audio can be multiplexed in the cascade configuration.
ADF: Ancillary Data Flag. The ancillary data flag marks the
beginning of an ancillary packet and is automatically
generated by the GS9023.
DID: Data ID. Extended audio data packets corresponding
to an audio group are selected by programming “A4ID[3:0]”
of Host Interface Register #3h for audio groups 1 to 4 as
follows:
The extended audio packet data sample bits are defined as
follows:
x[3:0]: Auxiliary data from subframe 1.
y[3:0]: Auxiliary data from subframe 2.
a: Address pointer. LOW for channels 1 and 2, and HIGH for
channels 3 and 4. This bit is internally generated by the
GS9023.
Group 1: Eh (1FEh)
Group 2: Ch (2FCh)
Group 3: Ah (2FAh)
Group 4: 8h (1F8h)
NOTE: The six most significant bits of the DID are
automatically generated by the GS9023.
DBN: Data Block Number. The data block number is used
when data blocks within a common data ID are to be linked
or to distinguish consecutive data blocks within a common
data ID. The data block number continuously increments
from 1 to 255 and is generated automatically by the
GS9023.
CS: Checksum. The checksum consists of nine bits. The
checksum is used to determine the validity of the words
data ID through user data. It is the sum of the nine least
significant bits of the words data ID through user data. The
checksum is automatically generated by the GS9023.
Audio Control Packets
The audio control packet structure is detailed in SMPTE
272M. The audio group (Audio control packet data ID) for
each device is configured in “ACID[3:0]” of Host Interface
Register #4h. The Audio control parameters are configured
in Host Interface Registers #Ah, #Bh, #Ch and #Dh. The
audio control packet multiplexing positions for the various
13
GENNUM CORPORATION
522 - 45 - 05
GS9023
To select 24 bit audio operation, the user must set the
AUXEN pin or the “A4ON” bit of Host Interface Register #1h
HIGH. When the AUXEN pin or “A4ON” bit is HIGH, the
GS9023 does not multiplex the audio data packet and the
associated extended audio data packet if there is
insufficient room for both in the HANC space. In this case,
the “ADERR” bit of Host Interface Register #7h is set HIGH,
indicating an audio packet multiplexing error. The error bit is
cleared when accessed by the Host Interface. The audio
group (Extended packet data ID) for each device is
configured in “AD4ID[3:0]” of Host Interface Register #3h.
On power up, audio group 1 is selected by default.
video standards are listed in Table 6. In a component video
signal, a maximum of 4 audio control packets can be
multiplexed in a cascade connection. On power up, audio
group 1 is selected by default.
TABLE 6: Multiplexing Positions for Audio Control Packets
MULTIPLEXING
LINES
HORIZONTAL
STARTING
POSITION
HORIZONTAL
ENDING
POSITION
525/D2
12/275
795
849
525/D1
12/275
1444
1711
525/16:9
12/275
1924
2283
525/4:4:4:4
12/275
2884
3427
625/D2
8/321
972
1035
625/D1
8/321
1444
1723
625/16:9
8/321
2277
2299
625/4:4:4:4
8/321
2884
3451
625/4:2:2P
15/641
1444
1723
CS
RSRV
RSRV
DELD2
DELD1
DELD0
DELC2
DELC1
DELC0
DELB2
DELB1
DELB0
DELA2
DELA1
DELA0
ACT
RATE
AF3-4
AF1-2
DC
DBN
DID
ADF*
ADF*
ADF*
The audio control packet structure as described in SMPTE
272M is shown in Figure 8.
* The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M) and three words
in component systems (ANSI/SMPTE 125M).
Fig. 8: Audio Control Packet Structure
The audio control packets words are defined as follows:
ADF: Ancillary Data Flag. The ancillary data flag marks the
beginning of an ancillary packet and is automatically
generated by the GS9023.
DID: Data ID. Audio control packets corresponding to an
audio group are selected by programming “ACID[3:0]” of
Host Interface Register #4h for audio groups 1 to 4 as
follows:
Group 1: Fh (1EFh)
Group 2: Eh (2EEh)
Group 3: Dh (2EDh)
Group 4: Ch (1ECh)
NOTE: The six most significant bits of the DID are
automatically generated by the GS9023.
DBN: Data Block Number. The data block number is used
when data blocks within a common data ID are to be linked
or to distinguish consecutive data blocks within a common
data ID. The data block number continuously increments
from 1 to 255 and is generated automatically by the
GS9023.
DC: Data Count. The data count represents the number of
data words to follow. The data count has a fixed value of
212h and is automatically generated by the GS9023.
AF1-2: Audio frame number for channels 1 and 2.
AF3-4: Audio frame number for channels 3 and 4.
For an audio sampling frequency of 48kHz, the audio frame
numbers are sequenced from one to five for 525 line video
standards and fixed at one for 625 line video standards.
The audio frame numbers, AF1-2 and AF3-4, are
automatically generated by the GS9023 and set to the
same value. The sequence count is started at one at the
first frame after ‘lock’ is achieved.
RATE: Sampling frequency. The GS9023 operates at a fixed
sampling frequency of 48kHz. The audio control packet
RATE word structure is shown in Table 7.
TABLE 7: Audio Control Packet Rate Word Structure
BIT
RATE WORD
b9
not b8
b8
not used (fixed to 0)
b7
y2 (MSB, fixed to 0)
14
GENNUM CORPORATION
522 - 45 - 05
GS9023
The GS9023 determines if multiplexing is possible by
searching for the first free location in the HANC space after
the signal EAV and calculates if there is sufficient remaining
space to insert the audio packet. Existing ancillary data
packets (inserted by previous devices) in the video signal
must be contiguous from the beginning of the HANC space
or the insertion of a new audio data packet may overwrite
existing data. In cases where an audio control data packet
does not fit inside the remaining HANC space, the audio
control packet is discarded. In this case, the “ACERR” bit of
Host Interface Register #7h is HIGH indicating an audio
control packet multiplexing error. The error bit is cleared
when accessed by the Host Interface.
VIDEO
STANDARD
TABLE 7: Audio Control Packet Rate Word Structure
TABLE 8: Audio Control Packet ACT Word Structure
RATE WORD
BIT
ACT WORD
b6
y1 (fixed to 0)
b9
not b8
b5
y0 (LSB, fixed to 0)
b8
p
b4
bsync
b7
reserved (set to 0)
b3
x2 (MSB, fixed to 0)
b6
reserved (set to 0)
b2
x1 (fixed to 0)
b5
reserved (set to 0)
b1
x0 (LSB, fixed to 0)
b4
reserved (set to 0)
b0
async
b3
a4
b2
a3
b1
a2
b0
a1
The audio control packet RATE word bits are defined as
follows:
GS9023
BIT
x[2:0], y[2:0]: Audio sampling rate for subframe 1 and 2
respectively. Fixed at 48kHz.
async, bsync: Set LOW when each audio channel pair is
operating synchronously and set HIGH when operating
asynchronously. Forced LOW due to synchronous
operation.
ACT: The ACT word indicates the active group channels.
The audio control packet ACT word structure is shown in
Table 8.
The audio control packet ACT word bits are defined as
follows:
p: Even parity for bits b0 to b7.
a(4-1): Individual active channel status indicator. The bits
correspond directly to the “CHACT(4-1)” bits of Host
Interface Register #1h. The bits are set HIGH for each
active channel in a given audio group. The correlation of the
active channels for the four active audio groups is shown in
Table 9.
TABLE 9: Audio Control Packet Active Channel Configuration
GROUP1
GROUP2
GROUP3
GROUP4
CHACT 1
Channel 1
Channel 5
Channel 9
Channel 13
CHACT 2
Channel 2
Channel 6
Channel 10
Channel 14
CHACT 3
Channel 3
Channel 7
Channel 11
Channel 15
CHACT 4
Channel 4
Channel 8
Channel 12
Channel 16
DELx(0-2): Indicates the amount of accumulated audio
processing delay relative to video, measured in audio
sample intervals for each of the channels. Positive values
indicate that the video leads the audio. The audio control
packets delay word structure is shown in Table 10.
15
GENNUM CORPORATION
522 - 45 - 05
BIT
DELx0
DELx1
DELx2
b9
not b8
not b8
not b8
b8
dela/b 7
dela/b 16
dela/b 25 (Sign)
b7
dela/b 6
dela/b 15
dela/b 24 (MSB)
b6
dela/b 5
dela/b 14
dela/b 23
b5
dela/b 4
dela/b 13
dela/b 22
b4
dela/b 3
dela/b 12
dela/b 21
b3
dela/b 2
dela/b 11
dela/b 20
b2
dela/b 1
dela/b 10
dela/b 19
b1
dela/b 0
(LSB)
dela/b 9
dela/b 18
b0
e
dela/b 8
dela/b 17
NOTE: In field #1, the line number is offset by one from the
value configured in “PKTLINE[7:0]”.
The audio control packet delay word bits are defined as
follows:
e: Indicates valid audio delay data when set HIGH.
Corresponds to the “ACDLY” bit of Host Interface Register
#Dh.
dela/b[25:0]: The audio channel pair delay is programmed
in bits “DELA/B[25:0]” of Host Interface Register #Ah, #Bh,
#Ch and #Dh. DELA[25:0] corresponds to the delay for
channels 1 and 2. “DELB[25:0]” corresponds to the delay
for channels 3 and 4.
Arbitrary data is input to the GS9023 as shown in Figure 9.
The data is stored in an internal arbitrary data packet buffer
which is cleared at the end of every field. Arbitrary data
must be written to the buffer before the line number
specified in “PKTLINE[7:0]” is reached in order for the
packet to be multiplexed. Data is input to the PKT[8:0] pins
and clocked in on the rising edge of PCLK. PKTEN must be
set HIGH one PCLK cycle before the data at the PKT[8:0]
inputs is valid. PKTEN must go LOW one PCLK cycle before
the last user data word (UDW) is input to the PKT[8:0]
inputs. Parity (bit 8) for each UDW can be enabled by
setting the “PKTPRTY” bit of Host Interface Register #8h to
HIGH. When “PKTPRTY” is HIGH, data input at PKT[8] is
overwritten by the parity bit.
Up to 255 words (253 UDWs + SDID + DC) can be input
and multiplexed once per field.
The arbitrary data packet structure as described in SMPTE
291M is shown in Figure 9.
RSRV: Reserved. The word is fixed at 200h and is
automatically generated by the GS9023.
CS: Checksum. The checksum consists of nine bits. The
checksum is used to determine the validity of the words
data ID through user data. It is the sum of the nine least
significant bits of the words data ID through user data. The
checksum is automatically generated by the GS9023.
Arbitrary Data Packets
The GS9023 is capable of multiplexing arbitrary data
packets according to SMPTE 291M. Typically, this consists
of linear time code data (LTC), vertical interval time code
data (VITC) or other data which is multiplexed once per
field. The user must input the 9 LSBs starting from the
secondary data identification (SDID) word to the last user
data word (UDW) of the ancillary data packet containing
arbitrary data. The CS word and bit 10 of all words in the
packet are internally generated.
The arbitrary data packet data ID is configured in
“PKTID[7:0]” of Host Interface Register #5h. To process
arbitrary data, the user must set the “PKON” bit of Host
Interface Register #1h. Also, the user must specify the line
number in “PKTLINE[7:0]” in Host Interface Register #9h.
This value corresponds to the line in video field 1 in which
16
GENNUM CORPORATION
522 - 45 - 05
GS9023
the user wants the arbitrary data packet to be multiplexed.
The corresponding line in field 2 is automatically selected
for arbitrary data packet multiplexing. Arbitrary data is
typically multiplexed during the active portion of the line in
the vertical blanking interval (VBI). Care should be taken to
avoid selecting a line in the active picture. Table 11 lists
recommended multiplexing lines according to the video
standard.
TABLE 10: Audio Control Packet Delay Structure
TABLE 11: Multiplex Position For Arbitrary Data Packet
RECOMMENDED
MULTIPLEX LINE
HORIZONTAL STARTING
POSITION (WORD #)
HORIZONTAL ENDING
POSITION (WORD #)
525/D2
9/272
340
360
525/D1
14/277
0
1439
525/16:9
14/277
0
1919
GS9023
VIDEO STANDARD
NOTE: 525/4:4:4:4 and all 625 line video standards are not supported.
* Horizontal Starting Position 0 is the first word of the active picture.
1 clk
1 clk
PCLK (I)
PKTEN (I)
PKT[8:0] (I)
CS 2
UDW
UDW
UDW
UDW
UDW
UDW
UDW
DC
SDID
DID 2
ADF 1,2
ADF 1,2
ADF 1,2
Valid data
NOTE: 1 - The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M)
and three words in component systems (ANSI/SMPTE 125M).
2 - The ADF, DID and CHKSUM words are automatically generated by the GS9023.
Fig. 9: Arbitrary Data Packet Input Timing Diagram
The arbitrary data packet words are defined as follows:
Error Detection
ADF: Ancillary Data Flag. The ancillary data flag marks the
beginning of an ancillary packet and is automatically
generated by the GS9023.
The GS9023 provides error status information in Host
Interface Register #7h as described in Table 14. All errors
are cleared when Host Interface Register #7h is read.
DID: Data ID. Configured in “PKTID[7:0]” of Host Interface
Register #5h. The two most significant bits are internally
generated by the GS9023.
SDID: Secondary Data ID. The Secondary Data ID is
handled as user input data.
DC: Data Count. The data count represents the number of
user data words to follow, up to a maximum of 255 words.
The data count is handled as user input data. For the
GS9023 the maximum data count is 253 since the total
number of words that can be input is 255 less the SDID and
DC words.
UDW: User Data Word.
CS: Checksum. The checksum consists of nine bits. The
checksum is used to determine the validity of the words
data ID through user data. It is the sum of the nine least
significant bits of the words data ID through user data. The
checksum is automatically generated by the GS9023.
17
GENNUM CORPORATION
522 - 45 - 05
Video Clock Input
A master video clock must be supplied to the PCLK pin
corresponding to the selected video signal. The supported
video input standards and corresponding clock frequencies
are listed in Table 1.
Video Data Input
The video data DIN[9:0] is clocked in to the GS9023 on the
rising edge of PCLK. The video clock frequency must
correspond to the video input standard selected. This can
be done with the VM[2:0] and TRS input pins or selected
via the “VSEL” bit of Host Interface Register #0h. When
“VSEL” is set HIGH, the video input standard is selected by
“VMOD[2:0]” and “D2_TRS” in Host Interface Register #0h.
The supported video input standards are listed in Table 1.
Video Data Output
The video signal is output at the DOUT[9:0] pins. The video
signal is synchronized to the rising edge of PCLK. The
GS9023 is capable of removing audio, extended audio,
arbitrary and audio control packets from the video stream.
To remove packets, the user must set the ANCI pin HIGH or
set the “VSEL” and “ADEL” bits of Host Interface Register
#0h HIGH. The GS9023 then removes each packet having a
DID corresponding to either the audio DID, the extended
audio DID or the arbitrary data DID stored in the Host
Interface Registers from the video stream. See Figure 10.
NOTE: The GS9023 passes EDH packets through
unchanged in the Demultiplex Mode. If any audio, extended
audio, arbitrary or audio control packets are deleted by the
GS9023, the EDH CRC words become invalid.
When the ANCI pin or “ADEL” bit is LOW, all ancillary data
packets remain in the video signal. See Figure 11.
Empty
SAV
Empty
SAV
TRS can also be removed from a 525/625 D2 video signal
when the TRS pin is set HIGH or the “VSEL” and “D2_TRS”
bits of Host Interface Register #0h are set HIGH.
Extended
Audio
Group 2
Audio
Group 2
Extended
Audio
Group 1
Audio
Group 1
EAV
After the user has specified the video input standard via the
VM[2:0] and TRS pins or in Host Interface Register #0h, the
GS9023 performs video standard detection to verify that the
input video stream corresponds to the selected standard.
When the selected video input standard is verified, the
“VXST” bit of Host Interface Register #0h is set HIGH. The
GS9023 then performs a ‘lock’ procedure, as selected by
the “ACTSEL” bit of Host Interface Register #4h, to
determine if the audio is synchronous to the video. When
“ACTSEL” is LOW, the GS9023 counts the number of audio
samples present in a frame or multiple frames, depending
on the video standard selected. ‘Lock’ is achieved if the
required number of samples are detected for 48kHz
synchronous audio. When “ACTSEL” is HIGH, the GS9023
‘locks’ by detecting the presence of an audio control packet
corresponding to the DID configured in “ACID[3:0]” of Host
Extended
Audio
Group 2
(Old)
Empty
Audio
Group 2
(Old)
EAV
Video signal before GS9023
Video signal after GS9023 Removal of Audio Group 1 & Extended
Audio Group 1 (ANCI = HIGH or "VSEL" and "ADEL" = HIGH)
Fig.10
18
GENNUM CORPORATION
522 - 45 - 05
GS9023
Interface Register #4h and occurring at the expected line
and position as listed in Table 6. If the video signal does not
contain audio control packets, ‘lock’ will not occur. Once
‘lock’ is achieved the LOCK output pin and the “LOCK” bit
of Host Interface Register #0h are set HIGH and audio
demultiplexing begins. The LOCK output pin and the
“LOCK” bit stay active regardless of the number of samples
in the video stream after ‘lock’ is achieved. The GS9023
drops out of ‘lock’ when there are no more packets
detected in the video stream.
DEMULTIPLEX MODE
SAV
Extended
Audio
Group 2
Audio
Group 2
Extended
Audio
Group 1
Audio
Group 1
EAV
Empty
SAV
Extended
Audio
Group 2
(Old)
Audio
Group 2
(Old)
Extended
Audio
Group 1
(Old)
Audio
Group 1
(Old)
GS9023
EAV
Video signal before GS9023
Empty
Video signal after GS9023 Removal of Audio Group 1 & Extended Audio Group 1
(ANCI = LOW or "VSEL" = HIGH and "ADEL" = LOW)
Fig. 11
TABLE 12: Audio Output Formats
Audio Clock Input
The user must input a master audio clock
(128 fs: 6.144MHz) at the ACLK clock terminal. This clock
must be synchronized with the video signal input to the
GS9023. The audio word clock inputs WCINA and WCINB
must be grounded.
Audio Data Output
The serial audio data for channels 1 and 2 are output at the
AOUTA pin. The serial audio data for channels 3 and 4 are
output at the AOUTB pin. Both outputs are synchronized to
the rising edge of ACLK.
The GS9023 can demultiplex 20 or 24 bit audio data
samples. When 24 bit audio samples are detected, the
AUXEN pin and bit “A4ON” of Host Interface Register #1h
are set HIGH. When 20 bit audio samples are detected the
AUXEN pin and “A4ON” register bit are set LOW. When
AUXEN and “A4ON” are LOW, bits 4-7 of the AES/EBU
output data format are set to “0”. In the non-AES/EBU
formats, bits 0-3 are set to “0”. See Figure 12.
FORMATS
WCOUT
AM[2]
AM[1]
AM[0]
AOUT-MODE 0
Active
48kHz
0
0
0
AOUT-MODE 1
Active
48kHz
0
0
1
AOUT-MODE 2
Active
48kHz
0
1
0
AOUT-MODE 3
Active
48kHz
0
1
1
AOUT-AES/EBU
-
1
0
0
Not Used
-
1
0
1
Not Used
-
1
1
0
Not Used
-
1
1
1
The GS9023 offers five predefined audio data output
formats, selected via the AM[2:0] pins, which are listed in
Table 12 and illustrated in Figure 12. The first four
predefined formats relate to non-AES/EBU audio data while
the fifth format corresponds to the AES/EBU audio format.
During reset, the audio outputs are forced LOW.
The GS9023 supports muting of the audio data outputs. The
output serial audio samples are forced to zero when the
MUTE pin or “MUTE” bit of Host Interface Register #4h are
set HIGH. The audio data outputs are also muted when
there is no video input signal.
19
GENNUM CORPORATION
522 - 45 - 05
GENNUM CORPORATION
ACLK
(128fs)
WCOUT
SAFA/B
VFLA/B
UDA/B
CSA/B
AOUT-MODE0
AOUT-MODE1
AOUT-MODE2
DATA
LEFT CHANNEL
MSB
0
RIGHT CHANNEL LSB
7
5
LEFT CHANNEL
23
LEFT CHANNEL
3
4
7
MSB
27 28 29 30 31 0
Audio sample word
8
LSB
0
23
23
AES/EBU Sub-frame format
LSB
LSB
0
Synchronization
preamble
3
LSB
4
RIGHT CHANNEL
8
MSB
23
MSB
4
MSB
23
LSB
0
6
LSB
0
LSB
0
8
MSB
0
LSB
0
LEFT CHANNEL
23
RIGHT CHANNEL LSB
AOUT-MODE3
AOUT-AES/EBU
MSB
0
RIGHT CHANNEL
MSB
23
LSB
23
7
LSB
8
RIGHT CHANNEL
6
RIGHT CHANNEL
4
MSB
27 28 29 30 31
Audio sample word
20
20bits
24bits
Validity flag
User data
Channel status
Parity bit
M
M
Channel 1
W
Channel 2
B
Channel 1
Sub-frame
Frame 0 (Start of Block)
W
Channel 2
M
Channel 1
W Channel 2
Sub-frame
Frame 1
MSB
23
23
Frame 2
Fig. 12: Audio Data Output Formats
522 - 45 - 05
GS9023
Control Code Output
Detection of Audio Packets
The GS9023 can demultiplex up to four audio channels of
an audio group. The audio group (Audio packet data ID) for
each device is configured in “AD20ID[3:0]” of Host
Interface Register #3h. When the corresponding audio
packets are found on the active video line, the GS9023 sets
the respective “CHACT(4-1)” bits of Host Interface
Register #1h. If no corresponding audio packets are found
on the active video line, the “CHACT(4-1)” bits are set LOW.
By connecting four GS9023 devices in parallel, it is
possible to demultiplex up to 16 audio channels in a
component video signal as shown in Figure 19. On power
up, audio group 1 is selected by default.
Detection of Extended Audio Packets
The GS9023 can demultiplex 20 or 24 bit audio samples.
For 24 bit audio samples, the 20 MSBs of a 24 bit audio
sample are contained in the audio data packets and the 4
LSBs are contained in an extended audio data packet as
defined in SMPTE 272. The audio group (Extended packet
data ID) for each device is configured in “AD4ID[3:0]” of
Host Interface Register #3h. When the corresponding
extended audio packets are detected on the active video
stream, the GS9023 sets the AUXEN pin and the “A4ON” bit
of Host Interface Register #1h to HIGH. If no corresponding
extended audio packets are found on the active video line,
the AUXEN pin and “A4ON” bit are set to LOW. On power
up, audio group 1 extended audio packets are selected by
default.
Detection of Audio Control Packets
The audio group (Audio control packet data ID) for each
device is configured in “ACID[3:0]” of Host Interface
Register #4h. When the configured ID is detected on the
designated video lines (see Table 6), the “ACON” bit of
Host Interface Register #1h is set. The corresponding Audio
control parameters are stored in Host Interface
Registers #Ah, #Bh, #Ch and #Dh. If an audio control
packet is not detected or found in non-designated video
lines, “ACON” is set to LOW. However, the information in the
audio control packets found in non-designated lines is
considered valid and is stored in Host Interface Registers
#Ah, #Bh, #Ch and #Dh. On power up, audio group 1 audio
control packets are selected by default.
Detection and Output of Arbitrary Data Packets
The GS9023 is capable of demultiplexing arbitrary data
packets according to SMPTE 291M. There are no limitations
on the number of packets that can be demultiplexed and
the packets can be located outside of the vertical blanking
interval (VBI).
The arbitrary data packet data ID is configured in
PKTID[7:0] of Host Interface Register #5h. When the
configured ID is detected in the active video or HANC area,
data on the PKT[8:0] pins is clocked out on the rising edge
of PCLK. The GS9023 sets the PKTEN output pin HIGH,
when the data at the PKT[8:0] outputs is valid. PKTEN is set
LOW when the last user data word (UDW) is output from
PKT[8:0]. Figure 13 shows the output timing.
1 clk
PCLK (I)
PKTEN (O)
CHKSUM
X+N
X+(N-2)
X+3
X+2
X+1
X
DC
SDID
DID
DID
ADF 1
ADF 1
ADF 1
X+(N-1)
Valid data
PKT[8:0] (O)
NOTE: 1 - The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M)
and three words in component systems (ANSI/SMPTE 125M).
Fig. 13: Arbitrary Data Output Timing Diagram
Error Detection
The GS9023 provides error status information in Host
Interface Registers #7h, #8h and #9h as described in Table
15. Register #7 contains error information on audio
sampling and CRC conditions. Register #8 contains error
information on audio packet data block number and data
count. Register #9 contains error information on Control
packets. Errors are cleared when the respective Host
Interface Register is read.
21
GENNUM CORPORATION
522 - 45 - 05
GS9023
In the non-AES/EBU output formats, the V, U and C bits are
output separately from the audio data stream. The bits are
output respectively to the VFLA/B, UDA/B and CSA/B pins
according to the channel pair to which they belong and
change state on the rising edge of WCOUT. The SAFA/B
output pins are set to HIGH for one audio frame out of 192
frames to mark the start of a block. In the AES/EBU audio
output format, the respective pins are not used.
MULTIPLEX AND DEMULTIPLEX MODES
Delay of Video and Audio
GS9023
The GS9023 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.
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
NOTE: When the video signal is in D2 format, the delay is fixed at 70 samples (1416 us).
Host Interface
Non-Standard Sample Distributions
The Host Interface Registers allow for device configuration
and provide status information. The GS9023 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.
Gennum Corporation has made every effort to maximize
compatibility of the GS9023 with other Embedded Audio
data streams. Unfortunately, due to variations in
implementations (i.e. non-standard sample distributions)
Gennum cannot guarantee compatibility with all Embedded
Audio data streams.
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 16.
In a read cycle, CS is driven LOW tAS seconds after a valid
address. RE is then driven LOW after tACS seconds for a
minimum of tRD seconds. After tGQV seconds, the address
register contents are output on the data bus. After a
minimum of tRDH seconds, CS is driven HIGH to end the
cycle.
Interconnection with GS9032 or GS7005
The user should pay special attention when laying out the
GS9023 to operate with the GS9032 or GS7005. The MSB
to LSB convention is consistent between the GS9023 and
GS9022 but reversed with respect to the GS9032 or
GS7005. Layout complexity can be minimized by placing
the GS9023 and the GS9032 or GS7005 on opposite sides
of the printed circuit board (PCB).
Similarly, in a write cycle, CS is driven LOW tAS seconds
after a valid address. WE is then driven low after tACS
seconds for a minimum of tWD seconds. Valid data must be
present for a minimum of tDS seconds before WE is driven
HIGH again. After a minimum of tWDH seconds, CS is driven
HIGH to end the cycle.
Reset
Reset timing is detailed in Figure 17. Setting the RESET pin
to LOW for a period of tRESET 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.
22
GENNUM CORPORATION
522 - 45 - 05
TABLE 14: Multiplex Mode Host Interface Registers
ADDRESS
BIT
NAME
0h
2-0
VMOD[2:0]
3
LOCK
FUNCTION
DEFAULT
Video standard selection. See Table 1. Valid when “VSEL” is HIGH. Used in
conjunction with “D2_TRS”. “VMOD[2]” is the MSB and “VMOD[0]” is the
LSB.
R/W
0
Lock indicator. Same functionality as the LOCK pin. When set HIGH, the
video standard has been identified, the start of a new video frame has been
detected and the device is ready to multiplex audio.
R
0
NOTE: LOCK will not be set HIGH unless at least one of the “CHACT(4-1)”
bits (Address #1h) is HIGH.
1h
4
EDHDEL
EDH data delete. When set LOW, existing EDH packets are removed from the
video stream. When set HIGH, existing EDH packets are passed through
unless overwritten via the EDH_INS pin or the “EDHON” bit. Valid only when
“CASCADE” (Address #4h bit 7) is LOW.
R/W
0
5
VXST
Video signal detection flag. Set HIGH when the video signal corresponds to
standard selected on the VM[2:0] and TRS pins or with the “VMOD[2:0]” and
“D2_TRS” bits.
R
0
6
D2_TRS
TRS select. Same functionality as the TRS pin. Used to select video standard
format.When set HIGH, TRS is added to a composite video signal. Valid only
when “VSEL” is HIGH. Used in conjunction with “VMOD[2:0]”.
R/W
0
7
VSEL
Video input format (external pin/internal register) configuration select. When
set LOW, the video input format is configured via the VM[2:0] and TRS pins.
When set HIGH, the video input format is configured via the “VMOD[2:0]” and
“D2_TRS” bits.
R/W
0
3-0
CHACT(4-1)
Audio channel enable. When set HIGH, the corresponding audio channel is
multiplexed into the video signal. “CHACT(4)” is the MSB and “CHACT(1)” is
the LSB.
R/W
Fh
Audio Control packet enable. When HIGH, the audio control packet is
multiplexed in the video signal.
R/W
0
EDH packet enable. Same functionality as the EDH_INS pin. When set HIGH,
the GS9023 performs EDH functions according to SMPTE RP165.
R/W
0
NOTE: Do not rely on default value. Reprogram on power up or reset.
4
ACON
5
EDHON
NOTE: Active picture and full field data words are updated from recalculated
values but error flag information is replaced with the values programmed in
Host Interface Registers #Eh and #Fh.
6
A4ON
Extended audio packet enable. Same functionality as the AUXEN pin. When
set HIGH, the extended audio packet is multiplexed in the video signal (24 bit
audio).
R/W
0
7
PKON
Arbitrary data packet enable. When set HIGH, an arbitrary data packet is
multiplexed in the video signal.
R/W
0
2h
7-0
RSV
3h
3-0
AD20ID[3:0]
Designates the 4 LSBs of the audio data packet DID word. The 6 MSBs are
internally generated. “AD20ID[3]” is the MSB and “AD20ID[0]” is the LSB.
R/W
Fh
7-4
AD4ID[3:0]
Designates the 4 LSBs of the extended audio data packet DID word. The 6
MSBs are internally generated. “AD4ID[3]” is the MSB and “AD4ID[0]” is the
LSB.
R/W
Eh
Not used.
-
23
GENNUM CORPORATION
522 - 45 - 05
GS9023
R/W
TABLE 14: Multiplex Mode Host Interface Registers (Continued)
ADDRESS
BIT
NAME
FUNCTION
R/W
DEFAULT
4h
3-0
ACID[3:0]
Designates the 4 LSBs of the audio control packet DID word. The 6 MSBs are
internally generated. “ACID[3]” is the MSB and “ACID[0]” is the LSB.
R/W
Fh
4
RSV
5
MUTE
Audio mute enable. Same functionality as the MUTE pin. When set HIGH, the
multiplexed audio and extended data packets are forced to zero.
R/W
0
6
AC34/12
Audio control packet channel pair select. When set HIGH, audio control
packet delay data for audio channels 3 and 4 is captured in registers Ah, Bh,
Ch and Dh. When set LOW, audio control packet delay data for audio
channels 1 and 2 is captured in registers #Ah, #Bh, #Ch and #Dh.
R/W
0
7
CASCADE
Cascade select. When set HIGH, the GS9023 device is part of a cascaded
architecture. New packets are multiplexed into the video signal starting at the
first free location of the HANC space if there is sufficient remaining space to
insert the packet. When set LOW, new packets are multiplexed into the video
signal starting after EAV. Existing ancillary data packets are overwritten and
the remaining ancillary space is cleared.
R/W
0
5h
7-0
PKTID[7:0]
Designates the 8 LSBs of the arbitrary data packet DID word. The 2 MSBs
are internally generated. “PKTID[7]” is the MSB and “PKTID[0]” is the LSB.
R/W
0
6h
1-0
BUFSEL[1:0]
Video/audio delay mode. “BUFSEL[1]” is the MSB and “BUFSEL[0]” is the
LSB. See Table 13.
R/W
0
7-2
RSV
0
8h
-
Not used.
-
ADERR
Audio data packet multiplexing error. The packet will not be multiplexed
because of insufficient room in the HANC space. Error is cleared when read.
R
0
1
ACERR
Audio control packet multiplexing error. The packet will not be multiplexed
because of insufficient room in the HANC space. Error is cleared when read.
R
0
7-2
RSV
Not used.
-
0
RSV
Not used.
-
1
PKTPRTY
5-2
RSV
6
Arbitrary data packet parity select. When set HIGH, a parity bit is generated
for every user data word (UDW) of an arbitrary data packet. This overwrites
any data input at the PKT[8] pin.
R/W
0
Not used.
-
AXST1/2
Audio CH1/2 detection flag. When set HIGH, an audio signal has been
detected.
R
0
7
AXST3/4
Audio CH3/4 detection flag. When set HIGH, an audio signal has been
detected.
R
0
9h
7-0
PKTLINE[7:0]
Arbitrary data packet insertion line. Designates the horizontal line on which
the GS9023 can multiplex arbitrary data packets in the video signal.
R/W
0
Ah
7-0
DELA/B[7:0]
R/W
0
Bh
7-0
DELA/B[15:8]
R/W
0
Ch
7-0
DELA/B[23:16]
Audio control packet delay. Designates the audio control packet delay data
as specified in the SMPTE 272M standard. “DELA” corresponds to audio
channels 1 and 2, while “DELB” corresponds to audio channels 3 and 4.
“DELA/B[25]” is the MSB and “DELA/B[0]” is the LSB.
R/W
0
Dh
1-0
DELA/B[25:24]
R/W
0
2
ACSYNCA/B
Audio control packet synchronization data. Designates the sync mode bits
(asx, asy), as defined in SMPTE 272M (Section 14.5), of channels 1/2 or 3/4
of the audio control packet. The bits are selected by “AC34/12” in register
#4h.
R/W
0
3
ACDLY
Audio control packet delay active. Designates the ‘e’ bit of word “DELx0” of
an audio control packet as defined in SMPTE 272 (Section 14.7). When set
HIGH indicates valid audio delay data.
R/W
0
7-4
RSV
Not used.
-
24
GENNUM CORPORATION
522 - 45 - 05
GS9023
7h
Not used.
TABLE 14: Multiplex Mode Host Interface Registers (Continued)
ADDRESS
BIT
NAME
Eh
0
ANCI_EDH
1
R/W
DEFAULT
EDH packet ancillary error flag. Error detected here.
R/W
0
ANCI_EDA
EDH packet ancillary error flag. Error detected already.
R/W
0
2
ANCI_IDH
EDH packet ancillary error flag. Internal error detected here.
R/W
0
3
ANCI_IDA
EDH packet ancillary error flag. Internal error detected already.
R/W
0
4
ANCI_UES
EDH packet ancillary error flag. Unknown error status.
R/W
0
7-5
RSV
0
CRCEDH_A/B
EDH packet error flag. “CRCEDH_A” represents Full Field information.
“CRCEDH_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
1
CRCEDA_A/B
EDH packet error flag. “CRCEDA_A” represents Full Field information.
“CRCEDA_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
2
CRCIDH_A/B
EDH packet error flag. “CRCIDH_A” represents Full Field information.
“CRCIDH_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
3
CRCIDA_A/B
EDH packet error flag. “CRCIDA_A” represents Full Field information.
“CRCIDA_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
4
CRCUES_A/B
EDH packet error flag. “CRCUES_A” represents Full Field information.
“CRCUES_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
5
CRCVLD_A/B
EDH packet CRC valid flag. “CRCVLD_A” represents Full Field information.
“CRCVLD_B” represents Active Picture information. See “FF/AP_A/B” (bit 7).
R/W
0
6
RSV
7
FF/AP_A/B
Not used.
-
Not used.
-
Full Field/Active Picture select. When set HIGH, the FF (Full Field) information
is displayed in the above mentioned bits. When set LOW, the AP (Active
Picture) information is displayed.
R/W
0
25
GENNUM CORPORATION
522 - 45 - 05
GS9023
Fh
FUNCTION
TABLE 15: Demultiplex Mode Host Interface Registers
BIT
NAME
0h
2-0
VMOD[2:0]
3
LOCK
4
R/W
DEFAULT
R/W
0
Lock indicator. Same functionality as the LOCK pin. When set HIGH,
the video standard has been identified, the ‘lock’ process selected by
“ACTSEL” has been validated and the device is ready to demultiplex
audio. See “ACTSEL” description.
R
0
ADEL
Ancillary data delete. Same functionality as the ANCI pin. When set
HIGH, each ancillary data packet with a DID corresponding to either
the audio packet DID, the extended audio packet DID or the arbitrary
packet DID is removed from the video signal. When the “ADEL” bit is
LOW, all ancillary data packets remain in the video signal. Valid only
when “VSEL” is HIGH.
R/W
0
5
VXST
Video signal detection flag. Set HIGH when the video signal
corresponds to standard selected on the VM[2:0] and TRS pins or with
the “VMOD[2:0]” and “D2_TRS” bits.
R
0
6
D2_TRS
TRS select. Same functionality as the TRS pin. Used to select video
standard format. When set HIGH, TRS is removed from a composite
video signal. Valid only when “VSEL” is HIGH. Used in conjunction with
“VMOD[2:0]”.
R/W
0
7
VSEL
Video input format (external pin/internal register) configuration select.
When set LOW, the video input format is configured via the VM[2:0]
and TRS pins. When set HIGH, the video input format is configured via
the “VMOD[2:0]” and “D2_TRS” bits.
R/W
0
3-0
CHACT(4-1)
Active audio channel flags. When set HIGH, the corresponding audio
packets have been detected on the active video line. When set LOW,
no corresponding audio packets have been detected on the active
video line. The flags are updated on every video line.
R
0
4
ACON
Audio Control packet flag. When set HIGH, the audio control packet
has been detected in the video signal.
R
0
5
EDHON
EDH flag. When set HIGH, EDH data has been detected in the video
signal.
R
0
6
A4ON
Extended audio packet flag. When set HIGH, the extended audio
packet has been detected on the active video line (24 bit audio).
When set LOW, no extended audio packet has been detected on the
active video line (24 bit audio).
R
0
7
RSV
Not used.
-
2h
7-0
RSV
Not used.
-
3h
3-0
AD20ID[3:0]
Designates the 4 LSBs of the audio data packet DID word. The 6
MSBs are internally generated. “AD20ID[3]” is the MSB and
“AD20ID[0]” is the LSB.
R/W
Fh
7-4
AD4ID[3:0]
Designates the 4 LSBs of the extended audio data packet DID word.
The 6 MSBs are internally generated. “AD4ID[3]” is the MSB and
“AD4ID[0]” is the LSB.
R/W
Eh
1h
FUNCTION
Video standard selection. See Table 1. Valid when “VSEL” is HIGH.
Used in conjunction with “D2_TRS”. “VMOD[2]” is the MSB and
“VMOD[0]” is the LSB.
26
GENNUM CORPORATION
522 - 45 - 05
GS9023
ADDRESS
TABLE 15: Demultiplex Mode Host Interface Registers (Continued)
ADDRESS
BIT
NAME
FUNCTION
R/W
DEFAULT
4h
3-0
ACID[3:0]
Designates the 4 LSBs of the audio control packet DID word. The 6
MSBs are internally generated. “ACID[3]” is the MSB and “ACID[0]” is
the LSB.
R/W
Fh
4
RSV
5
MUTE
Audio mute enable. Same functionality as the MUTE pin. When set
HIGH, the demultiplexed audio and extended packet data are forced
to zero.
R/W
0
6
ACTSEL
Audio lock process select. When set HIGH, the GS9023 ‘locks’ by
detecting the presence of an audio control packet corresponding to
the DID configured in “ACID[3:0]” and occurring at the expected line
and position as listed in Table 6. When set LOW, the GS9023 ‘locks’ by
counting the number of audio samples in a frame or multiple frames
and validating the number of samples detected based on the video
standard.
R/W
0
7
RSV
5h
7-0
PKTID[7:0]
Designates the 8 LSBs of the arbitrary data packet DID word. The 2
MSBs are internally generated. “PKTID[7]” is the MSB and “PKTID[0]”
is the LSB.
R/W
0
6h
1-0
BUFSEL[1:0]
Video/audio delay mode. “BUFSEL[1]” is the MSB and “BUFSEL[0]” is
the LSB. See Table 13.
R/W
1h
2
CRCADD
AES/EBU CRC select. When set HIGH, the C bit (channel status
information) of each audio sample contains CRC information as
defined in the AES3-1992 standard.
R/W
0
7-3
RSV
Not used.
-
4-0
RSV
Not used.
-
5
SAMPERR
Sample error. Incorrect number of audio samples detected. 8008
audio samples (48kHz) in 5 video frames for a 525 line video format.
1920 audio samples (48kHz) in 1 video frame for a 625 line video
format.
R
0
6
ACRCERR1/2
Audio channel 1/2 CRC error.
R
0
7
ACRCERR3/4
Audio channel 3/4 CRC error.
R
0
0
A20DBNERR
Audio packet DBN error. A DBN discontinuity was detected.
R
0
1
A20DCERR
Audio packet DC error. The number of UDW indicated does not match
the number of words found in the data packet.
R
0
2
RSV
Not used.
-
3
A20B9ERR
Audio packet inversion bit error. An incorrect bit 9 inversion of bit 8
was detected in the audio packet.
R
7-4
RSV
Not used.
-
0
ACCDBNERR
Audio control packet DBN error. A DBN discontinuity was detected.
R
0
Audio control packet DC error. The number of UDW indicated does not
match the number of words found in the audio control packet.
R
0
Not used.
-
Audio control packet inversion bit error. An incorrect bit 9 inversion of
bit 8 was detected in the audio control packet.
R
Not used.
-
Extended audio packet inversion bit error. An incorrect bit 9 inversion
of bit 8 was detected in the extended audio packet.
R
8h
9h
-
Not used.
-
0
NOTE: When a DBN discontinuity is detected, the VFLA/B pins remain
valid (LOW).
1
ACCDCERR
3-2
RSV
4
ACCB9ERR
6-5
RSV
7
A4B9ERR
0
0
27
GENNUM CORPORATION
522 - 45 - 05
GS9023
7h
Not used.
TABLE 15: Demultiplex Mode Host Interface Registers (Continued)
BIT
NAME
FUNCTION
R/W
DEFAULT
Ah
7-0
DELA/B[7:0]
R
0
Bh
7-0
DELA/B[15:8]
R
0
Ch
7-0
DELA/B[23:16]
Audio control packet delay. Designates the audio control packet delay
data as specified in the SMPTE 272M standard. DELA corresponds to
audio channels 1 and 2, while DELB is the corresponds to audio
channels 3 and 4. “DELA/B[25]” is the MSB and “DELA/B[0]” is the
LSB.
R
0
Dh
1-0
DELA/B[25:24]
R
0
2
ACSYNCA/B
Audio control packet synchronization data. Designates the sync mode
bits (asx, asy) as defined in SMPTE 272M (section 14.5) of channels 1/
2 or 3/4 of the audio control packet. The bits are selected by “AC34/
12”.
R
0
3
ACDLY
Audio control packet delay active. Designates the ‘e’ bit of word
“DELx0” of an audio control packet as defined in SMPTE 272 (section
14.7). When HIGH indicates valid audio delay data.
R
0
4
ACT1/2
Active channel 1/2 flag.
R
0
5
ACT3/4
Active channel 3/4 flag.
R
0
6
RSV
Not used.
-
7
AC34/12
Audio control packet channel pair select. When set HIGH, audio
control packet delay data for audio channels 3 and 4 is captured in
registers #Ah, #Bh, #Ch and #Dh. When set LOW, audio control packet
delay data for audio channels 1 and 2 is captured in registers Ah, Bh,
Ch and Dh.
R/W
0
0
CONPRO1/2
AES/EBU channel 1/2 Consumer/Professional status. See AES-3 1992
standard.
R
0
1
AUDMOD1/2
AES/EBU channel 1/2 normal/non-audio status. See AES-3 1992
standard.
R
0
4-2
EMPH1/2[2:0]
AES/EBU channel 1/2 emphasis status. “EMPH1/2[2]” is the MSB and
“EMP1/2[0]” is the LSB. See AES-3 1992 standard.
R
0
5
SYNC1/2
AES/EBU channel 1/2 sync status. See AES-3 1992 standard.
R
0
7-6
FSEL1/2[1:0]
AES/EBU channel 1/2 frequency select status. “FSEL1/2[1]” is the
MSB and “FSEL1/2[0]” is the LSB. See AES-3 1992 standard.
R
0
0
CONPRO3/4
AES/EBU channel 3/4 Consumer/Professional status. See AES-3 1992
standard.
R
0
1
AUDMOD3/4
AES/EBU channel 3/4 normal/non-audio status. See AES-3 1992
standard.
R
0
4-2
EMPH3/4[2:0]
AES/EBU channel 3/4 emphasis status. “EMPH3/4[2]” is the MSB and
“EMP3/4[0]” is the LSB. See AES-3 1992 standard.
R
0
5
SYNC3/4
AES/EBU channel 3/4 sync status. See AES-3 1992 standard.
R
0
7-6
FSEL3/4[1:0]
AES/EBU channel 3/4 frequency select status. “FSEL3/4[1]” is the
MSB and “FSEL3/4[0]” is the LSB. See AES-3 1992 standard.
R
0
Eh
Fh
28
GENNUM CORPORATION
522 - 45 - 05
GS9023
ADDRESS
ABSOLUTE MAXIMUM RATINGS
PARAMETER
VALUE
I/O Supply Voltage
-0.3 to 7.0V
Internal Supply Voltage
-0.3 to 4.0V
Input Voltage (any input)
-0.3 to VDDIO + 0.5V
GS9023
Operating Temperature
0°C to 70°C
Storage Temperature
-65°C to 150°C
Lead Temperature (Soldering, 10 sec.)
230°C
DC ELECTRICAL CHARACTERISTICS
TA = 0°C to 70°C unless otherwise shown.
PARAMETER
SYMBOL
I/O Supply Voltage
VDDIO
I/O Supply Current
IDDIO
CONDITIONS
MIN
TYP
MAX
UNITS
5V Operating range
4.75
5.00
5.25
V
VDDIO = 5V;
25
mA
18
mA
PCLK = 54.0 MHz
I/O Supply Current
IDDIO
VDDIO = 5V;
PCLK = 27.0 MHz
3.3V Operating range
3.00
3.30
3.60
V
3.00
3.30
3.60
V
I/O Supply Voltage
VDDIO
Internal Supply Voltage
VDDINT
Internal Supply Current
IDDINT
PCLK = 54.0 MHz
67
mA
Internal Supply Current
IDDINT
PCLK = 27.0 MHz
37
mA
Input Current
ΙIN
-1
-
1
µA
Hi-Z Output Leakage Current
ΙOZ
-1
-
1
µA
Output Voltage, Logic High
VOH
ΙOH = -3mA
VDDIO - 0.4
-
-
V
Output Voltage, Logic Low
VOL
ΙOL = 3mA
-
-
0.4
V
Input Voltage, Logic High
VIH
VDDIO = Max (5.25V or
3.6V)
2.0
-
-
V
Input Voltage, Logic Low
VIL
VDDIO = Min. (4.75V or
3.0V)
-
-
0.8
V
Input Capacitance
CI
ƒ = 1MHz, VDDIO = 0V
-
-
10
pF
Output Capacitance
CO
ƒ = 1MHz, VDDIO = 0V
-
-
10
pF
I/O Capacitance
CIO
ƒ = 1MHz, VDDIO = 0V
-
-
10
pF
29
GENNUM CORPORATION
522 - 45 - 05
AC ELECTRICAL CHARACTERISTICS
VDDIO = 5V ± 5%, TA = 0°C to 70°C unless otherwise shown.
PARAMETER
SYMBOL
CONDITIONS
Video Clock Frequency
MIN
TYP
MAX
UNITS
-
-
54
MHz
tPWL
7.4
-
-
ns
Video Clock Pulse Width High
tPWH
7.4
-
-
ns
Video Input Data Setup Time
tS
3
-
-
ns
Video Input Data Hold Time
tH
1
-
-
ns
Video Output Data Delay Time
tOD
with 10 pF loading
-
-
13
ns
Video Output Data Hold Time
tOH
with 10 pF loading
3
-
-
ns
Address set up time
tAS
3
-
-
ns
Chip select set up time
tACS
3
-
-
ns
Read data access time
tGQV
-
-
10
ns
Read data enable time
tGQLZ
1
-
-
ns
Read data hold time
tRDH
1
-
-
ns
Read pulse width
tRD
20
-
-
ns
Read cycle time
tRC
30
-
-
ns
Write data set up time
tDS
3
-
-
ns
Write data hold time
tWDH
1
-
-
ns
Write pulse width
tWD
20
-
-
ns
Write cycle time
tWC
30
-
-
ns
tRESET
1
-
-
us
Multiplexer Mode
13
13
13
PCLKs
Demultiplexer Mode
10
10
10
Reset Pulse Width
Device Latency
30
GENNUM CORPORATION
522 - 45 - 05
GS9023
Video Clock Pulse Width Low
tH
DIN[9:0]
tS
PCLK
GS9023
Fig. 14: Video Data Input Setup & Hold Times
DATA
VALID
DOUT[9:0]
tOH
PCLK
tOD
Fig. 15: Video Data Output Delay & Hold Times
Read Cycle
Write Cycle
tRC
tWC
ADDR[3:0]
tAS
tAS
CS
tACS
tRD
RE
tACS
WE
tGQV
tRDH
tGQLZ
DATA[7:0]
Valid Data
tWD
tDS
tWDH
Valid Data
Fig. 16: Host Interface Timing Diagram
VDDINT(min)
VDDIO(min)
VDDINT
VDDIO
t RESET
t RESET
RESET
Fig. 17: Reset Timing Diagram
31
GENNUM CORPORATION
522 - 45 - 05
Audio Channels
(CH1/2/3/4)
Audio Channels
(CH5/6/7/8)
Audio Channels
(CH9/10/11/12)
Audio Channels
(CH13/14/15/16)
VIDEO
OUT
VIDEO IN
S/P
DIN
DOUT
DOUT
DIN
DOUT
DOUT
DIN
AINA
AINA
AINA
AINA
AINB
AINB
AINB
AINB
PCLK
PCLK
ACLK
DEMUX/MUX
WCIN
ACLK
DEMUX/MUX
WCIN
PCLK
ACLK
DEMUX/MUX
WCIN
PCLK
ACLK
DEMUX/MUX
WCIN
P/S
GS9023
CLK
54MHz
36MHz
27MHz
17.7MHz
14.3MHz
DIN
PLL
Group DID No.
CPU
Fig. 18: Multiplex Mode Cascadable Architecture
NOTE: In the 525/D1 video format, only 15 channels of 24 bit audio can be multiplexed
VIDEO INPUT
WITH 16 CH.
AUDIO DATA
10
S/P
CLK
54MHz
36MHz
27MHz
17.7MHz
14.3MHz
PLL
DIN
DOUT
10
AOUTA
AOUTB
PCLK WCOUT
VDD
ACLK
DEMUX/MUX
128fs(6.144MHz)
Group DID No.
AUDIO OUTPUT CH. 1/2
AUDIO OUTPUT CH. 3/4
WORD CLOCK #1
WORD CLOCK #1
GS9023 #1
CPU
10
DIN
DOUT
10
AOUTA
AOUTB
PCLK WCOUT
VDD
ACLK
DEMUX/MUX
AUDIO OUTPUT CH. 5/6
AUDIO OUTPUT CH. 7/8
WORD CLOCK #2
WORD CLOCK #2
AUDIO OUTPUT CH. 9/10
AUDIO OUTPUT CH. 11/12
WORD CLOCK #3
WORD CLOCK #3
GS9023 #2
10
DIN
DOUT
10
AOUTA
AOUTB
PCLK WCOUT
VDD
ACLK
DEMUX/MUX
GS9023 #3
10
DIN
DOUT
10
AOUTA
AOUTB
PCLK WCOUT
VDD
ACLK
DEMUX/MUX
AUDIO OUTPUT CH. 13/14
AUDIO OUTPUT CH. 15/16
WORD CLOCK #4
WORD CLOCK #4
Time
GS9023 #4
Fig. 19: Demultiplex Mode Parallel Architecture
NOTE: The Group DID value set in the GS9023 via the Host Interface Port corresponds to the audio channels to be demultiplexed.
32
GENNUM CORPORATION
522 - 45 - 05
PACKAGING INFORMATION
16.00 ±0.4
14.00 ±0.1
View on A-A
100
12˚ NOM
1
+0.05
0.125 -0.025
14.00 ±0.1
A
0˚ MIN
10˚ MAX
12˚ NOM
A
GS9023
16.00 ±0.4
0.50
±0.2
1.0
REF
1.40 ±0.1
1.70 MAX
0.5
0.18 +0.1
-0.05
100 pin LQFP (FY)
Dimensions in millimetres
0.1
CAUTION
REVISION NOTES:
Clarified pin descriptions for pins 6-10, 12-16, 19-22, 54, 55,
70, and 91; Added a section called “Non-Standard Sample
Distributions”; Added SMPTE compliance information to
FEATURES; Added information to the FUNCTION column of
CHACT(4-1) of Table15.
ELECTROSTATIC
SENSITIVE DEVICES
DO NOT OPEN PACKAGES OR HANDLE
EXCEPT AT A STATIC-FREE WORKSTATION
DOCUMENT IDENTIFICATION
PRELIMINARY DATA SHEET
The product is in a preproduction phase and specifications
are subject to change.
GENNUM CORPORATION
MAILING ADDRESS:
P.O. Box 489, Stn. A, Burlington, Ontario, Canada L7R 3Y3
Tel. +1 (905) 632-2996 Fax. +1 (905) 632-5946
SHIPPING ADDRESS:
970 Fraser Drive, Burlington, Ontario, Canada L7L 5P5
For latest product information, visit www.gennum.com
GENNUM JAPAN CORPORATION
C-101, Miyamae Village, 2-10-42 Miyamae, Suginami-ku
Tokyo 168-0081, Japan
Tel. +81 (03) 3334-7700 Fax. +81 (03) 3247-8839
GENNUM UK LIMITED
25 Long Garden Walk, Farnham, Surrey, England GU9 7HX
Tel. +44 (0)1252 747 000 Fax +44 (0)1252 726 523
Gennum Corporation assumes no responsibility for the use of any circuits described herein and makes no representations that they are free from patent infringement.
© Copyright July 1999 Gennum Corporation. All rights reserved. Printed in Canada.
33
522 - 45 - 05