DocID006832 Rev 7 7/15
STA020 General description
15
require a minimum of 16- or 18-bit audio words respectively. In all formats other than 5 and
6, the STA020 can accept any word length from 16 to 24 bits by adding leading zeros in
format 7 and trailing zeros in the other formats, or by restricting the number of SCK periods
between active edges of FSYNC to the sample word length.
FSYNC must be derived from MCK, either through a DSP using the same clock or using
counters. If SFYNC moves (jitters) with respect to MCK by four MCK periods, the internal
counters and CBL may be reset.
Table 5. Audio port modes
Figure 5. Audio serial port formats
M2 M1 M0 Format
0 0 0 0 - FSYNC & SCK output
0 0 1 1 - Left/Right, 16-24 bits
0 1 0 2 - Word sync, 16-24 bits
0 1 1 3 - Reserved
1 0 0 4 - Left/Right, I
2
S compatible
1 0 1 5 - LSB justified, 16 bits
1 1 0 6 - LSB justified, 18 bits
1 1 1 7 - MSB last, 16-24 bits
FSYNC(out)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(out)
SDATA(in)
FSYNC(in)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(in)
SDATA(in)
FSYNC(in)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(in)
SDATA(in)
FORMAT 0:
FORMAT 1:
FORMAT 2:
(RESERVED)
FSYNC(in)
MSB LSB MSB LSB MSB
LEFT RIGHT
SCK(in)
SDATA(in)
FSYNC(in)
LSB MSB LSB
SCK(in)
SDATA(in)
FORMAT 3:
FORMAT 4:
FORMAT 5:
LEFT RIGHT
LSB
MSB
16 Bits 16 Bits
FSYNC(in)
LSB MSB LSB
SCK(in)
SDATA(in)
FORMAT 6:
LEFT RIGHT
LSB
MSB
18 Bits 18 Bits
FSYNC(in)
MSB LSB MSB
SCK(in)
SDATA(in)
FORMAT 7:
LEFT RIGHT
MSB
LSB
D97AU604
General description STA020
8/15 DocID006832 Rev 7
2.3 C, U, V serial port
The serial input pins for channel status (C), user (U), and validity (V) are sampled during the
first bit period after the active edge of FSYNC for all formats except Format 4. Format 4 is
sampled during the second bit period (coincident with the MSB). In Figure 5, the arrows on
SCK indicate when the C, U, and V bits are sampled. The C, U, and V bits are transmitted
with the audio sample entered before FSYNC edge that sampled it. The V bit, as defined in
the audio standards, is set to zero to indicate the audio data is suitable for conversion to
analog. Therefore, when the audio data is errored, or the data is not audio, the V bit should
be set high. The channel status serial input pin (C) is not available in consumer mode when
the CD subcode port is enabled (FC1 = FC0 = high). Any channel status data entered
through the channel status serial input (C) is logically OR’ed with the data entered through
the dedicated pins or internally generated.
2.4 RST and CBL (TRNPT is low)
When RST goes low, the differential line drivers are set to ground. In order to properly
synchronize the STA020 to the audio serial port, the transmit timing counters, which include
CBL, are not enabled after RST goes high until eight and one half SCK periods after reset is
exited) of FSYNC. When FSYNC is configured as a left/right signal (all defined formats
except 2), the counters and CBL are not enabled until the right sample is being transmitted).
This guarantees that channel A is left and channel B is right as per the digital audio interface
specs.
As shown in Figure 4, channel block start output (CBL) can assist in serially inputting the C,
U and V bits as CBL goes high one bit period before the first bit of the preamble of the first
sub-frame of the channel status block is transmitted. This sub-frame contains channel
status byte 0, bit 0. CBL returns low one bit period before the start of the frame that contains
bit 0 of channel status byte 16. CBL is not available when the CD subcode port is enabled.
Figure 4 illustrates timing for stereo data input on the audio port. Notice how CBL rises while
the right channel data (Right 0) is input, but the previous left channel (Left 0) is being
transmitted as the first sub-frame of the channel status block (starting with preamble Z). The
C, U, and V input ports only need to be valid for a short period after FSYNC changes. A sub-
frame includes one audio sample while a frame includes a stereo pair. A channel status
(C.S.) block contains 24 bytes of channel status and 384 audio samples (or 192 stereo
pairs, or frames, of samples). Figure 4 shows the CUV ports as having left and right bits
(e.g. CUV0L, CUV0R). Since the C.S. block is defined as 192 bits, or one bit per frame,
there are actually 2 C.S. blocks, one for channel A (left) and one for channel B (right). When
inputting stereo audio data, both blocks normally contain the same information, so C0L and
C0R from the input port pin are both channel status bit 0 of byte 0, which is defined as
professional/consumer. These first two bits from the port, C0L and C0R, are logically OR’ed
with the inverse
PRO, since PRO is a dedicated channel status pin defined as C.S. bit 0.
Also, if in professional mode, C1, C6, C7 and C9 are dedicated C.S. pins. The inverse of C1
is logically OR’ed with channel status input ports bits C1L and C1R. In similar fashion, C6,
C7 and C9 are OR’ed with their respective input bits. Also, the C bits in CUV128L and
CUV128R are both channel status block bit 128, which is bit 0 of channel status byte 16.
DocID006832 Rev 7 9/15
STA020 General description
15
Figure 6. CBL and transmitter timing
2.5 Transparent mode
In certain applications it is desirable to receive digital audio data with the STA120 and
retransmit it with the STA020. In this case, channel status, user and validity information
must pass through unaltered. For studio environments, AES recommends that signal timing
synchronization be maintained throughout the studio. Frame synchronization of digital audio
signals input to and output from a piece of equipment must be within ±5%.
The transparent mode of the STA020 is selected by setting TRNPT, pin 24, high. In this
mode, the CBL pin becomes an input, allowing direct connection of the outputs of the
STA120 to the inputs of the STA020 as shown in Figure 7. The transmitter and receiver are
synchronized by the FSYNC signal. CBL specifies the start of a new channel status block
boundary, allowing the transmit block structure to be slaved to the block structure of the
receiver.
In the transparent mode, C, U and V are now transmitted with the current audio sample as
shown in Figure 7 (TRNPT high) and the dedicated channel status pins are ignored.
When FSYNC is a word clock (Format 2), CBL is sampled when left C, U, V are sampled.
When FSYNC is Left/Right, CBL is sampled when left C, U, V are sampled. The channel
status block boundary is reset when CBL transitions from low to high (based on two
successive samples of CBL). MCK for the STA020 is normally expected to be 128 times the
sample frequency, in the transparent mode MCK must be 256 Fs.
2.6 Professional mode
Setting PRO low places the STA020 in professional mode as shown in Figure 8. In
professional mode, channel status bit 0 is transmitted as a one and bits 1, 2, 3, 4, 6, 7 and 9
can be controlled via dedicated pins. The pins are actually the inverse of the identified bit.
For example, tying the C1 pin low places a one in channel status bit 1. As shown in the
application note, “Overview of AES/EBU Digital Audio Interface Data Structures”, C1
CUV0L
CUV191R
CUV0R
CUV0L
CUV1L
CUV0R
CUV1R
CUV1L
CUV128R
CUV128L
CUV0L
CUV191R
CUV0R
CUV0L
LEFT 0 RIGHT 0 LEFT 1 LEFT 128 RIGHT 128 LEFT 0 RIGHT 0
C BITS FROM CPIN
C BITS OR'ed
w/PRO pin
C BITS OR'ed
w/C1 pin
BITS 0 of C.S.
BLOCK BYTE 16
RIGHT 191 LEFT 0 RIGHT 0
LEFT
128
RIGHT
128
Preamble Y VUCP191R
Preamble Z
VUCP0L
Preamble Y
VUCP0R
VUCP127R Preamble X
VUCP128L
Preamble Y
Preamble Z Aux Data LSB Left 0 - Audio Data MSB V0 U0 C0 P0
28 29 30 3127
83740
SUB-FRAME
bit
D99AU990
SDATA
TRNPT high
CBL
TRNPT low
FSYNC
C,U,V
TRNPT high
TRNPT low
TXP
TXN

STA020DJTR

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

Products related to this Datasheet