Serial Copy Management System (Scms); User (U) Data E Buffer Access; Non-Audio Auto-Detection; Format Detection - Cirrus Logic CS42518-CQZ Instructions Manual

110 db, 192 khz 8-ch codec with s/pdif receiver
Hide thumbs Also See for CS42518-CQZ:
Table of Contents

Advertisement

CS42518

11.2.2 Serial Copy Management System (SCMS)

The CS42518 allows read access to all the channel status bits. For consumer mode SCMS compliance,
the host microcontroller needs to read and interpret the Category Code, Copy bit and L bit appropriately.

11.3. User (U) Data E Buffer Access

Entire blocks of U data are buffered using a cascade of 2 block-sized RAMs to perform the buffering as
described in the Channel Status section. The user has access to the E buffer through the control port Data
Buffer which is mapped into the register space of the CS42518. The Data Buffer must first be configured
to point to the address space of the U data. This is accomplished by setting the BSEL bit to '1' in the reg-
ister "Channel Status Data Buffer Control (address 24h)" on page 65.
The user can configure the Interrupt Mask Register to cause an interrupt whenever any data bit changes
are detected when D to E Channel Status buffer transfers occur. If no data bits have changed within the
current transfer of data from D to E, then no interrupt will be generated. This allows determination of the
acceptable time periods to interact with the E buffer. See "Interrupt Mask (address 21h)" on page 64 for
more details.
The U buffer access only operates in two byte mode, since there is no concept of A and B blocks for user
data.
The
arrangement
of
the
data
is
as
follows:
Bit15[A7]Bit14[B7]Bit13[A6]Bit12[B6]....
..Bit1[A0]Bit0[B0]. The arrangement of the data in each byte is as follows: MSB is the first received bit and
is the first transmitted bit. The first byte read is the first byte received, and the first byte sent is the first
byte transmitted. When two bytes are read from the E buffer, the bits are presented in the following ar-
rangement: A[7]B[7]A[6]B[6]....A[0]B[0].

11.3.1 Non-Audio Auto-Detection

The CS42518 S/PDIF receiver can detect non-audio data originating from AC-3 or MPEG encoders.
This is accomplished by looking for a 96-bit sync code, consisting of 0x0000, 0x0000, 0x0000, 0x0000,
0xF872, and 0x4E1F. When the sync code is detected, an internal AUTODETECT signal will be asserted.
If no additional sync codes are detected within the next 4096 frames, AUTODETECT will be de-asserted
until another sync code is detected. The AUDIO bit in the Receiver Channel Status register is the logical
OR of AUTODETECT and the received channel status bit 1. If non-audio data is detected, the data will be
processed exactly as if it were normal audio. It is up to the user to mute the outputs as required.
11.3.1a

Format Detection

The CS42518 can automatically detect various serial audio input formats. The Receiver Status register
(08h) is used to indicate a detected format. The register will indicate if uncompressed PCM data,
IEC61937 data, DTS_LD data, DTS_CD data, or digital silence was detected. Additionally, the IEC61937
Pc/Pd burst preambles are available in registers 09h-0Ch. See the register descriptions for more informa-
tion.
77

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CS42518-CQZ and is the answer not in the manual?

This manual is also suitable for:

Cs42518-cqCs42518Cs42518-dqz

Table of Contents