AD AD1892

a
Integrated Digital
Receiver/Rate Converter
AD1892
FEATURES
Complete EIAJ CP-340 (CP-1201), IEC-958, AES/EBU,
S/PDIF Compatible Digital Audio Receiver and
Asynchronous Sample Rate Converter
Status Pins and Microprocessor Interfaces for
Stand-Alone and Microcontroller-Oriented Operation
Integrated Channel Status Buffer and Q-Channel
Subcode Buffer (Supports EIAJ CP-2401)
20-Bit SamplePort® Architecture Provides Superb Jitter
Rejection on Input Port
Sample Rate Conversion from 8 kHz to 48 kHz with
1:5 Upsampling Range
1:0.85 Downsampling Range
120 dB Dynamic Range
–113 dB THD+N @ 1 kHz
CRC Calculation on Q-Channel Subcode (Consumer
Mode Only) and on Channel Status (Pro Mode Only)
Four-Wire SPI™ Compatible Serial Control Port
Mute Input Pin
Power-Down Mode
Single +5 V Supply
Flexible Three-Wire Serial Data Port with Left-Justified,
Right-Justified and I2 S-Compatible Modes
28-Lead SOIC Package
PRODUCT OVERVIEW
The AD1892 combines a CP-1201, CP-340, IEC-958, AES/
EBU, S/PDIF compatible Digital Audio Receiver (DAR) with
an asynchronous sample rate converter, allowing the user to
specify the output sample rate of the received digital audio information. The DAR block features support for both Q-channel
subcode information (to support CD, CD-R, MD and DAT
digital audio formats) as well as Channel Status information. A
microcontroller interface, with an SPI compatible serial port,
allows full access to the 80-bit Q-Channel subcode buffer and to
the 32-bit Channel Status buffer, as well as to the control and
status registers. Additionally, key status information from the
incoming subframes and the Channel Status buffer is reported
on status output pins on the AD1892, so the AD1892 may be
used in systems that do not include a microcontroller or
microprocessor.
The asynchronous sample rate converter block is based on
market leading AD1890 family SamplePort rate conversion technology. The AD1892 offers a 1:5 upsampling range, and will
downsample from 48 kHz to 44.1 kHz. Input audio word widths
up to 20 bits are supported, and output audio word widths of 16
or 20 are supported, with 120 dB of dynamic range and –113 dB
THD+N. The rate converter inherently rejects jitter on the
recovered clocks from the incoming biphase-mark encoded
stream. Indeed, sample rate conversion is highly synergistic
with digital audio reception, allowing the use of a fully digital
phase locked loop clock recovery scheme with highly robust
clock recovery and jitter rejection.
APPLICATIONS
DVD, DAT, MD, DCC and CD-R Recorders and Players
Computer Multimedia Products
DAB Receivers, Automotive Digital Audio Networks
(continued on Page 4)
FUNCTIONAL BLOCK DIAGRAM
POWER-DOWN/RESET
512 x FSOUT
CLOCK
GENERATOR
ASYNCH SAMPLE
RATE CONVERTER
OUTPUT SERIAL
INTERFACE
DATA
BIPHASE-MARK 2
INPUT
BIPHASE-MARK
RECEIVER
MUTE
BYPASS
CONTROL
Q-CHANNEL
SUBCODE BUFFER
BCLK
LRCLK
SDATA
SYNC
COMPARATOR
CRC
CHECK
3
CA
CRC
CHECK
CHANNEL STATUS
BUFFER
AD1892
CB
CC
CD
CE
MICROCONTROLLER
INTERFACE
CON/PRO
CSCLK
4
NO
SIGNAL
ERROR
INTERRUPT U/C BIT
SFCLK
QDFS
CLOCK, LATCH,
DATA IN,
DATA OUT
2
DIGITAL
SUPPLY
SamplePort is a registered trademark of Analog Devices, Inc.
SPI is a trademark of Motorola, Inc.
REV. 0
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties
which may result from its use. No license is granted by implication or
otherwise under any patent or patent rights of Analog Devices.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
Tel: 781/329-4700
World Wide Web Site: http://www.analog.com
Fax: 781/326-8703
© Analog Devices, Inc., 1998
AD1892–SPECIFICATIONS
TEST CONDITIONS UNLESS OTHERWISE NOTED
Supply Voltage
+5.0
V
Ambient Temperature
25
°C
48.8
kHz
Output Sample Frequency (FSOUT)
MCLK
25
MHz (512 × FSOUT )
Input Word Width
20
Bits
Load Capacitance
100
pF
All minimums and maximums tested except as noted.
PERFORMANCE1
Min
120
Dynamic Range (20 Hz to 20 kHz, –60 dB Input)
Total Harmonic Distortion + Noise
(20 Hz to 20 kHz, Full-Scale Input)
(1 kHz Full-Scale Input)
(10 kHz Full-Scale Input)
Interchannel Phase Deviation
Typ
Max
Units
dB
–103
–113
–107
0
dB
dB
dB
Degrees
Max
Units
V
V
µA
µA
V
V
pF
DIGITAL I/O1
Min
2.4
VIH
VIL
IIH @ V IH = +5.0 V
IIL @ V IL = 0 V
VOH @ IOH = –0.5 mA
VOL @ IOL = 0.5 mA
Input Capacitance1
Typ
0.8
10
10
DVDD – (0.5)
0.5
15
DIGITAL TIMING1
tMCP
FMCLK
tPDRP
tBDM
tLDM
tDDP
tDDS
tDDH
tSSU
tCCH
tCCL
tCCP
tCSU
tCHD
tCOH
tSFPW
tSFSU
tCSPW
tQDH
tCLH
tCLK
tRS
1
MCLK Duty Cycle
MCLK Frequency (1/tMCP)1
PD/RST LO Pulsewidth
BCLK Propagation Delay from MCLK (to Falling Edge)
LRCLK Propagation Delay from MCLK
Data Propagation Delay from MCLK
Data Output Setup to BCLK
Data Output Hold from BCLK
SYNC Falling Setup to MCLK Rising
CCLK HI Pulsewidth
CCLK LO Pulsewidth
CCLK Period
SDI Setup
SDI Hold
SDO Propagation Delay from CCLK
SFCLK HI Pulsewidth1
U/CBIT, INT, ERROR Setup to SFCLK
CSCLK HI Pulsewidth1
QDFS HI Pulsewidth1
CS HI Pulsewidth
CS Falling Edge to CCLK Rising
PD/RST Rising to MCLK Rising Edge (Only Required
for Synchronizing Multiple Parts)
Min
40
Typ
100
100
100
1000
10 × MCLK Period
3 × MCLK Period
Units
%
MHz
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
5
ns
10 × MCLK Period
Max
60
25
30
30
30
1/2 BCLK Period
1/2 BCLK Period
5
20
20
8 × MCLK Period
15
10
30
DIGITAL RS-422 RECEIVERS (RXP, RXN Pins Only)
Min
Input Resistance
Min Differential AES/EBU or S/PDIF Input
Input Hysteresis
Typ
20
200
20
–2–
Max
Units
kΩ
mV p-p
mV
REV. 0
AD1892
POWER
Min
Supplies
Voltage, DVDD
Operational Current, IDD (DVDD = +5.0 V)
Power-Down Current, IDD (DVDD = +5.0 V) (PD/RST LO)
Dissipation1
Operational (DVDD = +5.0 V)
Power-Down (DVDD = +5.0 V) (PD/RST LO)
Typ
Max
Units
50
3
5.5
60
6
V
mA
mA
250
15
300
30
mW
mW
4.5
TEMPERATURE RANGE
Specifications Guaranteed
Storage
Min
Max
Units
–40
–55
+85
+125
°C
°C
Min
Max
Units
–0.3
–0.3
7.0
DVDD + 0.3
+300
10
V
V
°C
sec
Min
Max
Units
700
± 0.015
3000
dB
µs
ABSOLUTE MAXIMUM RATINGS 2
DVDD to DGND
DC Input Voltage
Soldering
DIGITAL FILTER CHARACTERISTICS1
Passband Ripple (0 kHz to 20 kHz) (FS = 44.1 kHz)
Group Delay (LRCLK = 50 kHz)
NOTES
1
Guaranteed, not tested.
2
Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of
the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods may affect device reliability.
Specifications subject to change without notice.
ORDERING GUIDE
Model
Temperature Range
AD1892JR
–40°C to +85°C
AD1892JRRL –40°C to +85°C
Package Description Package Options
28-Lead SOIC
28-Lead SOIC
R-28
R-28 on 13" Reels
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the AD1892 features proprietary ESD protection circuitry, permanent damage may
occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD
precautions are recommended to avoid performance degradation or loss of functionality.
REV. 0
–3–
WARNING!
ESD SENSITIVE DEVICE
AD1892
(continued from Page 1)
DEFINITIONS
Dynamic Range
PRODUCT OVERVIEW (Continued)
In addition to the Q-channel subcode and Channel Status buffers, the AD1892 includes two 8-bit control registers and two 8bit status registers. The output data interface may be configured
in left-justified, I2S-justified and right-justified modes. The
AD1892 includes hardware power-down/reset and mute control
inputs, and power-down/reset and mute may also be invoked
through write to bits in the control registers. The AD1892
operates from a master clock that must be synchronous with the
output sample rate at 512 × FS. Cyclic Redundancy Coding
(CRC) error detection is performed over the full 80 bits of the
received Q-channel subcode information in consumer mode, as
well as the full 192 bits of the received Channel Status information in professional mode.
The ratio of a full-scale input signal to the integrated noise in the
passband (0 kHz to ≈20 kHz), expressed in decibels (dB).
Dynamic range is measured with a –60 dB input signal and
“60 dB” arithmetically added to the result. This measurement
technique is consistent with the recommendations of the Audio
Engineering Society (AES17-1991) and the Electronic Industries
Association of Japan (EIAJ CP-307).
Total Harmonic Distortion + Noise
Total Harmonic Distortion plus Noise (THD+N) is defined as
the ratio of the square root of the sum of the squares of the
values of the harmonics and noise to the value of the fundamental input frequency. It is usually expressed in percent (%) or
decibels.
The AD1892 includes a SYNC input (Pin 23) that allows
multiple AD1892s in a system to be synchronized to a common
LEFT/RIGHT clock.
Interchannel Phase Deviation
The AD1892 is offered in a 28-lead SOIC package. It operates
over the industrial temperature range from –40°C to +85°C
at a supply voltage from 4.5 V to 5.5 V. The only external
components required to support the AD1892 are power supply
decoupling capacitors.
Group Delay
Difference in input sampling times between stereo channels,
expressed as a phase difference in degrees between 1 kHz inputs.
The time interval required for the frequency components of an
input pulse to appear at the converter’s output, expressed in
milliseconds (ms). More precisely, the derivative of radian phase
with respect to radian frequency at a given frequency.
AD1892 PIN LIST
Biphase-Mark Serial Input
Pin Name SOIC
I/O
Description
RXP
RXN
I
I
Positive differential biphase-mark serial digital audio receiver input. 20 mV hysteresis.
Negative differential biphase-mark serial digital audio receiver input. 20 mV hysteresis.
13
14
Serial Output Interface
Pin Name SOIC
I/O
Description
SDATA
24
O
BCLK
26
O
LRCLK
25
O
SYNC
23
I
Serial output, MSB first, containing two channels of 16 to 20 bits (default) of twos-complement
data per channel, depending on control register settings. The data can be configured in I2S-justified
(default), left-justified, and right-justified orientations, depending on control register settings. See
Figure 36 for timing.
Bit clock output for output data. Frequency is either 32 × FS (packed mode) or 64 × FS (default),
depending on control register settings. See Figure 36 for timing.
LEFT/RIGHT clock output for output data. Runs continuously and is a synchronous divide-down
from MCLK (MCLK/512). See Figure 36 for timing.
The SYNC input allows multiple AD1892s in a system to be phase and group delay synchronized to
the same LEFT/RIGHT clock. The SYNC signal resets internal AD1892 counters such that 512 MCLK
cycles after the falling edge of SYNC, the AD1892 data will be valid, and the AD1892 LRCLK signal
will change state. It is recommended that the SYNC input be used only when the AD1892 is in the
64 × FSOUT BCLK mode (default configuration). GND when not in use.
Decoded Channel Status Outputs
Pin Name SOIC
CA
21
I/O
O
CB
O
20
Description
In consumer or professional mode, CA is the inverse of Channel Status Bit 1, Byte 0 (C1, audio/
nonaudio). CA = 0 indicates nonaudio, CA = 1 indicates audio. CA = 0 can be used to indicate
Dolby AC-3 encoded data.
In consumer mode, CB is the inverse of Channel Status Bit 2, Byte 0 (C2, copy/copyright). CB = 0
indicates copy permitted/copyright not asserted; CB = 1 indicates copy inhibited/copyright asserted.
In professional mode, CB is defined as EM0, the least significant bit of the two bits that encodes the
emphasis status of the audio material.
–4–
REV. 0
AD1892
Decoded Channel Status Outputs (Continued)
Pin Name SOIC
I/O
Description
CC
O
In consumer mode, CC is the inverse Channel Status Bit 3, Byte 0 (C3, pre-emphasis). CC = 0
indicates that the audio material has been pre-emphasized; CC = 1 indicates that the audio material
has not been pre-emphasized.
In professional mode, CC is the most significant bit of the two bits that encodes the emphasis status
of the audio material.
Table I illustrates the professional mode emphasis encoding.
19
Table I. Professional Mode Emphasis Encoding
CD
18
O
CE
17
O
AD1892
Output
CC
CB
BYTE 0
Channel Status Bit
C2
C3
C4
1
1
0
0
0
1
0
0
0
1
0
1
1
1
0
1
1
0
0
1
Status
Emphasis not indicated. Receiver defaults to
no emphasis with manual override enabled.
None. Receiver manual override disabled.
50/15 µs. Receiver manual override disabled.
CCITT J. 17. Receiver manual override disabled.
In consumer mode, CD indicates that the audio material is original over all category codes. The
state of this bit is affected by both the generation status “L” bit (Channel Status Bit 15, Byte 1) and
the category code (Channel Status Bits 8 through 14, Byte 1) since the definition of the L bit is reversed for three of the category codes (001XXXX, 0111XXX, and 100XXXX). CD = 0 indicates
that the audio material is original. CD = 1 indicates that the audio material is a copy (first generation or higher).
In professional mode, CD is the inverse of Channel Status Bit 9, Byte 1. CD provides some information about channel mode. See below for additional details.
In consumer mode, CE indicates the so-called “ignorant” category codes of “general” (0000 000)
and “A/D converter without copyright information” (0110 000). CE = 1 indicates that the audio
material is not encoded using an ignorant category code. CE = 0 indicates that the audio material is
encoded using an ignorant category code. This status output can be used in conjunction with the
CD output (Pin 18) to implement SCMS copy protection. See below for additional details.
In professional mode, CE indicates a Cyclic Redundancy Code (CRC) check error. CE = 0 indicates that the calculated CRC value does not match the received CRC value. CE = 1 indicates that
the calculated CRC value does match the received CRC value. CE may be used to enable the display of the CA through CD states. If CE = 0, then CA through CD may be considered to be in
error, and their display should not be updated.
The Table II summarizes the function of the CA through CE pins, depending on the operating mode
(professional or consumer).
Table II. Decoded Channel Status Output Functions
Pin
CA
CB
CC
CD
CE
CON/PRO
15
O
CSCLK
16
O
REV. 0
Consumer
Professional
0 = Audio, 1 = Nonaudio
0 = Copy Permitted, 1 = Copy Inhibited
0 = Pre-emphasis, 1 = No Pre-emphasis
0 = Original, 1 = Copy
0 = Ignorant Category, 1 = Not Ignorant
0 = Audio, 1 = Nonaudio
Pre-emphasis Encoding
Pre-emphasis Encoding
Inverse of Channel Status Bit 9
0 = C.S. CRC Error, 1 = No C.S. CRC Error
CON/PRO is defined as the inverse Channel Status bit 0, byte 0 (C0, pro/consumer). CON/PRO =
0 indicates professional mode. CON/PRO = 1 indicates consumer mode. The state of this pin internally determines the consumer/pro mode of the CA, CB, CC, CD and CE pins.
Channel Status Clock. Active HI (rising edge active). Outputs a pulse every 192 frames at the
start of the Channel Status block. Use the falling edge of this clock to latch the CA through CE
and CON/PRO output Channel Status signals. See Figure 38 for timing.
–5–
AD1892
Subframe Status Outputs
Pin Name SOIC
I/O
Description
NOSIG
12
O
ERROR
11
O
INT
10
O
U/CBIT
9
O
SFCLK
8
O
NOSIG (No Signal) is asserted HI when no biphase-mark input is applied to the AD1892 when
either the input sample rate is too high for the applied master clock (MCLK) frequency or, equivalently, the master clock frequency is too low for the applied input sample rate. NOSIG is deasserted
LO during normal operation. This signal is asynchronous and has no particular timing relationship
with any of the clock signals associated with the AD1892.
The ERROR pin is asserted HI when either a subframe parity error or a subframe validity error
occurs. Logically, ERROR = PARITY ERROR or VALIDITY ERROR. The ERROR pin is deasserted LO when neither parity nor validity errors are detected. The state of this output pin is not
directly reflected in the AD1892 status registers; rather, Status Register 0 has separate bits that
indicate parity and validity errors. The ERROR output should be clocked using the SFCLK signal
(Pin 8). The ERROR output signal is NOT sticky, so it can be used in applications that do not include a supporting microcontroller.
INT (Interrupt) is asserted HI when any of the first 32 bits of Channel Status information changes
from block to block or when the Q-Channel subcode track number (Q10 through Q17) changes
from block to block (valid in consumer mode only). The Channel Status block spans 192 frames (or
subframes, since either the left or right channel C bit is stored), and the Q-Channel subcode block
spans 1176 subframes. INT is deasserted LO when neither the first 32 bits of Channel Status
changes from block to block when the Q-Channel subcode track number changes from block to
block. This output is mirrored in a status bit (Status Register 0, Bit 5). The INT output can be
clocked using the SFCLK signal (Pin 8). The INT output signal is sticky and can only be cleared by
reading Status Register 0.
U/CBIT is either the subframe user bit or the Channel Status bit from the biphase-mark stream, fed
out serially, valid on the rising edge of the SFCLK signal (Pin 8). The choice between user bit and
Channel Status bit is determined by Bit 1 in Control Register 0 (0 user bit [default], 1 = Channel
Status bit). Changes at the subframe rate (two times the incoming sample rate.) See Figure 39 for
timing.
This SFCLK signal is used to clock the ERROR, INT and U/CBIT output status signals. Active
LO (rising edge active); see Figure 39 for timing. It is a LO pulse at the subframe rate (two times
the sample rate). The pulsewidth is approximately 1/64th of the incoming sample (frame) period.
Q-Channel Subcode Clock Output Signal
Pin Name SOIC
I/O
Description
QDFS
O
QDFS (Q-Channel Data Frame Sync) is a framing pulse indicating if the AD1892 has finished collecting a full Q-Channel subcode block of user bits, which has a period of 1176 subframes. Can be
used as an interrupt signal to a microcontroller. The QDFS output is HI for one subframe period.
The QDFS frequency is 75 Hz when the incoming input sample rate is 44.1 kHz. See Figure 40 for
timing information.
6
Serial Control Port Signals
Pin Name SOIC
I/O
Description
CS
3
I
CCLK
2
I
SDI
4
I
SDO
5
O
Chip Select/Latch signal for the serial control port. This input must be LO for any write or read
operation using the serial control port to be valid. This input should be tied HI when using the
AD1892 in a stand-alone (no external microcontroller) application. See the Serial Control Port
Timing in Figure 37 and the text below for more information.
Serial Control Port Clock. This rising edge active input samples the address and data associated
with the serial control port. The frequency of CCLK signal must not exceed 1/8 the frequency of
the MCLK (Pin 28) signal. See the Serial Control Port Timing in Figure 37 and the text below for
more information.
Serial Data Input. This input signal is used to convey the serial 6-bit address, the read/write indication
and the 8-bit write data for the AD1892 serial control port. See the Serial Control Port Timing in
Figure 37 and the text below for more information.
Serial Data Output. This three-state output is used to convey the serial 8-bit read data for the
AD1892 serial control port. It is a three-state output to allow multiple AD1892s to coexist on the same
SPI serial bus. See the Serial Control Port Timing in Figure 37 and the text below for more information.
–6–
REV. 0
AD1892
Power Supply Connections
Pin Name SOIC
DVDD
DGND
I/O
22
7
Description
Digital Supply. +5 V nominal supply voltage.
Digital Ground. +0 V nominal supply connection.
Miscellaneous
Pin Name SOIC
I/O
Description
MCLK
PD/RST
28
1
I
I
MUTE
27
I
Master clock. Must be 512 × FSOUT, where FSOUT is the desired output sample rate.
Active LO power-down/reset, which clears all on-chip registers on the AD1892 to their default state
and stops the on-chip clocks. Bring HI for normal chip operation.
Mute input. HI hardware mutes the serial digital audio output to zeros (midscale). All control
functions on the AD1892 (Channel Status, Q-Channel subcode, etc.) continue to function while the
AD1892 is muted. Should be LO for normal operation.
PIN CONFIGURATION
PD/RST 1
28 MCLK
CCLK 2
27 MUTE
CS 3
26 BCLK
SDI 4
25 LRCLK
SDO 5
AD1892
24 SDATA
QDFS 6
TOP VIEW 23 SYNC
DGND 7 (Not to Scale) 22 DVDD
SFCLK 8
REV. 0
21 CA
U/CBIT 9
20 CB
INT 10
19 CC
ERROR 11
18 CD
NOSIG 12
17 CE
RXP 13
16 CSCLK
RXN 14
15 CON/PRO
–7–
AD1892
SERIAL DIGITAL AUDIO TRANSMISSION STANDARDS
The AD1892 can receive S/PDIF (Sony/Philips Digital Interface
Format), AES/EBU (Audio Engineering Society/European
Broadcasting Union, also known as AES3-1992), IEC-958
(International Electrotechnical Commission) and CP-340 (EIAJ
[Electronic Industry Association of Japan] CP-1201) serial
streams. S/PDIF is a consumer audio standard, and AES/EBU
is a professional audio standard; IEC-958 and CP-340 have
both consumer and professional definitions. This data sheet is
not intended to fully define or to provide a tutorial for these
standards; please contact these international standards setting
bodies for the full specifications.
All of these digital audio serial communication schemes encode
audio data and audio control information using the biphasemark method. This encoding method minimizes the dc content
of the transmitted signal and allows the receiver to decode clock
information from the transmitted signal. As can be seen from
Figure 1, ones in the original data end up with midcell transitions in the biphase-mark encoded data, while zeros in the original data do not. Note that the biphase-mark encoded data
always has a transition between bit boundaries.
PREAMBLES
X LEFT CH Y RIGHT CH Z LEFT CH Y RIGHT CH X LEFT CH Y RIGHT CH X
SUB-
SUB-
FRAME
FRAME
FRAME 191
FRAME 1
FRAME 0
START OF CHANNEL STATUS BLOCK
Figure 3. Preambles, Frames and Subframes
The biphase-mark encoding violations are shown in Figure 4.
Note that all three preambles include encoding violations. Ordinarily, the biphase-mark encoding method results in a polarity
transition between bit boundaries.
1
1
1
0
0
0
1
0
1
1
1
0
0
1
0
0
1
1
1
0
1
0
0
0
PREAMBLE X
PREAMBLE Y
CLOCK
(2 TIMES BIT RATE)
0
1
1
1
0
0
DATA
PREAMBLE Z
Figure 4. Preambles
BIPHASE-MARK
DATA
1
1
0
1
0
1
0
1
0
0
1
1
Figure 1. Biphase-Mark Encoding
Digital audio communication schemes use “preambles” to distinguish between channels (called “subframes”) and between
longer term control information blocks (called “frames”). Preambles are particular biphase-mark patterns, which contain
encoding violations that allow the receiver to uniquely recognize
them. These patterns, and their relationship to frames and
subframes, are shown in Figures 2 and 3.
BIPHASE PATTERNS
CHANNEL
11100010 OR 00011101
LEFT
Y
11100100 OR 00011011
RIGHT
Z
11101000 OR 00010111
LEFT AND C.S. BLOCK START
X
As noted above, these serial digital audio communication
schemes are organized using a frame and subframe construction.
There are two subframes per frame (ordinarily the left and right
channel). Each subframe includes the appropriate four bit
preamble, four bits of “auxiliary” (aux) data, 20 bits of audio
data (LSB first), a “validity” (V) bit, a “user” (U) data bit, a
Channel Status (C) bit and an even parity (P) bit. The Channel
Status bits and the user bits accumulate over many frames to
convey control information. The Channel Status bits accumulate over a 192 frame period (called a Channel Status block).
The user bits accumulate over 1176 frames when the interconnect is implementing the so-called “subcode” scheme
(EIAJ CP-2401). The organization of the Channel Status
block, frames and subframes is shown in Figure 5.
Figure 2. Biphase-Mark Encoded Preambles
–8–
REV. 0
AD1892
CHANNEL STATUS BLOCK (384 AUDIO SAMPLES)
192 LEFT, 192 RIGHT
A0 B0 A1 B1 A2 B2 A3 B3 A4 B4 A5 B5 A6 B6 A7 B7 A8 B8
A188 B188 A189 B189 A190 B190 A191 B191
(EXPANDED)
FRAME
A0
B0
A1
B1
A2
B2
A = LEFT CHANNEL
B = RIGHT CHANNEL
(EXPANDED)
SUBFRAME
0
3 4
PREAMBLE
7 8
AUX DATA
27 28 29 30 31
LSB
AUDIO DATA
MSB
V U C
P
VALIDITY
USER DATA
CHANNEL STATUS DATA
EVEN PARITY BIT
Figure 5. Block, Frame and Subframe Organization
differently for the consumer audio standards and the professional audio standards. The 192 Channel Status bits are
organized into 24 bytes and have the interpretations shown in
Figures 6 through 16.
As noted above, the Channel Status bit from each subframe
accumulates over a 192 subframe period. The standards allow for
the Channel Status bit in each subframe to be independent, but
ordinarily the Channel Status bit in the two subframes of each
frame are the same. The Channel Status bits are defined
BIT 0
BYTE 0
1
2
PRO = 0 AUDIO
1
COPY
3
4
5
EMPHASIS
7
6
MODE
L
CATEGORY CODE
2
SOURCE NUMBER
3
FS
CHANNEL NUMBER
CLOCK ACCURACY
4
RESERVED
BIT 0
BLOCK
BIT
7
BYTE 0
1
2
PRO = 1 AUDIO
3
15
1
CHANNEL MODE
23
2
AUX USE
31
3
39
4
5
5
6
6
7
7
4
5
7
6
FS
LOCK
EMPHASIS
USER BIT MANAGEMENT
WORD LENGTH
RESERVED
15
23
31
RESERVED
REFERENCE
BLOCK
BIT
7
RESERVED
39
47
RESERVED
55
ALPHANUMERIC CHANNEL ORIGIN DATA
8
8
RESERVED
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
20
21
21
22
22
23
23
191
Figure 6. Consumer Channel Status Block Structure
REV. 0
87
ALPHANUMERIC CHANNEL DESTINATION DATA
119
LOCAL SAMPLE ADDRESS CODE
(32-BIT BINARY)
151
TIME OF DAY CODE
(32-BIT BINARY)
RESERVED
RELIABILITY FLAGS
CYCLIC REDUNDANCY CHECK CHARACTER
183
191
Figure 7. Professional Channel Status Block Structure
–9–
AD1892
BYTE 0
BYTE 1
PRO = 0 (CONSUMER)
BIT 0
0
CONSUMER USE OF CHANNEL STATUS BLOCK.
1
PROFESSIONAL USE OF CHANNEL STATUS BLOCK.
BITS 0
1
2
3
4
5
6 CATEGORY CODE
0
0
0
0
0
0
0
0
0
1 EXPERIMENTAL.
X X X
AUDIO
BIT 1
0
DIGITAL AUDIO.
0
NON-AUDIO. CAN BE USED TO INDICATE AC-3 DATA.
1
0
0
0
0
X X X
RESERVED.
SOLID STATE MEMORY.
BROADCAST RECEPTION OF DIGITAL AUDIO.
L BIT DEFINITION REVERSED.
1
COPY/COPYRIGHT.
BIT 2
1
GENERAL. "IGNORANT" CATEGORY CODE.
0
0
0
0 JAPAN
0
0
1
1 UNITED STATES.
1
0
0
0 EUROPE.
0
0
1 ELECTRONIC SOFTWARE DELIVERY.
0
COPY INHIBITED/COPYRIGHT ASSERTED.
1
COPY PERMITTED/COPYRIGHT NOT ASSERTED.
0
X X X X ALL OTHER STATES ARE RESERVED.
BITS 3
4
5
PRE-EMPHASIS – IF BIT 1 = 0 (DIGITAL AUDIO)
0
0
0
NONE – 2 CHANNEL AUDIO.
1
0
0
50/15 µs – 2 CHANNEL AUDIO.
0
1
0
RESERVED – 2 CHANNEL AUDIO.
0
1
DIGITAL/DIGITAL CONVERTERS
0
0
0
0
0 PCM ENCODER/DECODER.
0
0
1
0 DIGITAL SOUND SAMPLER.
0
1
0
0 DIGITAL SIGNAL MIXER.
1
0
0 SAMPLE RATE CONVERTER.
1
1
0
RESERVED – 2 CHANNEL AUDIO.
1
X
X
1
RESERVED – 4 CHANNEL AUDIO.
X X X X ALL OTHER STATES ARE RESERVED.
BITS 3
4
5
IF BIT 1 = 1 (NON-AUDIO)
0
0
0
DIGITAL DATA.
X
ALL OTHER STATES OF BITS 3–5 ARE RESERVED.
X
X
BITS 6
7
MODE
0
0
MODE 0 (DEFINES BYTES 1–3)
X
X
ALL OTHER STATES OF BITS 6–7 ARE RESERVED.
0
1
1
0
1
1
1
0
0
Figure 8. Consumer Channel Status Byte 0
0
A/D CONVERTERS
0
0
0 A/D CONVERTER W/O COPY PROTECTION INFO
"IGNORANT" CATEGORY CODE.
1
0
0 A/D CONVERTER W/COPY PROTECTION INFO
(USING COPY AND L BITS).
1
X X X
0
0
0
0 CD – COMPATIBLE WITH IEC-908.
1
0
0
0 CD – NOT COMPATIBLE WITH IEC-908.
(MAGNETO-OPTICAL).
1
0
0
1 MD – MINIDISC.
BROADCAST RECEPTION OF DIGITAL AUDIO.
L BIT DEFINITION REVERSED.
LASER OPTICAL. L BIT DEFINITION REVERSED.
X X X X ALL OTHER STATES ARE RESERVED.
1
0
MUSICAL INSTRUMENTS, MICS, ETC.
1
0
0
0
0 SYNTHESIZER.
1
0
0
0 MICROPHONE.
X X X X ALL OTHER STATES ARE RESERVED.
1
1
MAGNETIC TAPE OR DISK
0
0
0
0
0 DAT – DIGITAL AUDIO TAPE.
1
0
0
0 VIDEO TAPE RECORDER WITH DIGITAL AUDIO.
0
0
0
1 DCC – DIGITAL COMPACT CASSETTE
X X X X ALL OTHER STATES ARE RESERVED.
1
1
1 X X X X
BIT 7
RESERVED
L: GENERATION STATUS
ONLY CATEGORY CODES: 1 0 0 X X X X,
0 0 1 X X X X, 0 1 1 1 X X X
0
ORIGINAL/COMMERCIALLY PRE-RECORDED DATA.
1
NO INDICATION /1ST GENERATION OR HIGHER.
ALL OTHER CATEGORY CODES
0
NO INDICATION /1ST GENERATION OR HIGHER.
1
ORIGINAL/COMMERCIALLY PRERECORDED DATA.
Figure 9. Consumer Channel Status Byte 1
–10–
REV. 0
AD1892
BYTE 0
BYTE 2
PRO = 1 (PROFESSIONAL)
BIT 0
BITS 0
1
2
3
SOURCE NUMBER
0
0
0
0
UNSPECIFIED.
0
CONSUMER USE OF CHANNEL STATUS BLOCK.
1
0
0
0
1
1
PROFESSIONAL USE OF CHANNEL STATUS BLOCK.
0
1
0
0
2
BIT 1
1
1
0
0
3
0
0
0
1
0
4 TO
0
1
1
1
14 (BINARY – BIT 0 IS LSB, BIT 3 IS MSB)
1
1
1
1
15
BITS 4
5
6
7
CHANNEL NUMBER
0
0
0
0
UNSPECIFIED.
1
1
0
0
0
A (LEFT IN 2 CHANNEL FORMAT)
1
0
1
0
0
B (RIGHT IN 2 CHANNEL FORMAT)
1
1
0
CCITT J.17. RECEIVER MANUAL OVERRIDE DISABLED.
1
1
0
0
C TO
X
X
X
ALL OTHER STATES OF BITS 2–4 ARE RESERVED.
0
1
1
1
N (BINARY – BIT 4 IS LSB, BIT 7 IS MSB)
1
1
1
1
O
AUDIO
NORMAL AUDIO.
NON-AUDIO. CAN BE USED TO INDICATE AC-3 DATA.
1
BITS 2
3
4
ENCODED AUDIO SIGNAL EMPHASIS
0
0
0
EMPHASIS NOT INDICATED. RECEIVER DEFAULTS
TO NO EMPHASIS WITH MANUAL OVERRIDE ENABLED.
0
0
NONE. RECEIVER MANUAL OVERRIDE DISABLED.
1
0
50/15 µs. RECEIVER MANUAL OVERRIDE DISABLED.
LOCK: SOURCE SAMPLE FREQUENCY
BIT 5
Figure 10. Consumer Channel Status Byte 2
0
LOCKED–DEFAULT.
1
UNLOCKED.
BITS 6
7
FS: SAMPLE FREQUENCY
0
0
SAMPLE FREQUENCY NOT INDICATED.
RECEIVER DEFAULTS TO 48 kHz AND MANUAL
OVERRIDE OR AUTO SET ENABLED.
BYTE 3
BITS 0
1
2
3
FS: SAMPLE FREQUENCY
0
1
48 kHz. MANUAL OVERRIDE OR AUTO SET DISABLED.
0
0
0
0
44.1 kHz.
1
0
44.1 kHz. MANUAL OVERRIDE OR AUTO SET DISABLED.
0
1
0
0
48 kHz.
1
1
32 kHz. MANUAL OVERRIDE OR AUTO SET DISABLED.
1
1
0
0
32 kHz.
X X X X
ALL OTHER STATES OF BITS 0–3 ARE RESERVED.
BITS 4
5
CLOCK ACCURACY
0
0
LEVEL II, 61000 ppm (DEFAULT).
0
1
LEVEL III, VARIABLE PITCH.
1
0
1
1
BITS 6
BYTE 1
BITS 0
1
2
3
CHANNEL MODE
0
0
0
0
MODE NOT INDICATED. RECEIVER DEFAULTS TO
2-CHANNEL MODE. MANUAL OVERRIDE ENABLED.
LEVEL I, 650 ppm – HIGH ACCURACY.
0
0
0
1
TWO CHANNELS. MANUAL OVERRIDE DISABLED.
RESERVED.
0
0
1
0
SINGLE CHANNEL. MANUAL OVERRIDE DISABLED.
0
0
1
1
PRIMARY/SECONDARY (CH. A IS PRIMARY). MANUAL
OVERRIDE DISABLED.
0
1
0
0
STEREOPHONIC (CH. A IS LEFT). MANUAL OVERRIDE
DISABLED.
0
1
0
1
RESERVED FOR USED DEFINED APPLICATIONS.
0
1
1
0
RESERVED FOR USED DEFINED APPLICATIONS.
1
1
1
1
VECTOR TO BYTE 3. RESERVED.
7
X X
RESERVED.
BYTES 4–23
RESERVED
X X X X
Figure 11. Consumer Channel Status Bytes 3 Through 23
BITS 4
5
6
ALL OTHER STATES OF BITS 0–3 ARE RESERVED.
7
USER BIT MANAGEMENT
0
0
0
0
DEFAULT. NO USER INFORMATION INDICATED.
0
0
0
1
192 BIT BLOCK STRUCTURE. PREAMBLE 'Z' STARTS
BLOCK.
0
0
1
0
RESERVED.
0
0
1
1
USER DEFINED APPLICATION.
X X X X
ALL OTHER STATES OF BITS 4–7 ARE RESERVED.
Figure 12. Professional Channel Status Bytes 0 and 1
REV. 0
–11–
AD1892
BYTE 2
BYTES 6–9
AUX: USE OF AUXILIARY SAMPLE BITS
BITS 0
1
2
0
0
0
NOT DEFINED. MAXIMUM AUDIO WORD LENGTH IS
20 BITS.
0
0
1
USED FOR MAIN AUDIO. MAXIMUM AUDIO WORD
LENGTH IS 24 BITS.
0
1
0
SINGLE COORDINATION SIGNAL. MAXIMUM AUDIO
WORD LENGTH IS 20 BITS.
0
1
1
USER DEFINED APPLICATION.
ALPHANUMERIC CHANNEL ORIGIN DATA.
X
X
X
ALL OTHER STATES OF BITS 0–2 ARE RESERVED.
7-BIT ISO 646 (ASCII) DATA WITH ODD PARITY BIT. FIRST CHARACTER IN
MESSAGE IS BYTE 10. LSBs ARE TRANSMITTED FIRST.
BITS 3
4
5
SOURCE WORD LENGTH
0
0
0
NOT INDICATED
NOT INDICATED (DEFAULT)
0
0
1
23 BITS
19 BITS
0
1
0
22 BITS
18 BITS
MAX. AUDIO 24 BITS
ALPHANUMERIC CHANNEL ORIGIN DATA.
7-BIT ISO 646 (ASCII) DATA WITH ODD PARITY BIT. FIRST CHARACTER IN
MESSAGE IS BYTE 6. LSBs ARE TRANSMITTED FIRST.
BYTES 10–13
MAX. AUDIO 20 BITS
BYTES 14–17
LOCAL SAMPLE ADDRESS CODE (32-BIT BINARY)
0
1
1
21 BITS
17 BITS
1
0
0
20 BITS
16 BITS
1
0
0
24 BITS
20 BITS
X
X
X
ALL OTHER STATES OF BITS 3–5 ARE RESERVED.
BITS 6
7
X
X
VALUE IS OF FIRST SAMPLE OF CURRENT BLOCK. LSBs ARE
TRANSMITTED FIRST.
BYTES 18–21
TIME-OF-DAY SAMPLE ADDRESS CODE (32-BIT BINARY).
VALUE IS OF FIRST SAMPLE OF CURRENT BLOCK. LSBs ARE
TRANSMITTED FIRST.
RESERVED.
Figure 15. Professional Channel Status Bytes 6
Through 21
Figure 13. Professional Channel Status Byte 2
BYTE 3
BITS 0–7
VECTORED TARGET BYTE
X X X X X X X X
RESERVED.
BYTE 22
BITS 0
1
2
3
X X X X
BIT 4
BYTE 4
RESERVED.
CHANNEL STATUS BYTES 0 TO 5
0
RELIABLE.
1
UNRELIABLE.
BITS 0
1
DIGITAL AUDIO REFERENCE SIGNAL PER AES11-1990
0
0
NOT REFERENCE SIGNAL (DEFAULT).
0
1
GRADE 1 REFERENCE SIGNAL.
0
RELIABLE.
1
0
GRADE 2 REFERENCE SIGNAL.
1
UNRELIABLE.
1
1
RESERVED.
BIT 5
BIT 6
BITS 2–7
X X X X X X
RESERVED.
BITS 0–7
X X X X X X X X
CHANNEL STATUS BYTES 14 TO 17
0
RELIABLE.
1
UNRELIABLE.
BIT 7
BYTE 5
CHANNEL STATUS BYTES 6 TO 13
CHANNEL STATUS BYTES 18 TO 21
0
RELIABLE.
1
UNRELIABLE.
RESERVED.
BYTE 23
Figure 14. Professional Channel Status Bytes 3 Through 5
CRCC: CYCLIC REDUNDANCY CHECK CHARACTER.
CRCC FOR CHANNEL STATUS DATA BLOCK THAT USES BYTES 0 TO 22
INCLUSIVE. GENERATING POLYNOMIAL IS:
G(x) = x8 + x4 + x3 + x2 + 1
WITH AN INITIAL STATE OF ALL ONES.
Figure 16. Professional Channel Status Bytes 22 and 23
–12–
REV. 0
AD1892
SERIAL CONTROL PORT
The serial control port on the AD1892 is a bidirectional interface that allows external microcontrollers and microprocessors
to gain access to the two on-chip byte-wide control registers and
to the sixteen on-chip byte-wide status registers. The serial
control port is signal compatible with the Serial Peripheral Interface (SPI) standard, which has been popularized by Motorola’s
family of microcontroller and microprocessor products.
The basic timing for the serial control port is shown in Figure
17. The CS signal is both a chip select and a latch enable. CS
must be LO for the duration of the read or write cycle. The
CCLK signal is the data clock signal for the serial control port.
The frequency of the CCLK signal must not exceed 1/8 the
frequency of the MCLK signal applied to the AD1892. The
incoming address and write data must be valid on the rising
edge of CCLK, and the outgoing read data is guaranteed to be
valid on the ring edge of CCLK. The SDI signal carries the
serial address and write data to the AD1892. The SDO signal
carries the serial read data from the AD1892. The address and
data information is MSB first.
The serial control port write cycle is shown in Figure 18. In the
first byte, the AD1892 defines a six bit write address field, a
read/write bit (reset LO for a write cycle) and a reserved (res)
bit. [The reserve (res) bit should be reset LO for both write
and read cycles.] The data byte intended to be written to the
specified write address follows immediately thereafter, MSB
first. All information is carried on the SDI input, with the SDO
output remaining in a high impedance (three-state) condition.
The AD1892 defines only two valid write addresses, Control
Register 1 and Control Register 2, which are defined below.
The serial control port read cycle is shown in Figure 19. The
address information is presented on the SDI input (6-bit address, read/write set HI and a reserved bit). The data byte output
from the addressed location is transmitted on the SDO output,
MSB first. The AD1892 defines sixteen valid read addresses,
comprising Status Register 1, Status Register 2, four bytes of
Channel Status information and ten bytes of Q-Channel subcode
information. All of these read addresses are defined below.
CS
CCLK
SDI/SDO
MSB
MSB–1
MSB–2
LSB+2
LSB+1
LSB
Figure 17. Serial Control Port Basic Timing
CS
CCLK
SDI
MSB
ADDR5
ADDR4
LSB
ADDR0
R/W
RES
MSB
D7
ADDRESS
D6
D1
LSB
D0
DATA
SDO
HIGH Z
Figure 18. Serial Control Port Write Cycle
CS
CCLK
SDI
MSB
ADDR5
ADDR4
LSB
ADDR0
R/W
ADDRESS
RES
LSB
MSB
SDO
D7
HIGH Z
D6
DATA
Figure 19. Serial Control Port Read Cycle
REV. 0
–13–
D1
D0
AD1892
Q-Channel subcode registers. The bit map of the Control Registers are shown below in Figures 20 through 23.
CONTROL/STATUS REGISTER ARCHITECTURE
The AD1892 includes two byte-wide control registers, two
byte-wide status registers, four Channel Status registers and ten
CONTROL BUFFER – 2 BYTES
ADDRESS
D7
D6
D5
D4
D2
D1
D0
00 0000
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
D3
CHANNEL STATUS
LEFT/RIGHT
USER/CHANNEL
STATUS BIT
POWER-DOWN/
RESET
CONTROL REGISTER 0
00 0001
MUTE
STEREO/
MONO
OUTPUT
DATA WIDTH
OUTPUT
DATA WIDTH
OUTPUT
DATA WIDTH
DITHER
BCLK
FREQUENCY
ASRC
BYPASS
CONTROL REGISTER 1
Figure 20. Control Registers
ADDRESS
00 0000
D7
RESERVED
D6
RESERVED
D5
D4
RESERVED
RESERVED
D3
RESERVED
D2
D1
CHANNEL STATUS USER/CHANNEL
STATUS BIT
LEFT/RIGHT
D0
POWER-DOWN/
RESET
CONTROL REGISTER 0
1 = POWER DOWN (STOP CLOCKS) AND RESET
0 = NORMAL OPERATION (DEFAULT)
1 = OUTPUT CHANNEL STATUS BIT ON U/CBIT PIN
0 = OUTPUT USER BIT ON U/CBIT PIN (DEFAULT)
1 = CHANNEL STATUS INFORMATION FROM LEFT CHANNEL OUTPUT
ON CA THROUGH CE AND CON/PRO
0 = CHANNEL STATUS INFORMATION FROM RIGHT CHANNEL OUTPUT
ON CA THROUGH CE AND CON/PRO (DEFAULT)
00 0001
D7
D6
D5
D4
D3
MUTE
STEREO/
MONO
OUTPUT
DATA WIDTH
OUTPUT
DATA FORMAT
OUTPUT
DATA FORMAT
D2
D1
D0
DITHER
BCLK
FREQUENCY
ASRC BYPASS
CONTROL REGISTER 1
1 = RATE CONVERSION BYPASS
0 = NO RATE CONVERSION BYPASS (DEFAULT)
1 = 32 TIMES FS
0 = 64 TIMES FS (DEFAULT)
1 = PROPERLY DITHER OUTPUT DATA TO SELECTED WIDTH
0 = NO DITHER (DEFAULT)
00 = I2S COMPATIBLE (DEFAULT)
01 = LEFT JUSTIFIED
10 = RIGHT JUSTIFIED
11 = RESERVED
1 = MONO ((L+ R)/2) ON BOTH LEFT AND RIGHT CHANNELS
0 = NORMAL STEREO OPERATION (DEFAULT)
1 = 16-BIT
0 = 20-BIT (DEFAULT)
1 = MUTE DIGITAL AUDIO OUTPUT
0 = NORMAL OPERATION (DEFAULT)
Figure 21. Control Register Bit Definitions
The bit map of the status registers in consumer mode are shown
below in Figure 22.
STATUS BUFFER – 16 BYTES
ADDRESS
D7
D6
D5
00 0000
NO PHASE
LOCK
CH. STATUS
CRC ERROR
INTERRUPT
(MIRRORS PIN)
00 0001
DAT
START ID
Q-CHANNEL
CRC ERROR
Q-CHANNEL
BLOCK START
D4
D3
D2
D1
D0
VALIDITY
ERROR
PARITY
ERROR
CODING
VIOLATION
STATUS REGISTER 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
STATUS REGISTER 1
AUDIO/
NON-AUDIO
PRO/CON
CHANNEL STATUS BYTE 0
CATEGORY
CODE
CHANNEL STATUS BYTE 1
ERROR
CHANNEL
(MIRRORS PIN) STATUS CHANGE
RESERVED
RESET TO 0
00 0010
MODE
MODE
PRE-EMPHASIS
PRE-EMPHASIS
PRE-EMPHASIS
COPY/
COPYRIGHT
00 0011
GENERATION
STATUS
CATEGORY
CODE
CATEGORY
CODE
CATEGORY
CODE
CATEGORY
CODE
CATEGORY
CODE
CATEGORY
CODE
00 0100
CHANNEL
NUMBER
CHANNEL
NUMBER
CHANNEL
NUMBER
CHANNEL
NUMBER
SOURCE
NUMBER
SOURCE
NUMBER
SOURCE
NUMBER
SOURCE
NUMBER
CHANNEL STATUS BYTE 2
00 0101
RESERVED
RESERVED
CLOCK
ACCURACY
CLOCK
ACCURACY
SAMPLE
FREQUENCY
SAMPLE
FREQUENCY
SAMPLE
FREQUENCY
SAMPLE
FREQUENCY
CHANNEL STATUS BYTE 3
00 0110
ADDRESS
ADDRESS
ADDRESS
ADDRESS
CONTROL
CONTROL
CONTROL
CONTROL
(Q2)
Q-CHANNEL SUBCODE BYTE 0
00 0111
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
TRACK
NUMBER
Q-CHANNEL SUBCODE BYTE 1
00 1000
INDEX
INDEX
INDEX
INDEX
INDEX
INDEX
INDEX
INDEX
Q-CHANNEL SUBCODE BYTE 2
00 1001
MINUTE
MINUTE
MINUTE
MINUTE
MINUTE
MINUTE
MINUTE
MINUTE
Q-CHANNEL SUBCODE BYTE 3
Q-CHANNEL SUBCODE BYTE 4
00 1010
SECOND
SECOND
SECOND
SECOND
SECOND
SECOND
SECOND
SECOND
00 1011
FRAME
FRAME
FRAME
FRAME
FRAME
FRAME
FRAME
FRAME
Q-CHANNEL SUBCODE BYTE 5
ZERO
Q-CHANNEL SUBCODE BYTE 6
00 1100
ZERO
ZERO
ZERO
ZERO
ZERO
ZERO
ZERO
00 1101
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
ABSOLUTE
MINUTE
Q-CHANNEL SUBCODE BYTE 7
00 1110
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
ABSOLUTE
SECOND
Q-CHANNEL SUBCODE BYTE 8
00 1111
ABSOLUTE
FRAME (Q97)
ABSOLUTE
FRAME
ABSOLUTE
FRAME
ABSOLUTE
FRAME
ABSOLUTE
FRAME
ABSOLUTE
FRAME
ABSOLUTE
FRAME
ABSOLUTE
FRAME
Q-CHANNEL SUBCODE BYTE 9
Figure 22. Status Registers—Consumer Mode
–14–
REV. 0
AD1892
STATUS BUFFER – 16 BYTES PRO MODE
ADDRESS
D7
D6
D5
D4
D3
D1
D0
00 0000
NO PHASE
LOCK
CH. STATUS
CRC ERROR
INTERRUPT
(MIRRORS PIN)
ERROR
(MIRRORS PIN)
CHANNEL
STATUS CHANGE
VALIDITY
ERROR
D2
PARITY
ERROR
CODING
VIOLATION
STATUS REGISTER 0
00 0001
NOT DEFINED
NOT DEFINED
NOT DEFINED
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
STATUS REGISTER 1
00 0010
SAMPLE
FREQUENCY
SAMPLE
FREQUENCY
LOCKED/
UNLOCKED
PRE-EMPHASIS
PRE-EMPHASIS
PRE-EMPHASIS
AUDIO/
NON-AUDIO
CON/PRO
CHANNEL STATUS BYTE 0
00 0011
USER BIT
MANAGEMENT
USER BIT
MANAGEMENT
USER BIT
MANAGEMENT
USER BIT
MANAGEMENT
CHANNEL
MODE
CHANNEL
MODE
CHANNEL
MODE
CHANNEL
MODE
CHANNEL STATUS BYTE 1
WORD
LENGTH
WORD
LENGTH
AUX USE
AUX USE
AUX USE
CHANNEL STATUS BYTE 2
CHANNEL STATUS BYTE 3
00 0100
RESERVED
RESERVED
WORD
LENGTH
00 0101
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
RESERVED
00 0110
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 0
00 0111
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 1
00 1000
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 2
00 1001
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 3
00 1010
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 4
00 1011
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 5
00 1100
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 6
00 1101
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 7
00 1110
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 8
00 1111
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
NOT DEFINED
Q-CHANNEL SUBCODE BYTE 9
Figure 23. Status Registers–Professional Mode
A detailed description of Status Registers 0 and 1 is given in
Figure 24. Note that the bits in Status Register 0 and 1 are
sticky and are cleared following a read cycle.
ADDRESS
00 0000
D7
D6
D5
D4
D3
D2
D1
D0
NO PHASE
LOCK
CH. STATUS
CRC ERROR
INTERRUPT
(MIRRORS PIN)
ERROR
(MIRRORS PIN)
CH. STATUS
CHANGE
VALIDITY
ERROR
PARITY
ERROR
CODING
VIOLATION
STATUS REGISTER 0
HI = BIPHASE-MARK CODING VIOLATION–
NOT INCLUDING PREAMBLES
LO = NO CODING VIOLATION
STICKY, CLEARED ON READ
HI = CRC ERROR
LO = NO CRC ERROR
STICKY, CLEARED ON READ
PROFESSIONAL MODE ONLY
HI = COMPUTED EVEN PARITY ERROR ON
32-BIT INCOMING WORD
LO = NO COMPUTED EVEN PARITY ERROR
STICKY, CLEARED ON READ
HI = INCOMING V BIT HI
LO = INCOMING V BIT LO
STICKY, CLEARED ON READ
HI = NO LOCK
LO = LOCK
STICKY, CLEARED ON READ
HI = CS CHANGE BLOCK-TO-BLOCK
LO = NO CS CHANGE BLOCK-TO-BLOCK
STICKY, CLEARED ON READ
HI = PARITY ERROR OR VALIDITY ERROR
LO = NO PARITY ERROR OR VALIDITY ERROR
STICKY, CLEARED ON READ
HI = TRACK NUMBER CHANGE OR CHANNEL STATUS CHANGE
LO = NO TRACK NUMBER CHANGE OR CHANNEL STATUS CHANGE
STICKY, CLEARED ON READ
ADDRESS
00 0001
D7
D6
D5
D4
D3
D2
D1
D0
DAT
START ID
Q-CHANNEL
CRC ERROR
Q-CHANNEL
BLOCK START
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
RESERVED
RESET TO 0
HI = Q-CHANNEL SUBCODE BLOCK BOUNDARY ENCOUNTERED
LO = NO Q-CHANNEL SUBCODE BLOCK BOUNDARY ENCOUNTERED
STICKY, CLEARED ON READ
CONSUMER MODE ONLY
HI = CRC ERROR
LO = NO CRC ERROR
STICKY, CLEARED ON READ
CONSUMER MODE ONLY
HI = DAT START ID (WHEN CATEGORY CODE = 1100000 AND RIGHT CHANNEL SUBFRAME U BIT = 1)
LO = NO DAT START ID
STICKY, CLEARED ON READ
CONSUMER MODE ONLY
Figure 24. Status Register Bit Maps
REV. 0
–15–
STATUS REGISTER 1
AD1892
The AD1892 includes an on-chip 10 byte Q-channel subcode
buffer that is defined in consumer mode only. MiniDisc and
Compact Disc systems use the Q-channel subcode information
to convey format, track, index and timing information. The Qchannel is one of eight subcode channels defined (others being
P, R, S, T, U, V and W). The other subcode channels are not
supported by the AD1892. The subcode channels are formed
by accumulating user bits over a period of 1176 subframes. The
user bits from both the left channel subframe and the right
channel subframe are used to construct the subcode control
information. The user bits are accumulated into 98 12-bit
words, that form a matrix of sorts. The incoming user bits fill
this matrix row by row. The first two rows (S0 and S1) consist
of all zeros and form an easily identified subcode sync word.
The P-Channel subcode bit is always “1,” except during the
subcode sync word. The Q-channel is the first valid column of
user bits, designated Q2 through Q97 in Figure 25 below.
1
2
3
4
5
6
7
8
9
10
11
12
S0
0
0
0
0
0
0
0
0
0
0
0
0
S1
0
0
0
0
0
0
0
0
0
0
0
0
S2
1
Q2
R2
S2
T2
U2
V2
W2
0
0
0
0
S3
1
Q3
R3
S3
T3
U3
V3
W3
0
0
0
0
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
S97
1
Q97
R97
S97
T97
U97
V97
W97
0
0
0
0
S0
0
0
0
0
0
0
0
0
0
0
0
0
S1
0
0
0
0
0
0
0
0
0
0
0
0
S2
1
Q2
R2
S2
T2
U2
V2
W2
0
0
0
0
S3
1
Q3
R3
S3
T3
U3
V3
W3
0
0
0
0
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
SUBCODE SYNC WORD
98
12-BIT WORDS
= 1176 BITS
SUBCODE SYNC WORD
ONLY Q-CHANNEL IS USED FOR CD AND MD SUBCODE
Figure 25. Subcode User Bit Accumulation
The AD1892 stores only the Q2 through Q97 user bits that
comprise the Q-channel subcode information (96 bits); the
remaining 1080 bits (1176–96) are ignored. These 96 bits of Qchannel subcode, organized in 12 bytes, are shown below in
Figure 26.
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25
CTRL
ADRS
DATA10
TRACK NUMBER
DATA9
INDEX
DATA8
Q26 Q27 Q28 Q29 Q30 Q31 Q32 Q33 Q34 Q35 Q36 Q37 Q38 Q39 Q40 Q41 Q42 Q43 Q44 Q45 Q46 Q47 Q48 Q49
MINUTE
DATA7
SECOND
DATA6
FRAME
DATA5
Q50 Q51 Q52 Q53 Q54 Q55 Q56 Q57 Q58 Q59 Q60 Q61 Q62 Q63 Q64 Q65 Q66 Q67 Q68 Q69 Q70 Q71 Q72 Q73
ZERO
DATA4
ABSOLUTE MINUTE
DATA3
ABSOLUTE SECOND
DATA2
Q74 Q75 Q76 Q77 Q78 Q79 Q80 Q81 Q82 Q83 Q84 Q85 Q86 Q87 Q88 Q89 Q90 Q91 Q92 Q93 Q94 Q95 Q96 Q97
ABSOLUTE FRAME
DATA1
16-BIT CRC WORD
G(x) = x16 + x12 + x5 + 1
COMPUTED OVER Q2 TO Q81
Figure 26. Incoming Q-Channel Subcode
–16–
REV. 0
AD1892
The incoming 16-bit CRC Word (Q82 through Q97) is routed
to the AD1892 CRC circuit block. The CRC block generates
a 16-bit polynomial against the first 80 bits of the incoming
Q-channel subcode and flags a CRC error if the generated CRC
is different from the incoming CRC (Q82 through Q97). QChannel CRC errors are flagged in the AD1892 Status Register
1 in position D6.
Serial Output Port Modes
The AD1892 uses two bits in Control Register 1 to control the
mode configuration of the output data port. Bits D4 and D3
program the output data port mode as shown in Table III.
Table III. Serial Output Port Mode Control Bits
An external microcontroller or microprocessor can use the
QDFS (Pin 6) output from the AD1892 as an interrupt to alert
the microcontroller that a new Q-Channel block is ready. When
the input sample rate is 44.1 kHz, the QDFS frequency is 75 Hz
([44,100 × 2]/1176 = 75).
D4 D3
Serial Output Port Mode
LO
LO
HI
HI
I2S-Justified (See Figure 28) Default
Left-Justified (See Figure 29)
Right-Justified (See Figure 27)
Reserved
LO
HI
LO
HI
Note that in all three modes, the AD1892 is a “master” device,
i.e., the LRCLK, the BCLK and the SDATA signals are always
outputs. This is also true in bypass mode.
OPERATING ISSUES
Serial Data Output Port
The AD1892 uses the frequency of the master clock (MCLK,
Pin 28) to determine the output sample rate. The LRCLK
signal is divided down from the master clock by a factor of 512.
The phase of this division can be adjusted by using the sync
input pin. The AD1892 is a clock master device; the audio data
clocks, bit clock (BCLK, Pin 26) and left/right clock are outputs
only. LRCLK runs continuously and transitions twice per stereo
sample period. BCLK also runs continuously and is used only to
clock the audio data from the AD1892’s serial data output port.
Figure 27 shows the right-justified mode. LRCLK is HI for the
left channel and LO for the right channel. Data is valid on the
rising edge of BCLK. The MSB is delayed 12-bit clock periods
(in 20-bit output mode) or 16-bit clock periods (in 16-bit output mode) from an LRCLK transition, so that when there are
64 BCLK periods per LRCLK period, the LSB of the data will
be right-justified to the next LRCLK transition.
Figure 28 shows the default I2S-justified mode. When the AD1892
is used without a supporting microcontroller or microprocessor,
it will default to the I2S-justified mode after reset. LRCLK is
LO for the left channel and HI for the right channel. Data is
valid on the rising edge of BCLK. The MSB is left-justified to
an LRCLK transition but with a single BCLK period delay. The
I2S-justified mode can be used in either the 16-bit or the 20-bit
output mode.
The AD1892’s flexible serial data output port transmits data in
twos-complement, MSB-first format. The left channel data
field always precedes the right channel data field. The output
data consists of 16 or 20 bits as established by settings in Control Register 1 (Bit D5). The BCLK frequency can be set
to either 32 × F SOUT or 64 × FSOUT (default) using Bit D1 in
Control Register 1.
Figure 29 shows the left-justified mode. LRCLK is HI for the
left channel and LO for the right channel. Data is valid on the
rising edge of BCLK. The MSB is left-justified to an LRCLK
transition with no MSB delay. The left-justified mode can be
used in the 16-bit or 20-bit output mode.
LRCLK
OUTPUT
RIGHT CHANNEL
LEFT CHANNEL
BCLK
OUTPUT
SDATA
OUTPUT
LSB
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
Figure 27. Right-Justified Mode
LRCLK
OUTPUT
LEFT CHANNEL
RIGHT CHANNEL
BCLK
OUTPUT
SDATA
OUTPUT
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
Figure 28. I 2S-Justified Mode
LRCLK
OUTPUT
RIGHT CHANNEL
LEFT CHANNEL
BCLK
OUTPUT
SDATA
OUTPUT
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
MSB–1 MSB–2
Figure 29. Left-Justified Mode
REV. 0
–17–
LSB+2
LSB+1
LSB
MSB
MSB+1
AD1892
LRCLK
OUTPUT
RIGHT CHANNEL
LEFT CHANNEL
BCLK
OUTPUT
SDATA
OUTPUT
LSB
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
MSB–1 MSB–2
LSB+2
LSB+1
LSB
MSB
MSB+1
Figure 30. 32 × FS Packed Mode
Note that in 16-bit output mode, the AD1892 is capable of a
32 × FSOUT BCLK frequency “packed mode” where the MSB is
left-justified to an LRCLK transition, and the LSB is rightjustified to an LRCLK transition. LRCLK is HI for the left
channel and LO for the right channel. Data is valid on the
rising edge of BCLK. Packed mode can be used when the
AD1892 is programmed in either right-justified or left-justified
mode. Packed mode is shown in Figure 30.
Multiple AD1892 Synchronization
Two methods can be used to synchronize the outputs of multiple AD1892s.
It is possible to synchronize the outputs of multiple AD1892s in
a system by issuing them PD/RST signals which are synchronous
with the MCLK signal. This scheme is illustrated in Figure 31.
AD1892
ASRC Bypass Mode
By setting bit D0 HI in Control Register 1, the AD1892 will be
placed in “bypass mode,” where the received biphase-mark
encoded data is transmitted out of serial output interface without any sample rate conversion applied. This mode may be
useful in applications where the audio data is not simple PCM
information; for example, the data may be compressed using the
MPEG or Dolby AC-3 compression standards. In this mode, the
output interface runs in master mode (LRCLK and BCLK are
outputs), and all three output format modes are available (leftjustified, I2S-justified and right-justified). In bypass mode, without an external PLL, jitter may be as high as one MCLK period.
In bypass mode, the output sample frequency (LRCLK frequency) is simply the incoming biphase-mark sample frequency.
The BCLK frequency can be set to 32 × FSIN or 64 × FSIN
(default) using Bit D1 in Control Register 1.
PD/RST
28
1
512 x FSOUT
Q
AD1892
MCLK
PD/RST
AD1892
MCLK
PD/RST
28
D
ASYNCHRONOUS
RESET
1
28
1
Figure 31. Multiple AD1892 Synchronization
Power-Down and Reset
The AD1892 offers two methods of initiating power-down/reset:
through an input pin (PD/RST, Pin 1) and through a control
register bit (Control Register 0, Bit D0). When the PD/RST pin
is held low, the AD1892 is placed in a “hardware” low dissipation power-down state with the on-chip clocks stopped. When
the PD/RST input is asserted HI, the AD1892 is reset. The two
control registers in the serial control port are initialized to their
default values. All other on-chip registers are zeroed, including
those in the rate converter, the serial data output port, the status
registers, the Channel Status, and Q-Channel subcode registers.
The AD1892 enters the default mode and is ready for normal
operation. The master clock (MCLK, Pin 28) must be running
for a successful hardware reset or power-down operation to occur.
The PD/RST signal must be LO for a minimum of four master
clock periods (≈160 ns with a 24.576 MHz MCLK frequency).
“Software” power-down is activated by writing 1 to bit D0 in
Control Register 0. The effect is the same as hardware powerdown/reset, except the clocks to the SPI serial control port are
not stopped, so that the AD1892 may be put back into normal
operation.
MCLK
The second method involves using the SYNC input. A falling
edge on the SYNC input resets output timing counters within
the AD1892. See Figure 41 for timing. Note that the SYNC
signal MUST be divided down from the 512 × FSOUT MCLK
signal applied to the AD1892. If SYNC is properly set up to
MCLK, the current LRCLK and BCLK timing will be interrupted, and the left/right channel sample pair will be invalid.
However, the second and subsequent left/right sample pairs will
have valid data and normally timed bit and left/right clocks. If
the AD1892 is configured for a 64 × FSOUT bit clock frequency
(default), the LRCLK output (on the second and subsequent
output periods) will fall immediately after SYNC falls (i.e., on
the next MCLK falling edge). The SYNC input to the AD1892
can be used externally as the system LRCLK clock (or word
clock) when the AD1892 is configured in 64 × FSOUT bit clock
mode. When the AD1892 is configured in 32 × FSOUT bit clock
mode, LRCLK falls several MCLK falling edges later, and the
SYNC input cannot be used as the external LRCLK signal
directly. Note that Figure 41 shows the 64 × FSOUT bit clock
mode only. Figure 32 shows several AD1892s synchronized
using the SYNC input. SYNC input synchronization is not
available when the AD1892 is used in bypass mode.
–18–
REV. 0
AD1892
AD1892
MCLK
SYNC
AD1892
MCLK
SYNC
AD1892
MCLK
SYNC
Mute
28
The AD1892 offers two methods of muting the digital audio
output. There is an external mute input (MUTE, Pin 27) that
“hardware” mutes the AD1892 digital audio output when
asserted HI. This input should be LO for normal operation. The
AD1892 digital audio output can also be “software” muted
through a write to Control Register 1, position D7. Writing a 1
mutes the digital audio output; writing a 0 (default) unmutes
the output.
512 x FSOUT
23
SYSTEM WORD
CLOCK
4512
28
23
28
23
Figure 32. Multiple AD1892 Synchronization Using SYNC
The AD1892 mutes the digital audio output automatically when
the digital audio receiver is not locked to the incoming biphase
mark encoded stream, or when no biphase-mark signal is applied to the input of the AD1892 (i.e., NOSIG = 1). When
NOSIG is deasserted (LO), the digital audio output from the
AD1892 is immediately unmuted. The AD1892 automatically
repeats the last valid sample when a parity error or validity error
is encountered.
APPLICATIONS CIRCUITS
A typical microcontroller-oriented application circuit for the
AD1892 is shown in Figure 33.
A typical stand-alone application circuit for the AD1892 is
shown in Figure 34.
+5V
0.01mF
CHANNEL STATUS REGISTER
D TYPE
REGISTER
D0
D1
D2
D3
D4
D5
21
20
19
18
17
15
CE CLK
16
23
Q0
Q1
Q2
Q3
Q4
Q5
TO LEDS,
mCONTROLLER,
DSP, ETC.
FROM DSP,
mCONTROLLER,
SWITCH, ETC.
+2
22
7
1
DVDD
DGND
MCLK
CA
CB
CC
CD
CE
CON/PRO
BCLK
SDATA
19
24
20
25
18
LRCLK
CS
CSCLK
CCLK
SYNC
SDI
SYNCHRONIZATION
INPUT
26
AD1892
SDO
6
384/256
8
OUTL
SCLK
AD1857
SDATA
DAC OUTR
13
LEFT LINE OUTPUT
RIGHT LINE OUTPUT
LRCLK
3
OPTIONAL
SPI COMPATIBLE
MICROCONTROLLER
OR MICROPROCESSOR
CS
2
CCLK
4
SDO
5
SDI
INTERRUPTS
28
512 x FSOUT CLOCK
MCLK
0.01mF
CONSUMER
S/PDIF INPUT
75V CONN
RCA PHONE
CONNECTOR
27
13
14
75V
MUTE
PD/RST
RXP
ACTIVE HI MUTE
1
ACTIVE LO POWER-DOWN/RESET
RXN
0.01mF
QDFS
NOSIG
ERROR
INT
U/CBIT
6
12
11
10
9
Q-CHANNEL SUBCODE BLOCK START
NO BIPHASE-MARK
SIGNAL ON INPUT
D TYPE
REGISTER
8
SFCLK
DVDD
3
1
BAT54S OR BAS70-04
2
AES/EBU INPUT
3V–10V p-p
10nF
38R3
1 1:1
13
D0
D1
D2
Q0
Q1
Q2
CLK
CE
2
3
16R5
4
2
10nF
38R3
110V
DVDD
3
1
AD1892
14
RXN
DVDD
1kV
BAT54S OR BAS70-04
2
1kV
Figure 33. Microcontroller Application Circuit
REV. 0
USER/CHANNEL STATUS BIT
FROM DSP,
mCONTROLLER,
SWITCH, ETC.
SUB-FRAME STATUS REGISTER
RXP
16R5
1
ERROR BIT =
PARITY ERROR
OR VALIDITY ERROR
–19–
INTERRUPT =
TRACK NUMBER CHANGE
OR CHANNEL STATUS
CHANGE
AD1892
+5V
0.01mF
22
DVDD
21
20
19
18
17
15
CA
CB
CC
CD
CE
CON/PRO
16
23
CSCLK
+2
7
1
MCLK
DGND
SCLK
SDATA
LRCLK
CS
SYNC
AD1892
26
19
24
20
25
18
AD1857
DAC OUTR
SDATA
8
13
LEFT LINE OUTPUT
RIGHT LINE OUTPUT
LRCLK
3
CCLK
2
SDI
4
SDO
SCLK
6
384/256
OUTL
5
26
MCLK
0.01mF
CONSUMER
S/PDIF INPUT
75V CONN
RCA PHONE
CONNECTOR
13
RXP
14
MUTE
PD/RST
RXN
75V
512 x FSOUT CLOCK
27
1
ACTIVE HI MUTE
ACTIVE LO POWER-DOWN/RESET
0.01mF
QDFS
NOSIG
ERROR
INT
U/CBIT
12
11
10
9
SFCLK
8
6
NO BIPHASE-MARK
SIGNAL ON INPUT
DVDD
3
1
BAT54S OR BAS70-04
2
AES/EBU INPUT
3V–10V p-p
1 1:1
1
2
3
10nF
38R3
R5 16R5
R6 16R5
4
2
10nF
38R3
110V
RXP
AD1892
14
RXN
DVDD
3
1
BAT54S OR BAS70-04
13
DVDD
R3
1kV
2
R4
1kV
Figure 34. Stand-Alone Application Circuit
–20–
REV. 0
AD1892
Dither
The AD1892 can be programmed to add triangular Probability
Distribution Function (PDF) dither to the digital audio samples. It
is advisable to add dither when the input word width exceeds
the output word width, e.g., the input word is 20 bits and the
output word is 16 bits. Triangular PDF is generally considered
to create the most favorable noise shaping of the residual
quantization noise. The AD1892’s dither function is always
available, even when the part is configured in bypass mode.
Asynchronous Sample Rate Converter
The AD1892 uses a different Asynchronous Sample Rate
Conversion (ASRC) algorithm than the AD1890/AD1891/
AD1893. The upsampling range is much wider (1:5, from
10 kHz to 48 kHz continuous), but the downsampling range is
more constrained (48 kHz down to 44.1 kHz, without significant
artifacts). Unlike the AD1890/AD1891/AD1893, the AD1892’s
rate converter does not include automatic input frequency bandlimiting, which places constraints on artifact-free downsampling.
Program material sampled at 48 kHz can theoretically have
frequency content up to 24 kHz; when this is downsampled to
44.1 kHz, there can be aliased spectral energy from 20.1 kHz to
24.1 kHz, which is not fully attenuated by the AD1892’s digital
filter. For example, a full-scale 24 kHz signal would be attenuated
by –6 dB when resampled to 44.1 kHz.
The AD1892 ASRC performs 128 times interpolation, low-pass
filtering, and resampling (decimation) at the MCLK/512 (i.e.,
FSOUT) rate. The digital filter passband ripple is ± 0.015 dB, and
the transition band extends from 20 kHz to 24.1 kHz. The
stopband attenuation is 120 dB.
DAT Start ID
The AD1892 status register provides a bit that is intended to be
used in Digital Audio Tape (DAT) systems to facilitate the
location of the beginning of tracks. In DAT systems, when the
category code is set to DAT (i.e., 1100000) and the first right
subframe user bit in a DAT frame (identified as “R0’’ in the
IEC-958 documents) is set to 1, this is an indication of the start
of a new track. The AD1892 will set Bit D7 in Status Register 1
HI when the category code is 1100000 and any received right
channel subframe user bit is 1. This bit is sticky and will stay set
until Status Register 1 is read.
Coding Violation Status Bit
The AD1892 includes a bit (D0 in Status Register 0) that is set
HI when the AD1892 encounters biphase-mark encoding error,
other than X, Y or Z preambles, in the input serial stream. This
bit is sticky and will stay set until Status Register 0 is read. This
bit can be used to monitor the integrity of the biphase-mark
interconnect feeding the AD1892.
Q-Channel Block Start Status Bit and QDFS Signal
This bit is sticky and will stay set until Status Register 1 is read.
There is also an output signal QDFS (Pin 6) that is asserted
when the subcode sync word has been received. QDFS goes HI
for one subframe period.
Word Width
The AD1892 can use up to 20 bits of incoming audio data, i.e.,
all of the bits from Bit 8 through Bit 27 in each subframe. The
serial digital audio standards allow the use of the so-called “Aux
Data” bits to extend the audio data word length to 24 bits;
however, the AD1892 does not support this word length extension.
Mono Output Control Register Option
A monaural (mono) output can be provided by the AD1892
using the mono mode Bit D6 in Control Register 1. When this
bit is set to 1, the AD1892 puts (Right Channel + Left Channel)/2
on both the left and right channel serial data output. Adding
both channels together and dividing by 2 has the effect of
lowering the perceived amplitude of resulting output for largely
uncorrelated right and left channel input material, but also
avoids the possibility of clipping with highly correlated right and
left channel input material.
Microcontroller Applications
In many systems, the AD1892 will be used with an external
microcontroller to enable the more sophisticated functions of
which the device is capable. The microcontroller servicing the
AD1892 should follow the following suggestions:
1. The microcontroller should read (and thereby clear) the
status registers after initial start-up. The microcontroller
should wait until the NOSIG pin is deasserted LO before
clearing Status Register 0 and 1. This procedure will avoid
the problems of invalid channel status and Q-Channel
subcode CRC errors, invalid parity and validity errors, invalid coding violations errors, etc. All other status bits are
invalid when No Phase Lock (Bit D7, Status Register 0) is 1
(no phase lock), so all errors should be ignored by the microcontroller until this bit is deasserted LO.
2. The Q-Channel subcode CRC error indication (Bit D6,
Status Register 1) is not valid until subcode sync is achieved.
Subcode sync is indicated when Q Channel Block Start (Bit
D5, Status Register 1) is 1 or when the QDFS signal (Pin 6)
is asserted HI.
3. The AD1892 updates its on-chip channel status buffer and Q
Channel subcode buffer regardless of whether or not CRC
errors are detected. The system engineer must decide if the
microcontroller should update its information (i.e., read the
AD1892 status buffers) when channel status CRC errors
occur in professional mode or when Q Channel subcode
CRC errors occur in consumer mode.
The AD1892 provides two indications that a Q-Channel subcode block start has been encountered in consumer mode.
There is a bit (D5 in Status Register 1) that is set HI after the
subcode synchronization word (S0 + S1) has been received.
REV. 0
–21–
AD1892
TIMING DIAGRAMS
t MCP
MCLK
t RS
PD/RST
tPDRP
Figure 35. MCLK and Power-Down/Reset Timing
MCLK INPUT
(NOT TO SCALE)
BCLK
OUTPUT
tBDM
LRCLK
OUTPUT
tLDM
tDDS
SDATA
OUTPUT
LEFT-JUSTIFIED
MODE
MSB
MSB-1
tDDH
tDDP
tDDS
SDATA
OUTPUT
12S-JUSTIFIED
MODE
MSB
tDDH
tDDS
tDDP
SDATA
OUTPUT
RIGHT-JUSTIFIED
MODE
tDDS
MSB
LSB
tDDH
tDDH
tDDP
Figure 36. Serial Data Output Port Timing
tCLK
tCLH
CS
tCCL
CCLK
tCCP
tCCH
tCSU
SDI
MSB
LSB
tCHD
tCOH
SDO
LSB+1
LSB
Figure 37. Serial Control Port Timing
–22–
REV. 0
AD1892
tCSPW
tSFPW
CSCLK
SFCLK
tSFSU
CA
ERROR
tSFSU
CB
INT
tSFSU
CC
U/CBIT
CD
Figure 39. Subframe Status and Clock Timing
CE
tQDH
QDFS
CON/PRO
Figure 40. Q-Channel Subcode Clock Timing
Figure 38. Channel Status and Clock Timing
64 x FS BIT CLOCK PERIOD
MCLK INPUT
SYNC INPUT
tSSU
BCLK OUTPUT
LRCLK OUTPUT
SDATA OUTPUT
MSB VALID
(LEFT-JUSTIFIED MODE)
NOTE:
THIS DIAGRAM SHOWS SECOND AND SUBSEQUENT SYNC INPUT
SYNCHRONIZED OUTPUT CLOCK AND DATA TIMING PERIODS.
THE CLOCKS AND DATA ASSOCIATED WITH THE FIRST SYNC INPUT
SYNCHRONIZED PERIOD ARE NOT VALID. SEE TEXT FOR MORE
DETAILS.
Figure 41. SYNC Input Timing
REV. 0
–23–
AD1892
Typical Performance Plots
–80
–0.92
–84
–0.94
–88
–0.96
–92
–96
dBFS
dBFS
–0.98
–1.00
–100
–1.02
–104
–1.04
–108
–1.06
–112
–1.08
–116
–1.10
100
C2931–8–7/98
–0.90
1k
10k
–120
100
20k
1k
Hz
10k
20k
Hz
Figure 42. Frequency Response, –1 dB Full-Scale Input
Figure 44. THD+N, 32 kHz Input, 48 kHz
Output, –1 dB Full-Scale Input
–80
–84
–88
–92
dBFS
–96
–100
–104
–108
–112
–116
–120
100
1k
10k
20k
Hz
Figure 43. THD+N, 44.1 kHz Input, 48 kHz Output,
–1 dB Full-Scale Input
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
PRINTED IN U.S.A.
28-Lead SOIC
(R-28)
0.7125 (18.10)
14
PIN 1
0.0118 (0.30)
0.0040 (0.10)
0.0500
(1.27)
BSC
0.3937 (10.00)
1
0.2914 (7.40)
15
0.4193 (10.65)
28
0.2992 (7.60)
0.6969 (17.70)
0.1043 (2.65)
0.0291 (0.74)
0.0926 (2.35)
0.0098 (0.25)
8°
SEATING 0.0125 (0.32) 0°
0.0138 (0.35)
PLANE 0.0091 (0.23)
0.0192 (0.49)
–24–
x 45°
0.0500 (1.27)
0.0157 (0.40)
REV. 0