
2.4 - PCM Output Interface
The decoded audio data are output in serial PCM
format. The interface consists of the following sig-
nals:
SDO PCM Serial Data Output
SCKT PCM Serial Clock Output
LRCLK Left/Right Channel Selection Clock
The output samples precision is selectable from
16 to 24 bits/word, by setting the output precision
(16, 18, 20 and 24 bits) with PCMCONF register.
Data can be output either with the most signifi-
cant bit first (MS) or least significant bit first (LS),
selected by writing into a flag of the PCMCONF
register.
Figure 8 gives a description of the STA003T PCM
Output Formats.
The sample rates set decoded by STA003T is de-
scribed in Table 1.
LRCKT
SDO
SDO
PCM_FORMAT = 0
PCM_DIFF = 0
PCM_FORMAT = 1
PCM_DIFF = 1
32 SCLK Cycles
32 SCLK Cycles
32 SCLK Cycles
32 SCLK Cycles
32 SCLK Cycles
M
S
M
S
L
S
L
S
L
S
L
S
M
S
M
S
M
S
L
S
M
S
L
S
L
S
L
S
M
S
M
S
LRCKT
SDO
SDO
PCM_ORD = 1
PCM_PREC is 16 bit mode
PCM_ORD = 0
PCM_PREC is 16 bit mode
16 SCLK Cycles
16 SCLK Cycles
16 SCLK Cycles
16 SCLK Cycles
16 SCLK Cycles
M
S
M
S
L
S
L
S
L
S
L
S
M
S
M
S
M
S
L
S
M
S
L
S
L
S
L
S
M
S
M
S
SDO
PCM_FORMAT = 0
PCM_DIFF = 1
L
S
L
S
M
S
M
S
M
S
L
S
L
S
M
S
SDO
PCM_FORMAT = 1
PCM_DIFF = 1
L
S
L
S
M
S
M
S
M
S
L
S
L
S
M
S
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
MSB
MSB
MSB
MSB
Figure 8.
PCM Output Formats
Table 1: MPEG Sampling Rates (KHz)
MPEG 1
48
32
MPEG 2
24
16
MPEG 2.5
12
8
2.5 - STA003T Decoding States
There are three different decoder states:
Idle,
Init,
and
Decode.
Commands to change the de-
coding states are described in the STA003T I
2
C
registers description.
Idle Mode
In this mode the decoder is waiting for the RUN
command. This mode should be used to initialise
the configuration register of the device. The DAC
connected to STA003T can be initialised during
this mode (set MUTE to 1).
PLAY
X
X
MUTE
0
1
Clock State
Not Running
Running
PCM Output
0
0
Init Mode
"PLAY" and "MUTE" changes are ignored in this
mode. The internal state of the decoder will be
updated only when the decoder changes from the
state "init" to the state "decode". The "init" phase
ends when the first decoded samples are at the
output stage of the device.
Decode Mode
This mode is completely described by the follow-
ing table:
PLAY
MUTE
Clock State
PCM
Output
0
0
Decoded
Samples
0
Decoding
0
0
1
0
1
0
Not Running
Running
Running
No
No
Yes
1
1
Running
Yes
STA003T
8/32