STA310
Description:
This register specifies the number of supplementary
packet synchro words that the packet parser must
detect before it is considered as synchronized, and
can send data to the audio parser (max=1, min=0). In
this way, stream data can not be sent to the audio
parser instead of packet sync words.
PACKET_LOCK = 0: the packet parser is synchro-
nized when it has detected one packet synchro word.
PACKET_LOCK = 1: the packet parser is synchro-
nized when it has detected two packet synchro
words.
ID_EN
Enable audio ID
7
6
5
4
3
2
1
0
Address: 0x50
Type: R/W
Software Reset: NC
Hardware Reset:UND
Description:
If set to 1, the audio decoder decodes only the stream
corresponding to the stream-id or sub-stream-id of
the packet layer. This selection is done through
AUDIO_ID or AUDIO_ID_EXT registers. If set to 0,
the decoder decodes all the audio packets.
ID
Audio ID
7
6
5
4
3
2
1
0
Address : 0x51
Type: R/W
Software Reset: NC
Hardware Reset: UND
Description:
When decoding packets, it is possible to specify an
identifier for a selected program. AUDIO_ID must be
written with the packet ID. This feature is enabled
when the register AUDIO_ID_EN is set, and only
packets with matching ID are decoded.
For MPEG1 packets or PES, the 5 LSB bits are sig-
nificant. For DVD PES (LPCM, Dolby Digital or
MPEG), the 3 LSB bits are significant (see audio
pack definition in DVD specifications).
These bits correspond to the stream number defined
in the STREAM_ID field of the audio packet header,
except for DVD, Dolby Digital or LPCM packets,
where they correspond to the stream number defined
in the SUB_STREAM_ID field.
ID_EXT
Audio extension
7
6
5
4
3
2
1
0
Address + 0x52
Type: R/W
Software Reset: NC
Hardware Reset: UND
Description:
The 3 LSB bits of this register are significant. In case
of DVD MPEG2 audio with extension bitstream (see
DVD specifications), this register is used to select the
stream defined in the STREAM_ID of the packets
containing MPEG2 extension bit stream data.
SYNC_LOCK
SYNC lock
7
6
5
4
3
2
1
0
Address: 0x53
Type: R/W
Software Reset: NC
Hardware Reset: UND
Description:
This register specifies the number of supplementary
audio synchro words that the audio parser must de-
tect before it is considered as synchronized, and can
send data to the decoder.
In this way, stream data can not be sent to the decod-
er instead of audio sync words. Max value = 3; min
value = 0. SYNC_LOCK = 0, the audio parser is syn-
chronized when it has detected one audio synchro
word. SYNC_LOCK = n > 0, when the audio parser
has detected one synchro word, it waits until it de-
tects n supplementary audio sync words.
59/90