CS8416-IS Cirrus Logic, CS8416-IS Datasheet - Page 18

no-image

CS8416-IS

Manufacturer Part Number
CS8416-IS
Description
192 kHZ DIGITAL AUDIO INTERFACE RECEIVER
Manufacturer
Cirrus Logic
Datasheet
occurrence of the associated error and will remain
set until the user reads the register through the con-
trol port. This enables the register to log all un-
masked errors that occurred since the last time the
register was read.
As a result of the bits “stickiness”, it is necessary to
perform two reads on these registers to see if the er-
ror condition still exists.
The Receiver Error Mask register (06h) allows
masking of individual errors. The bits in this regis-
ter default to 00h and serve as masks for the corre-
sponding bits of the Receiver Error register. If a
mask bit is set to 1, the error is unmasked, which
implies the following: its occurrence will be report-
ed in the receiver error register, induce a pulse on
RERR, invoke the occurrence of a RERR interrupt,
and affect the current audio sample according to the
status of the HOLD bits. The exceptions are the
QCRC and CCRC errors, which do not affect the
current audio sample, even if unmasked.
The HOLD bits allow a choice of:
OR
RERR – The logical OR of all unmasked receiver
error bits, not ‘sticky”. RERR may be selected for
output on a GPO pin.
NVERR – Non-Validity Receiver error
Hardware Mode
In Hardware mode the user may choose between
NVERR or RERR by pulling the NV/RERR pin
low or high respectively.
5.4
Software Mode
The first 5 bytes of the Channel Status block are de-
coded into the Receiver Channel Status Registers
18
The error bits are “sticky”; they are set on the first
Holding the previous sample
Replacing the current sample with zero (mute)
Not changing the current audio sample
Channel Status Data Handling
19h - 22h. Registers 19h - 1Dh contain the A chan-
nel status data. Registers 1Eh - 22h contain the B
channel status data.
The EMPH, C, and U bits may be selected on GPO
pins by appropriately setting the GPOxSEL bits in
control port registers 02h and 03h.
The encoded channel status bits which indicate
sample word length are decoded according to
AES3-1992 or IEC 60958. The number of auxiliary
bits are reported in bits 7 to 4 of the Receiver Chan-
nel Status register.
Appendix B describes the overall handling of
Channel Status and User data.
5.5
Received User data may also be output to the U pin
under the control of a control register bit. VLRCK
(a virtual word clock, available through GPO pins,
that can used to frame the C/U output) and OLRCK
in serial port master mode can be made available to
qualify the U data output in software mode.
Figure 9
only OLRCK in master mode is available to qualify
the U output. If the incoming user data bits have
been encoded as Q- channel subcode, the data is de-
coded, buffered, and presented in 10 consecutive
register locations. An interrupt may be enabled to
indicate the decoding of a new Q-channel block,
which may be read through the control port.
5.5.1
An AES3 data stream may be used to convey non-
audio data, thus it is important to know whether the
incoming AES3 data stream is digital audio or not.
This information is typically conveyed in channel
status bit 1 (AUDIO), which is extracted automati-
cally by the CS8416. However, certain non-audio
sources, such as AC-3 or MPEG encoders, may not
adhere to this convention, and the bit may not be
properly set. The CS8416 AES3 receiver can detect
such non-audio data through the use of an autode-
tect module. The autodetect module is similar to
User Data Handling
illustrates the timing. In hardware mode,
Non-Audio Auto-Detection
CS8416
DS578PP2

Related parts for CS8416-IS