
16 of 37
G
GENNUM CORPORATION
19795 - 6
2.1.9 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
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.
The GS9023A 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.
The audio control packet structure as described in SMPTE
272M is shown in Figure 10.
Figure 10 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 GS9023A.
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 GS9023A.
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
GS9023A.
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 GS9023A.
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 GS9023A and set to the
same value. The sequence count is started at one at the
first frame after ‘lock’ is achieved.
TABLE 6 MULTIPLEXING POSITIONS FOR AUDIO CONTROL
PACKETS
VIDEO
STANDARD
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
A
A
A
D
D
D
A
A
R
A
D
D
D
D
D
D
D
D
D
D
D
D
R
R
C
* The ancillary data flag, ADF, is one word in composite systems (ANSI/SMPTE 259M) and three words
in component systems (ANSI/SMPTE 125M).