STA310
This register contains header data
HEAD[23:16].HEAD3[7:5]=“000”, in all cases
HEAD3[4:0] = DTYPE
DTYPE is the data type and is defined as follows:
Bit
DTYPE
Description
0000: Null data or Linear PCM
0001: Dolby Digital
0100: MPEG-1 Layer I
0101: MPEG-1 Layer II or MPEG-2
word extension
0110: MPEG-2 Layer II with extension
1001: MPEG-2 Layer II low sample
rate
(11) 1011: DTS-1 (Frame Size 512)
(12) 1100: DTS-2 (Frame Size 1024)
(13) 1101: DTS-3 (Frame Size 2048)
This register can not detect the data-type of data in a stream.
HEADLEN
Frame length
7
6
5
4
32
1
0
HEADLEN[15:8]
HEADLEN[7:0]
Address: 0x44 - 0x45
Type: RO
Software Reset: UND
Hardware Reset: UND
Description:
The HEADLEN register contains the bit length of the
compressed data frame HEAD[15:0]. HEADER reg-
isters are all updated as soon as the decoder begins
to decode a frame.
PTS
PTS
7 6 5 4 321 0
0x46
PTS[32]
0x47
PTS[31:24]
0x48
PTS[23:16]
0x49
PTS[15:8]
0x4A
PTS[7:0]
Address: 0x46 to 0x4A
Type: R/W
Software Reset: UND
Hardware Reset: UND
Description:
When the PTS interrupt is activated, a new PTS val-
ue is stored in this register. Once the PTS[32] value
is read bit PTS of the PTS register is cleared.
ERROR
ERROR code
7
6
5
4
3
2
1
0
Address + 0x0F
Type: RO
Software Reset: 0
Hardware Reset:0
Description:
This is a status register, when read by the ST20, this
and the corresponding interrupt register are cleared.
This 7-bit register is ANDed with 0x7F to get the cor-
rect value. The value in the ERROR register indi-
cates the type of error that has occurred. These
errors are defined in the table below.
Error Name
Value
(decimal)
Dolby Digital decoding
No error
0
EXPAND_DELTA_PAST_END_ARRAY
1
XDCALL_TRY_TO_REUSE_REMAT_FLG
2
XDCALL_TRY_TO_REUSE_COUPLING_ST 3
RA
XDCALL_CANT_COUPLE_IN_DUAL_MODE 4
XDCALL_TRY_TO_REUSE_CPL_LEAK
5
XDCALL_TRY_TO_REUSE_SNR
6
XDCALL_TRY_TO_REUSE_BIT_ALLOC
7
XDCALL_TRY_TO_REUSE_COUPLING_EX 8
PONENT_STRA
XDCALL_TRY_TO_REUSE_EXPONENT_S
9
TRA
XDCALL_TRY_TO_REUSE_LFE_EXPONEN 10
T_STRA
XDCALL_CHBWCOD_IS_TOO_HIGH
11
56/90