September 1994
24
Philips Semiconductors
Preliminary specification
MPEG Audio Source Decoder
SAA2500
Table 17
Status flag definitions.
Notes
1.
By interpreting DST2 to DST0, the host can synchronize to the input frame frequency, and also determine at which
moment which L3 data item is available to be read. The value of DST2 to DST0 is only valid if flag INSYNC is set.
a) DST2 is a modulo 2 frame counter, i.e. DST2 inverts at the moment the decoding of a new frame is started. DST2
enables to host to sample the decoding subprocess DST1 to DST0 less frequently, meanwhile enabling the host
to see if it missed a state.
b) DST1 and DST0 values are explained in Table 18.
INSYNC is synchronization indication:
a) INSYNC = 0; the SAA2500 is not synchronized to the input data.
b) INSYNC = 1; the SAA2500 is synchronized to the input data.
As indicated in Section “Input data frame header items”, some of the readable data item bits only have significance
if INSYNC = 1.
L3RDY is L3 interface ready indication:
a) L3RDY = 0; the L3 interface cannot perform a new item data transfer yet.
b) L3RDY = 1; the L3 interface is ready for the next item data transfer.
After a device reset, L3RDY is cleared and will only become set after writing the first L3 control byte to the SAA2500.
The value of L3RDY can be tested by polling signal L3DATA instead of transferring the whole status byte.
2.
3.
4.
Table 18
Status bytes DST1 and DST0.
The DST1 and DST0 values in general do not have a determined duration. However, subprocess 3 takes at least a
1
2
frame period when ISO/MPEG layer I data is decoded, and
5
6
frame period when ISO/MPEG layer II data is decoded.
Table 19 indicates the validity of the SAA2500 readable data items with respect to the decoding subprocess. Reading of
a data item in a period when it is not valid renders undefined data.
7
6
5
4
3
2
1
0
DST2
(1)
DST1
(1)
DST0
(1)
undefined
undefined
undefined
INSYNC
(2)(3)
L3RDY
(4)
DST1
DST0
FUNCTION
0
0
1
1
0
1
0
1
subprocess 0; reading Ancillary Data or decoding header
subprocess 1; decoding bit allocation or scale factor select information
subprocess 2; decoding scale factors
subprocess 3; decoding samples