7/15
STA120
Table 1. Normal Audio Port Modes (M3 = 0)
Special Modes (M3 = 1)
When M3 is high, the special audio modes described in Table 2 are selected via M2, M1, and M0. In for-
mats 8, 9, and 10, SCK, FSYNC, and SDATA are the same as in formats 0, 1, and 2 respectively; however,
the recovered data is output as is even if ERF is high, indicating an error. (In modes 0-2 the previous valid
sample is output).
When out of lock invalid data are sent to the output and the ERF pin goes high.
Format 11 is similar to format 0 except that SCK is an input and FSYNC is an output.
In this mode FSYNC and SDATA are synchronized to the incoming SCK, This mode may be useful when
writing data to storage.
Table 2. Special Audio Port Modes (M3 = 1)
Format 12 is similar to format 7 except that SDATA is the entire data word received from the transmission
line including the C, U, V, and P bits, with zeros in place of the preamble. In format 13 SDATA contains
the entire biphase encoded data from the transmission line including the preamble, and SCK is twice the
normal frequency.
The normal two frame delay of data from input to output is reduced to only a few bit periods in formats 12
and 13. However, the C, U, V bits and error codes follow their normal pathways and therefore follow the
output data by nearly two frames. Figure 4.... illustrates formats 12 and 13. Format 14 is reserved and not
presently used, and format 15 causes the STA120 to go into a reset state. While in reset all outputs will
be inactive except MCK. The STA120 incorporates a Power-on Reset to avoid a Reset at power-up.
C, U, VERF, ERF, and CBL Serial Outputs
The C and U bits and CBL are output one SCK period prior to the active edge of FSYNC in all serial port
formats except 2, 3 and 10 (I
2
S modes). The active edge of FSYNC may be used to latch C, U, and CBL
externally. In formats 2, 3 and 10, the C and U bits and CBL are updated with the active edge of FSYNC.
The validity + error flag (VERF) and the error flag (ERF) are always updated at the active edge of FSYNC.
M2 M1 M0 Format
0 0 0 0 - Out, L/R, 16-24 Bits
0 0 1 1 - In, L/R, 16-24 Bits
010
2 - Out, L/R, I
2
S Compatible
011
3 - In, L/R, I
2
S Compatible
1 0 0 4 - Out, WSYNC, 16-24 Bits
1 0 1 5 - Out, L/R, 16 Bits LSBJ
1 1 0 6 - Out, L/R, 18 Bits LSBJ
1 1 1 7 - Out, L/R, MSB Last
M2 M1 M0 Format
0 0 0 8 - Format 0 - No repeat on error
0 0 1 9 - Format 1 - No repeat on error
0 1 0 10 - Format 2 - No repeat on error
0 1 1 11 - Format 0 - Async. SCK input
1 0 0 12 - Received NRZ Data
1 0 1 13 - Received Bi-phase Data
1 1 0 14 - Reserved
1 1 1 15 - STA120 Reset
STA120
8/15
This timing is illustrated in Figure 5.
The C output contains the channel status bits with CBL rising indicating the start of a new channel status
block. CBL is high for the first four bytes of channel status (32 frames or 64 samples) and low for the last
20 bytes of channel status (160 frames or 320 samples).
The U output contains the User Channel data. The V bit is OR'ed with the ERF flag and output on the
VERF pin. This indicates that the audio sample may be in error and can be used by interpolation filters to
interpolate through the error.
ERF being high indicates a serious error occurred on the transmission line. There are three errors that
cause ERF to go high: a parity error or biphase coding violation during that sample, or an out of lock PLL
receiver. Timing for the above pins is illustrated in Figure 5.
Multifunction Pins
There are seven multifunction pins which contain either error and received frequency information, or chan-
nel status information, selectable by SEL.
Figure 3. Audio Serial Port Formats
FSYNC(out)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(out)
SDATA(out)
FSYNC(in)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(in)
SDATA(out)
FSYNC(out)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(out)
SDATA(out)
FORMAT 0:
FORMAT 1:
FORMAT 2:
FSYNC(out)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(out)
SDATA(out)
FSYNC(out)
LSB MSB LSB
SCK(out)
SDATA(out)
FORMAT 4:
FORMAT 5:
LEFT RIGHT
LSB
MSB
16 Bits 16 Bits
FSYNC(out)
LSB MSB LSB
SCK(out)
SDATA(out)
FORMAT 6:
LEFT RIGHT
LSB
MSB
18 Bits 18 Bits
FSYNC(out)
MSB LSB MSB
SCK(out)
SDATA(out)
FORMAT 7:
LEFT RIGHT
MSB
LSB
D97AU610
M2 M1 M0
0 0 0
0 0 1
0 1 0
FSYNC(in)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(in)
SDATA(out)
FORMAT 3:
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
9/15
STA120
Figure 4. Special Audio Port Formats 12 and 13
Error And Frequency Reporting
When SEL is low, error and received frequency information are selected.
The error information is encoded on pins E2, E1, and E0, and is decoded as shown in Table 3. When an
error occurs, the corresponding error code is latched.
Clearing is then accomplished by bringing SEL high for more than eight MCK cycles. The errors have a
priority associated with their error code, with validity having the lowest priority that occurred since the last
clearing will be selected.
Table 3. Error Decoding
Figure 5. CBL Timing
E2 E1 E0 Error
0 0 0 No Error
0 0 1 Validity Bit High
0 1 0 Confidence flag
0 1 1 Slipped Sample
1 0 0 CRC Error (PRO only)
1 0 1 Parity Error
1 1 0 Bi-Phase Coding Error
1 1 1 No Lock
AUX LSB
LEFT RIGHT
MSB V U C P AUX LSB MSB V U C P
LSB
LEFT RIGHT
MSB LSB MSB
AUX
VUCP
AUX VUCP
FSYNC(out)
SCK(out)
SDATA(out)
FSYNC(out)
SCK(out)
SDATA(out)
D98AU987
RIGHT 0 RIGHT 191 LEFT 0RIGHT 31RIGHT 191
CBL
C0
D98AU988
LEFT 0 LEFT 1 LEFT 32SDATA
Ca-Ce
FSYNC
ERF,
VERF
C, U

STA120DJ

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
Audio Transmitters, Receivers, Transceivers Digital audio interface receiver
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet