Cirrus Logic CS4226-KQ, CS4226-BQ, CDB4226 Datasheet

Surround Sound Codec

CS4226

Features

l
Stereo 20-bit A/D Converters
l
Six 20-bit D/A Converters
l
S/PDIF Receiver
AC-3 & MPEG Auto-detect Capability
l
108 dB DAC Signal-to-Noise Ratio (EIAJ)
l
Mono 20-bit A/D Converter
l
Programmable Input Gain & Output Attenuation
l
On-chip Anti-aliasing and Output Smoothing Filters
l
De-emphasis for 32 kHz, 44.1 kHz, 48 kHz
I
SCL/CCLK
PDN
LRCK
SCLK SDIN1 SDIN2 SDIN3
SDOUT1 SDOUT2
OVL/ERR
DEM
CLKOUT XTI XTO
DEM
SDA/CDOUT
Serial Audio Data Interface
MUX
Clock Osc/
Divider
AD1/CDIN AD0/CS I2C/SPI
Control Port
DAC#1
DAC#2
DAC#3
DAC#4
Digital Filters
DAC#5 Volume
DAC#6
Mono
ADC Left
ADC
Right
Digital Filters
ADC
PLL
FILT
HOLD/RUBIT
DATAUX/RX4

Description

The CS4226 is a single-chip codec providing stereo an­alog-to-digital and six digital-to-analog converters using delta-sigma conversion techniques. This +5 V device also contains volume control independently selectable for each of the six D/A channels. An S/PDIF receiver is included as a digital input channel. Applications include Dolby Pro-logic, THX, DTS an d Dolby Digi tal AC-3 home theater systems, DSP based car audio systems, and other multi-channel applications.
The CS4226 is packaged in a 44-pin plastic TQFP.
ORDERING INFORMATION
CS4226-KQ -10° to +70° C 44-pin TQFP CS4226-BQ -40° to +85° C 44-pin TQFP CDB4226 Evaluation Board
VD+
VA+
Volume
Control
Volume
Control
Volume
Control
Volume
Control
Analog Low Pass and
Control
Volume
Control
Input
Gain
S/PDIF RX/Auxiliary Input
LRCKAUX/RX3
SCLKAUX/RX2
Output Stage
RX1
Voltage
Reference
Input MUX
DGND1
CMOUT AOUT1
AOUT2
AOUT3
AOUT4
AOUT5
AOUT6 AINAUX
AIN1L AIN1R
AIN2L/FREQ 0 AIN2R/FR EQ 1 AIN3L/AUTODATA AIN3R/AUDIO
AGND1 AGND2
DGND2
Cirrus Logic, Inc. Crystal Semiconductor Products Division
P.O. Box 17847, Austin, Texas 78760 (512) 445 7222 FAX: (512) 445 7581 http://www.crystal.com
Copyright  Cirrus Logic, Inc. 1998
(All Rights Reserved)
SEP ‘98
DS188F1
1

TABLE OF CONTENTS

CHARACTERISTICS/SPECIFICATIONS ............................................................ 3
ANALOG C H A RA C T E RISTICS... .. .................... .............................. ............ 3
SWITCHING CHARACTERISTICS ............................................................. 5
SWITCHING CHARACTERISTICS - CONTROL PORT ............................. 6
S/PDIF RECEIVER CHARACTERISTICS................................................... 7
ABSOLUTE MAXIMUM RATINGS ........................................ ......................8
RECOMMENDED OPERATING CONDITIONS.......................................... 8
DIGITAL CHARACTERISTICS.................................................................... 8
FUNCTIONAL DESCRIPTION ..........................................................................10
Overview ......... ......... ....... ......... ......... .......... ...... .......... ......... ....... ......... ..... 10
Analog Inputs ............................................................................................ 10
Line Level Inputs ................................................................................ 10
Adjustable Input Gain ................ ................................................. ........11
High Pass Filter ..................................................................................11
Analog Outputs .........................................................................................11
Line Level Outputs .............................................................................11
Output Level Attenuator .....................................................................11
Clock Generation ......................................................................................12
Clock Source ......................................................................................12
Master Clock Output .......................................................................... 13
Synchron izat ion .... .. .... ..... .. ..... .... ..... .. ..... .... ... .... ..... ..... .. .... ..... ..... .. .... . 13
Digital Interfaces .......................................................................................13
Audio DSP Serial Interface Signals ..... .. .............................. ...............13
Audio DSP Serial Interface Formats ..................................................13
Auxiliary Audio Port Signals ...............................................................15
Auxiliary Audio Port Formats .............................................................. 15
S/PDIF Receiver ................................................................................15
AC-3/MPEG Auto Detection ............................................................... 16
Control Port Signals ..................................................................................16
SPI Mode ...........................................................................................16
2
C Mode ............................................................................................ 17
I
Control Port Bit Definitions .................................................................17
Power-up/Reset/Power Down Mode .........................................................18
DAC Calibration ........................................................................................18
De-Emphasis ............................................................................................ 18
HOLD Function ......................................................................................... 19
Power Supply, Layout, and Grounding .....................................................19
ADC and DAC Filter Response Plots .............................. ................... ......19
REGISTER DESCRIPTION ............................................................................... 21
PIN DESCR I P T IO N .................... .............................. ....................................... ...29
PARAMETER DEFINITIONS .............................................................................34
PACKAGE DIMENSIONS ..................................................................................35
CS4226
Advanced product information describes products which are in development and subject to development changes. Cirrus Logic, Inc. has made best efforts to e nsur e tha t th e inf orma tion con tain ed i n th is doc ument is accur ate a nd r eliab le . How ever , th e inf orma tion is su bj ect to change without
notice a nd is p rov i ded “A S I S” w it ho ut wa rr an ty of an y ki n d (e x pre s s or i mpl i ed ). No r esp on s ibi l i ty is assume d by Cirrus L ogi c, In c . fo r t he us e of this inf or ma ti on , n or f or i n f ring eme nt s of pa te nt s or o th er r i ght s o f t hi r d pa rt ies . Thi s doc u men t i s th e propert y of Cir r u s Lo gic , I nc. an d i mp li es no license under patents, copyrights, trademarks, or trade secrets. No part of this publication may be copied, reproduced, stored in a retrieval system, or trans mit te d, in any f orm or b y any me ans ( e lectronic , me c han ica l , pho to gra ph i c, or ot he rwi s e). Fur th er mo r e, no pa rt of this publi cat i o n may be used as a basis for manufacture or sale of any items without the prior writte n consent of Cirrus Logic, Inc. The names of products of Cirrus Logic, Inc. or other vendors and suppliers appearing in this document may be trademarks or service marks of their respective owners which may be reg­istered in some jurisdictions. A list of Cirrus Logic, Inc. trademarks and service marks can be found at http://www.cirrus.com.
Dolby and AC-3 are registered trademarks, Dolby Pro-Logic is a trademark of Dolby Laboratories Licensing Corporation. DTS is a registered trade­mark of DTS, Inc.. THX is a registered trademark of LucasArts Entertainment Company. I
2
C is a registered trademark of Philips Semiconductor.
2 DS188F1

CHARACTERISTICS/SPECIFICATIONS

CS4226

ANALOG CHARACTERISTICS (T

990.52 Hz; Fs = 44.1 kHz (PLL in use); Measurement Bandwidth is 20 Hz to 20 kHz; Local components as shown in Figure 1; SPI mode, Format 3, unless otherwise specified.)
Parameter Symbol
Analog Input Characteristics
ADC Resolution Ste reo Audio channels
Total Harm onic Dis tortion THD 0.003 - 0.003 - % Dynamic Range (A weighted, Ster eo)
Total Harmonic -1 dB, Stereo (Note 1) Distortion + Noise -1 dB, Mono (Note 1)
Interchannel Isolation - 90 - - 90 - dB Interchannel Gain Mismatch - 0.1 - - 0.1 - dB Programmable Input Gain Span 8 9 10 8 9 10 dB Gain Step Size 2.7 3 3.3 2.7 3 3.3 dB Offset Error (wi th high pass filter) - - 0 - - 0 LSB Full Scale Input Voltage (Single Ended): 0.90 1.0 1.10 0.90 1.0 1.10 Vrms Gain Drift - 100 - - 100 -
Input Resistance (Note 2) 10 - - 10 - - k Input Capacitance - - 15 - - 15 pF CMOUT Output Voltage - 2.3 - - 2.3 - V
- Minimum gain setting (0 dB) Differ ential Input; unless otherwise specified.
Mono channel
(unweighted, Stereo)
(A weighted, Mono)
= 25°C; VA+, VD+ = +5V; Full Scale Input Sine wave,
A
CS4226-KQ CS4226-BQ
16 16
92
-
89
THD+N -
-
-
20
-
20
95 92
-
-88--82
-
-
-
-72
16 16
90 87
-
-
-
-
20
-
20
93 90
-
-86--80
-
-
-
-70
UnitsMin Typ Max Min Typ Max
Bits Bits
dB dB dB
dB dB
ppm/°C
A/D Decimation Filter Characteristics
Passband (Note 3) 0.02 - 20.0 0.02 - 20.0 kHz Passband Ripple - - 0.01 - - 0.01 dB Stop band (Note 3) 27.56 ­Stop band Attenuation (Note 4) 80 - - 80 - - dB
Group Delay (Fs = Output Sam ple R a te)
Group Delay Variation vs. Frequenc y
(Note 5) t
gd
t
gd
- 15/Fs - - 15/Fs - s
--0--0µs
5617.2
27.56 -
5617.2
kHz
Notes: 1. Referenced to typical full-scale differential input voltage (2Vr ms).
2. Input resistance is for the input selected. Non-selected inputs have a very high (>1MΩ) input resi stance. The input resistance will vary with gain value selected, but will always be greater than the min. value specified
3. Filter characteristics scale with output sample rate.
4. The analog modulator samples the input at 5.6448 MHz for an out put sample rate of 44. 1 kHz. There is no rejection of input signal s which are multiple s of the sampling frequen cy (n × 5.6448 MHz ± 20.0 kHz where n = 0,1,2,3...).
5. Group delay for Fs = 44.1 kHz, t
DS188F1 3
= 15/44.1 kHz = 340 µs
gd
CS4226
ANALOG CHARACTERISTICS (Continued)
CS4226-KQ CS4226-BQ
Parameter Symbol
High Pass Filter Characteristics
Frequency Response: -3 dB (Note 3)
-0.13 dB Phase Deviation @ 20 Hz (Note 3) - 10 - - 10 - Deg. Passband Ripple - - 0 - - 0 dB
Analog Output Characteristics
DAC Resolution 16 - 20 16 - 20 Bits
Signal-to-N oi se/Idle (DAC m ut ed, A weighted) Channel Noise
Dynamic Range (DAC not muted, A weighted)
(DAC not muted, unweighted) Total Harmonic Distortion THD - 0.003 - - 0.003 - % Total Harmonic Distortion + Noise (Stereo) THD+N - -88 -83 - -86 -81 dB Interchannel Isolation - 90 - - 90 - dB Interchannel Gain Mismatch - 0.1 - - 0.1 - dB Attenuation Step Size (All Output s) 0.7 1 1.3 0.7 1 1.3 dB Programmable Output Attenuation Span -84 -86 - -84 -86 - dB Offset Voltage (relative to CMOUT) - ±15 - - ±15 - mV Full Scale Output Voltage 0.92 1.0 1.08 0.92 1.0 1.08 Vrms Gain Drift - 100 - - 10 0 -
Out-of-Band Energy (Fs/2 to 2Fs) - -60 - - -60 - dBFs Analog Output Load Resistance:
- Minimum Attenuation, 10 k, 100 pF load; unless otherwise specified.
Capacitance:
-
3.4
-
20
101 108 - 99 106 - dB
93
10
98
-
95
-
-
-
-
-
-
-
-
100
91
10
-
3.4
-
20
96
-
93
-
-
-
100
Combined Digital and Analog Filter Characteristics
Frequency Response 10 Hz to 20 kHz - ±0.1 - - ±0.1 - dB Deviation from Linear Phase - ±0.5 - - ±0 .5 - Deg. Passband: to 0.01 dB corner (Notes 6, 7) 0 - 20.0 0 - 20.0 kHz Passband Ripple (Note 7) - - ±0.01 - - ±0.01 dB Stopband (Notes 6 ,7) 24.1 - - 24.1 - - kHz Stop band Attenuation (Note 8) 70 - - 70 - - dB Group Delay (Fs = Input Word Ra te) (Note 5) tgd - 16/Fs - - 16/Fs - s
Analog Loopback Performance
Signal-to-noise Ratio (CCIR-2 K w eig ht ed, -2 0 dB input) CCIR-2K
-71- -71-dB
Power Supply
Power Supply Current Operating
Power Down
Power Supply Rejection (1 kHz, 10 mV
Notes: 6. The passband and stopband edges scale wit h frequency. For input word ra tes, Fs, other than 44.1 kHz,
the 0.01 dB passband edge is 0.4535×Fs and the stopband edge is 0.5465×Fs.
7. Digital filter characteristics.
8. Measurement bandwidth is 10 Hz to 3 Fs.
) - 45 - - 45 - dB
rms
-
-
901113
3
-
9011153mA
-
-
-
-
-
-
UnitsMin Typ Max Min Typ Max
Hz Hz
dB dB
ppm/°C
k pF
mA
4 DS188F1
CS4226

SWITCHING CHARACTERISTICS (T

= 25°C; VA+, VD+ = +5V ±5%, outputs loaded with 30 pF)
A
Parameter Symbol Min Typ Max Units
Audio ADC's & DAC's Sample Rate Fs 4 - 50 kHz XTI Frequency (XTI = 256, 384, or 512 Fs) 1.024 - 26 MHz XTI Pulse Width High XTI = 512 Fs
XTI = 384 Fs XTI = 256 Fs
XTI Pulse Width Low XTI = 512 Fs
XTI = 384 Fs XTI = 256 Fs
10 21 31
10 21 31
-
-
-
-
-
-
-
-
-
-
-
-
ns ns ns
ns ns
ns PLL Clock Recovery Frequency RX, XTI, LRCK, LRCKAUX 30 - 50 kHz XTI Jitter Tolerance - 500 - ps
Low Time (Note 9) 500 - - ns
PDN SCLK Falling Edge to SDOUT Output Valid (DSCK = 0) t
LRCK edge to MSB valid t SDIN Setup Time Before SCLK Rising Edge (DSCK=0) t SDIN Hold Time After SCLK Rising Edge (DSCK=0) t
dpd
lrpd
ds
dh
-- ns
--40ns
--25ns
--25ns
1
--------------------
384()Fs
20+
Master Mode
SCLK Period t SCLK Falling to LRCK Edge (DSCK=0) t
sck
mslr
1
--------------------
256()Fs
--ns
10 - ns
SCLK Duty Cycle - 50 - %
Slave Mode
SCLK Period t SCLK High Time t
SCLK Low Time t SCLK Rising to LRCK Edge (DSCK=0) t LRCK Edge to SCLK Rising (DSCK=0) t
sckw
sckh
sckl lrckd lrcks
1
--------------------
128()Fs
--ns
40 - - ns 40 - - ns 20 - - ns 40 - - ns
Notes: 9. After powering up the CS4226, PDN
SCLK* SCLKAUX* (output)
t
LRCK LRCKAUX (output)
SDOUT1 SDOUT2
Audio Ports Master Mode Timing
mslr
should be held low until the power supply is settled.
LRCK
LRCKAUX
t
sck
(input)
SCLK*
SCLKAUX*
(input)
SDIN1 SDIN2 SDIN3
DATAUX
SDOUT1 SDOUT2
*SCLK, SCLKAUX shown for DSCK = 0 and ASCK = 0. SCLK & SCLKAUX inverted for DSCK = 1 and ASCK = 1, respectively.
t
lrckd
t
lrpd
t
lrcks
t
sckh
t
t
ds
dh
MSB
Audio Ports Slave Mode and Data I/O timing
t
sckw
t
sckl
t
dpd
MSB-1
DS188F1 5
CS4226

SWITCHING CHARACTERISTICS - CONTROL PORT (TA = 25°C VD+, VA+ = 5V ±5%;

Inputs: logic 0 = DGND, logic 1 = VD+, CL = 30 pF)
Parameter Symbol Min Max Units
SPI Mode
CCLK Clock Frequency f
High Time Between Transmissions t
CS
Falling to CCLK Edge t
CS CCLK Low Time t CCLK High Time t CDIN to CCLK Rising Setup Time t CCLK Rising to DATA Hold Time (Note 10) t CCLK Falling to CDOUT stable t Rise Time of CDOUT t Fall Time of CDOUT t Rise Time of CCLK and CDIN (Note 11) t Fall Time of CCLK and CDIN (Note 11) t
(SPI/I2C = 0)
sck csh css
scl
sch
dsu
dh pd
r1 f1 r2 f2
-6MHz
1.0
µ
20 ns 66 ns 66 ns 40 ns 15 ns
45 ns 25 ns
25 ns 100 ns 100 ns
s
Notes: 10. Data must be held for sufficient time to bridge the transition time of CCLK.
11. For F
SCK
< 1 MHz
CS
CCLK
CDIN
CDOUT
t
css
t
r2
t
scl
t
t
f2
dsu
t
sch
t
dh
t
csh
t
pd
6 DS188F1
CS4226
SWITCHING CHARACTERISTICS - CONTROL PORT (T
Inputs: logic 0 = DGND, logic 1 = VD+, CL = 30 pF)
Parameter Symbol Min Max Units
I2C® Mode
SCL Clock Frequency f Bus Free Time Between Transmissions t St art Condition Hold Time (prior to first cl ock pulse) t Clock Low Time t Clock High Time t Setup Time for Repeated Start Condition t SDA Hold Time from SCL Falling (Note 13) t SDA Setup Time to SCL Rising t Rise Time of Both SDA and SCL Lines t Fall Time of Both SDA and SCL Lines t Setup Time for Stop Condition t
Notes: 12. I
(SPI/I2C = 1) (Note 12)
scl
buf
hdst
low
high
sust
hdd sud
r f
susp
2
C is a registered trademark of Philips Semiconductors.
13. Data must be held for sufficient ti me to bridge the 300 ns transition time of SCL.
Repeated
Stop Start
Start
= 25°C; VD+, VA+ = 5V ±5%;
A
-100kHz
4.7
4.0
4.7
4.0
4.7 0
µ
s
µ
s
µ
s
µ
s
µ
s
µ
s
250 ns
1
µ
s
300 ns
4.7
Stop
µ
s
SDA
SCL
t
buf
t
hdst
t
low
t
hdd
t
high
t
sud
t
sust
t
hdst
t
f
t
r
t
susp

S/PDIF RECEIVER CHARACTERISTICS (RX1, RX2, RX3, RX4 pins onl y; VD+, VA+ = 5V ±5%)

Parameter Symbol Min Typ Max Units
Input Resistance Z Input Voltage V Input Hysteresis V
HYST
Input Sample Frequency F
N
TH
S
-10- k
200 - - mVpp
-50-mV
30 - 50 kHz CLKOUT Jitter (Note 14) - 200 - ps RMS CLKOUT Duty Cycle (high time/cycle time) (Note 15) 40 50 60 %
Notes: 14. CLKOUT Jitter is for 256×FS selected as output frequency measured from falling edge to falling edge.
Jitter is greate r for 384×Fs and 512×Fs as selected output fr equency.
15. For CLKOUT frequency equal to 1×Fs, 384×Fs, and 512×Fs. See Master Clock Output section.
DS188F1 7
CS4226

ABSOLUTE MAXIMUM RATINGS (AGND, DGND = 0 V, all voltages with respect to 0 V.)

Parameter Symbol Min Typ Max Units
Power Supplies Digital
Analog Input Current (Note 16) - - ±10 mA Analog Input Voltage (Note 17) -0.7 - (VA+)+0.7 V Digital Input Voltage (Note 17) -0.7 - (VD+)+0.7 V Ambient Temperature (Power Applied) -55 - +125 °C Storage Temperature -65 - +150 °C
Notes: 16. Any pin except supplies. Transient currents of up to ±100 mA on the analog input pins will not cause
SCR latch-up.
17. The maximum over or under voltage is limited by the i nput current.
Warning: Operation at or beyond these li mit s may result in permanent damage to the device. Normal operation
is not guaranteed at these extremes.

RECOMMENDED OPERATING CONDITIONS (AGND, DGND = 0 V, all voltages with r espect

to 0 V.)
VD+
VA+
-0.3
-0.3
-
-
6.0
6.0
V V
Parameter Symbol Min Typ Max Units
Power Supplies Digital |(VA+)-(VD+)|<0.4 V Analog
Operating Ambient Temperature CS4226-KQ
CS4226-BQ

DIGITAL CHARACTERISTICS (T

Parameter Symbol Min Typ Max Units
High-level Input Voltage (except RX1) V Low-level Input Voltage (except RX1) V High-level Output Voltage at I Low-level Output Voltage at I Input Leakage Current (Digital Inputs) - - 10 Output Leakage Current (Hi gh-Impedance Digital Outputs) - - 10
= -2.0 mA V
0
= 2.0 mA V
0
= 25 °C; VA+, VD+ = 5 V ±5%)
A
VD+
VA+
T
A
IH
IL
OH
OL
4.75
4.75
-10
-40
2.8 - (VD+)+0.3 V
-0.3 - 0.8 V
(VD+)-1.0 - - V
--0.4V
5.0
5.0 25
25
5.25
5.25 70
85
V V
°C °C
µ
A
µ
A
8 DS188F1
CS4226
Ferrite Bead
+5V Supply
To Optional
Input and
1
µ
Output Buffers
10 µF
10 µF
10 µF
10 µF
10 µF
From Optional Input Buffer
10
10 µF
R
S
R
S
R
S
Digital Audio
Source
100 pF
R
S
100 pF
R
S
100 pF
R
S
100 pF
Mode
Setting
R = 50
S
R = 475
D
All unus ed digital in puts should be tied to DGND.
All unus ed analog inputs should be left floating.
* Optional if analog i nput s biased to within 1% of CMOUT
† Only needed when inputs are used for S/PDIF.
F
µ
F
2.0
1 µF 0.1 µF
+
19
1 µF 0.1 µF
+
40
VA+ VD+
16
CMOUT
+
14
*
AIN1L
13
*
AIN1R
11
*
AIN2L/FREQ0
12
*
AIN2R/FREQ1
10
*
AIN3L/AUTODATA
9
*
AIN3R/AUDIO
15
*
AINAUX
27
DEM
2
HOLD/RUBIT
42
RX1
CS4226
1
DATAUX/RX4
44
LRCKAUX/RX3
43
SCLKAUX/RX2
SDA/CDOUT
8
PDN
7
2
I C/SPI
AGND1, 2 DGND1, 2 FILT XTO XTI
39412018
17
R
FILT
29 28
R **
X1
Loop Current
Normal High
C
15 nF
43 k
1.5 nF
180 nF
3.3 k 18 nF
FILT
R
FILT
C
RIP
C
FILT
C
RIP

Figure 1. Recommended Connection Diagram

AOUT1
AOUT2
AOUT3
AOUT4
AOUT5
AOUT6
SCL/CCLK
AD0/CS
AD1/CDIN
SDIN1
SDIN2
SDIN3
SDOUT1
SDOUT2
LRCK SCLK
CLKOUT
OVL/ERR
R **
X2
C1** C2**
21
22
23
24
25
26
3 4
6
5
34
33
32
36
35
37 38
31
30
ANALOG FILTER
ANALOG FILTER
ANALOG FILTER
ANALOG FILTER
ANALOG FILTER
ANALOG FILTER
Microcontroller
R
D
R
D
R
D
R
S
R
S
R
S
R
S
**
C1
C2 R R
Audio
DSP
1xFs 40 pF 40 pF
10 pF 40 pF
300 k
X1 X2
10 M
256, 384, 512xFs
short open
DS188F1 9
CS4226
FUNCTIONAL DESCRIPTION Overview
The CS4226 has 2 channels of 20-bit analog-to­digital conv ersion and 6 cha nnels of 20-bit d igi tal­to-analog con version. A mono 20-bit A DC is also provided. All ADCs and DACs are delta-sigma converters. The stereo ADC inputs have adjustable input gai n, while th e DAC outputs have adjustab le output attenuation. The device also contains an S/PDIF rece iver capable o f receiving compre ssed AC-3/MPEG or un compressed digita l audio data.
Digital audio data for the DACs and from the ADCs is communicate d over separat e serial ports. This allows concurrent writing to and reading from the device. The CS4226 functions are controlled via a serial microcontroller interface. Figure 1 shows the recommended connection diagram for the CS4226.

Analog Inputs

Line Level Inputs
AIN1R, AIN1L, AIN2R, AIN2L, AIN3 R, AIN3L and AINAUX are the line level input pins (See Fig­ure 1). These pins are internally biased to the CMOUT volta ge. A 10 µF DC blocking ca pacitor placed in se ries with the input pins allows sign als centered around 0 V to be input to the CS4226. Fig­ure 2 shows an opt ional dual op amp bu ffe r which combines leve l shi fti ng wi th a g ain of 0. 5 to att en ­uate the stan dard line level of 2 V rms to 1 Vrms. The CMOUT reference level is used to bias the op­amps to approximately one half the supply voltage. With this input circuit, the 10 µF DC blocking caps in Figure 1 may be omitted. Any remaining DC off­set will be remov ed by the inte rnal high-pass fil­ters.
100 pF
Line In Right
Example
Op-Amps are
MC34074 or
MC33 07 8
Line In Left
3.3 µF
3.3 µF
Figure 2. Optional Line Input Buffer
20 k
0.47 µF
20 k
-
+
+
-
10 k
AINxR
5 k
CMOUT
AINxL
10 k
100 pF
ADC Control Byte. On-chip anti-aliasing filters follow the input mux providing anti-aliasing for all input chan nels.
The analog inputs may also be configured as differ­ential inputs. This is enabled by setting bits AIS1/0=3. In the differential configuration, the left channel inputs reside on pins 10 and 11, and the right channel inputs reside on pins 12 and 13 as de­scribed in Ta ble 1 belo w. In d iff erent ial mode , the full scale input level is 2 Vrms.
Single-ended Pin # Differential Inputs
AIN3L Pin 10 AINL+ AIN3R Pin 9 unused AIN2L Pin 11 AINL­AIN2R Pin 12 AINR­AIN1L Pin 14 unused AIN1R Pin 13 AINR+
Table 1. Single-ended vs Differential Input Pin
Assignments
The analog signal is input to the mono ADC via the AINAUX pin.
Selection of stereo the input pair (AIN1L/R, AIN2L/R or AIN3 L/ R) for the 20-bit ADC’s is ac­complished by setting the AIS1/0 bits (ADC analog
Independen t Muting of both the ste reo ADC’s and the mono ADC is p ossible throu gh the ADC Con­trol Byte with the MUTR, MUTL and MUTM bits.
input mux control), which are accessible in the
10 DS188F1
CS4226
Adjustable Input Gain
The signals from the line inputs are routed to a pro­grammable ga in circui t which provi des up to 9 dB of gain in 3 dB steps. The gain is adjustable through the Input Control Byte. Right and left channel gai n settings ar e contro lled indepe ndently with the GNR1/0 and GNL1 /0 bits. Level cha nges occur immediately on register updates. To mini­mize audible artifacts, level changes should be done with the cha nne l muted.
The ADC Status Report Byte provides feedback of input level for each ADC channel. This register continously monitor s the ADC o utput and rec ords the peak output level since the last register read. Reading this register causes it to reset to 0 and peak monitorin g begins again.
High Pass Filter
The operational amplifiers in the input circuitry driving the CS4226 may generate a small DC offset into the A/D converter. The CS4226 includes a high pass filter af ter the decimator to remove any DC offset which could result in recording a DC lev­el, possibly yielding "clicks" when switching be­tween dev ices in a multichannel system.
The characte ristics of this first- order high pa ss fil­ter are outlined Table 2 below for an output sample rate of 44.1 kHz. This filter response scales linearly with sample rate.
Frequency Response -3dB @ 3.4 Hz
-0.13 dB @ 20 Hz Phase Deviation 10 degrees @ 20 Hz Passband Ripple None
Table 2. High Pass Filter Characteristics

Analog Outputs

Line Level Outputs
The CS42 26 contains an on-chip buffer amplifier producing sing le-ende d outputs ca pable of drivin g 10 k loads. Each output (A
1-6) will produce
OUT
a nominal 2.83 Vpp (1 Vrms) output with a 2.3 volt quiescent v olta ge for a ful l scal e dig ital inpu t. The recommende d off-chip ana log filter is a 2nd order Butterworth with a -3 dB corner at Fs, see Figure 3. This filter provides out-of-band noise attenuation along with a gain of 2, providing a 2 Vrms output signal. A 3rd order B utterworth filt er with a -3dB corner at 0.75 Fs can be used if greater out of band noise filtering i s desired. The C S4226 DAC int er­polation filter is a linear phase design which has been pre-compensated for an external 2nd order Butterworth filter to provide a flat frequency re­sponse and linear phase response over the pass­band. If this filter is not used, small frequency response magnit ude and phase er rors wi ll occ ur.
Output Level Attenuator
The DAC outputs are each routed through an atten­uator which is ad just able in 1 dB steps. Outp ut at­tenuation is available through the Output Attenuator Data Bytes. Level changes are imple­mented in the analog domain such that the noise is attenuat ed by the sa me a mo unt as the s ignal , until the residual outpu t noise is equ al to the noise floo r in the mu te st ate; at t his point atten ation is imple ­mented in the digital domain. The change from an­alog to dig ital at te nuat io n occu rs at -23 dB. Lev el changes only take effect on zero crossings to mini­mize audible artifac ts. If th ere is no zero crossi ng, then the requested level change will o ccur after a time-out period between 512 and 1024 frames (11.6 ms to 23.2 ms at 44. 1 kHz frame rate). Ther e is a separate ze ro crossing det ector for ea ch chan­nel. Each ACC bit (Acceptance bit) in the DAC Status Report B yte give s feedba ck on w hen a vol ­ume control cha nge h as ta ken e ffect . T his bit goes high when a new setting i s loaded and ret urns low when it has taken eff ect. Volume control cha nges can be instanta neous by setting the Ze ro Crossing Disable (ZCD) bit in th e DAC Control Byte to 1.
Each outp ut can b e ind epend ently m uted via mu te control bits, MUT6-1, in the DAC Control Byte.
DS188F1 11
CS4226
The mute also takes effect on a zero-crossing or af­ter a timeout. In add ition, the CS4226 has an op­tional mute on conse cu t ive zeros f eature, whe r e all DAC outputs wi ll mu te if they re ceive betwe en 512 and 1024 conse cutive z eros (or - 1 cod e) on all six channels. A sing le no n-zer o v alue will unm ute t he DAC outputs. This feature can be disabled with the MUTC bit in the DAC Con trol Byte. When using the internal PLL as the clock source, all DACs will instantly mute when the PLL detects an error.

Clock Generation

The master clock to operate the CS4226 may be generated by using t he on -ch ip in verte r a nd an ex -
150pF
22 k
A
A
OUT
OUT
11 k
C
MOUT
1.1 k
5600 pF
C
MOUT
3.9 k
2-Pole Butterworth Filter
4.75 k
1000pF
5 k
5.85 k
1.21 k
5600 pF
5 k
_ +
0.47 µF
560 pF
_
+
0.47 µF
Example
Op-Amps
are
MC33078
ternal crys tal, by usin g the o n-chip PL L, or by u s­ing an external clock source. In all modes it is required to ha ve SCL K a nd LRCK synchrono us t o the selected master clock.
Clock Source
The CS4226 requires a high frequency master clock to run th e internal logic. The Clock Source bits, CS0/1/2 in Clo ck Mode Byte, determine the source of the clock. A high frequency crystal can be connected to XTI and XTO, or a high frequency clock can be applied to XTI. In both these cases, the internal PLL is disabled, and the VCO turns off. The externa lly supplied high frequency cl ock can be 256 Fs, 384 Fs or 512 Fs; this is set by the CI0/1 bits in the C lock Mode Byte. W hen using the on ­chip cry stal oscillat or, external loading capa citors are required, see Figure 1. High frequency crystals (>8MHz) should be pa ra ll el resonant, fun da mental mode and designed for 20 pF loading (equivalent to 40 pF to grou nd on each leg).
Alternatively, the on-chip PLL may be used to gen­erate the requi red high frequency cl ock. The PLL input clock is 1 Fs, and may be input from LRCK­AUX, LRCK, or from XTI/XTO. In this last case, a 1 Fs clock may be input into XTI, or a 1 Fs crystal attache d across XTI/XTO . When an exte rnal 1 Fs crystal is attached, extra components will be re­quired, see Figure 1. The PLL will lock onto a new 1 Fs clock in about 90 ms. If the PLL input clock is removed, the VCO will drif t to the low f requency end of its freque nc y range.
The PLL can also be used to lock to an S/PDIF data source on RX1, R X2, R X3, or RX4. So urce se lec­tion is ac complished with the CS2/1/0 bits in the Clock Mode Byte. The PLL will lock to an S/PDIF source in about 90 ms.
Finally, the PLL has two filter loop current modes,
3-Pole Butterworth Filter
normal an d high current, th at are selecte d via the LC bit in the Converter Control Byte. In the normal
Figure 3.
12 DS188F1
mode, the loop current is 25
µA. In the high current
CS4226
mode, the loop current is 300 µA. The high current mode allows the use of lower impedance filter components which minimizes the influences of board contamin ation. See th e table in Figur e 1 for filter component values in each mode.
Master Clock Output
CLKOUT is a master clock output prov ided to al­low synchronization of external components. Available CLKOUT frequencies of 1 Fs, 256 Fs, 384 Fs, and 512 Fs, are selectable by the CO0/1 bits of the Clock Mode Byte.
Generation of CLKOUT for 384 Fs a nd 512 Fs is accomplished wi th an on chi p c lock mult iplier and may conta in clock j itter. Th e source o f the 25 6 Fs CLKOUT is the output of the PLL or a divided down clock from the XT I/XTO input. If 384 Fs is chosen as the input clock at XTI and 256 Fs is cho­sen as the output, CLKOUT will have approxi­mately a 33% duty cycle. In all other cases CLKOUT will typically have a 50% duty cycle.
Synchronization
The DSP port and Auxiliary port must operate syn­chronously to the CS4 226 clo ck so urce. The serial port will force a reset of the data paths in an attempt to resynchroni ze if non-synchron ous data is in put to the CS 4226. It is advisable to mute the DAC s when changing from one clock source to another to avoid the output of undesirable audio signals as the CS4226 resynchronizes.

Digital Interfaces

There are 3 di gita l audio int erfac e ports: the au dio DSP port, the auxiliary digital audio port, and the S/PDIF reciever. The serial data is represented in 2’s complement format with the MSB-first in all formats.
Audio DSP Serial Interface Signals
The serial interface clock, SCLK, is used for trans­mitting and receiving a udio data. T he active e dge
of SCLK is chosen by setting the DSCK bit in the DSP Port Mode Byte. SCLK can be generated by the CS422 6 (maste r mode) o r it ca n be inpu t from an external SCLK source (slave mode). Mode se­lection is set with the DMS1/0 bits in the DSP Port Mode Byte. The number of SCLK cycles in one system sample period is programmable to be 32, 48, 64, or 128 by setting the DCK1/0 bits in the DSP Port Mode Byte.
The Left/Right clock (LRCK) is used to indicate left and right data and the start of a new sample pe­riod. It may be ou tput f rom the C S4226, or it may be generated from an exte rnal controller. T he fre­quency of LRCK must be equal to the system sam­ple rate, Fs.
SDIN1, SDIN2, and SDIN3 are the data input pins, each of which drive a pair of DACs. SDOUT1 and SDOUT2 can carry the output data from the two 20-bit ADC’s, the mono ADC, the auxili ary digital audio port, and the S/PDIF receiver . Selectio n de­pends on the IS1/0 bits in the ADC control byt e. The audio DSP port may also be configured so that all 6 DAC’s data is input on SDIN1, and all 3 ADC’s data is output on SDOUT1. Table 3 outli nes the serial in te rface ports.
DAC Inputs
SDIN1 left channel
right channel
single line
SDIN2 left channel
right channel
SDIN3 left channel
right channel
Table 3. DSP Serial Interface Ports
DAC #1 DAC #2 All 6 DAC channels DAC #3 DAC #4 DAC #5 DAC #6
Audio DSP Serial Interface Formats
The audio DSP port supp orts 7 alternate formats, shown in Figures 4, 5, and 6. These formats are chosen through the DSP Port Mo de Byte with the DDF2/1/0 bits.
Formats 5 and 6 a re single lin e data modes wh ere all DAC chann els are co mbin ed onto a sin gle inpu t
DS188F1 13
CS4226
FORMAT 0, 1, 2:
Format 0: M = 20 Format 1: M = 18 Format 2: M = 16
FORMAT 3:
FORMAT 4:
Note: SCLK shown for DSCK = 0. SCLK inverted for DSCK = 1.
Figure 4. Audio DSP and Auxiliary Port Data Input Formats
FORMAT 0, 1, 2:
Format 0: M = 20 Format 1: M = 18 Format 2: M = 16
FORMAT 3:
LRCK SCLK
SDIN
LRCK SCLK
SDIN MSB LSB
LRCK SCLK SDIN
LRCK
SCLK
SDOUT
LRCK
SCLK
SDOUT MS B LSB
LSB LSBMSB LSBMSB
MSB LS B
LSB LSBMSB LSBMSB
Left Right
Left Right
Left Right
Left Right
Left Right
M SCLKs
M SCLKs
M SCLKs
MSB LSB MSB
MSB LS B
M SCLKs
MSB LSB MSB
FORMAT 5:
FORMAT 6:
(MASTER
MODE
ONLY)
LRCK
SCLK SDIN1
SDOUT1
LRCK SCLK
SDIN1
SDOUT1
FORMAT 4:
Note: SCLK shown for DSCK = 0. SCLK inverted for DSCK = 1.
LRCK
SCLK
SDOUT
Left Right
MSB LS B
Figure 5. Audio DSP Port Data Output Formats
64 SCLKS 64 SCLKS
LSBMSB
DAC #1 DAC #3 DAC #5 DAC #2 DAC #4 DAC #6
20 clks
SDOUT1 SDOUT2 SDOUT1 SDOUT2
20 clks
(out) (out)
LSBMSB
DAC #1
32 clks
SDOUT1
32 clks
LSBMSB LSBMSB LSBMSB LSBMSB LSBMSB MSB
20 clks
20 clks
128 SCLKS 128 SCLKS
32 clks
20 clks 20 clks
LSBMSB
DAC #3
SDOUT2
32 clks
20 clks
LSBMSB DAC #5 32 clks
Figure 6. One data line modes
MSB LS B
20 clks 20 clks
20 clks
LSBMSB
DAC #2
32 clks
SDOUT1
32 clks
DAC #4
32 clks
SDOUT2
32 clks
LSBMSB
LSBMSB DAC #6 32 clks
14 DS188F1
CS4226
and all ADC ch annels are com bined onto a s ingle output. Format 6 is available in Master Mode only. See figure 6 for details.
Auxiliary Audio Port Signals
The auxil iary port pr ovide s an alt ernat e way to in ­put digital audio sig nals into the CS4226, and al­lows the CS4226 to syn chronize the system to an external d igital audio source. This po rt consists of serial clock , data and left /right clock pins named, SCLKAUX, DATAUX and LRCKAUX. The Auxiliary Audio Port inpu t is output on SDOUT1 when the IS bits are set to 1 or 2 in the ADC Control Byte. Additionally, setting IS to 2 routes the stereo ADC outputs to SDOUT2. There is approximately a two frame delay from DATAUX to SDOUT1. When the auxiliary port is used, the frequency of LRCKAUX must equal to the system sample rate, Fs, but no particular pha se relationship is required.
De-emphasis and muting on error conditions can be performed on input data to the auxiliary audio port; this is controlled by the Auxiliary Port Control Byte.
Auxiliary Audio Port Formats
Data input on DATAUX is clocked into the part by SCLKAUX using the format selected in the Auxil­iary Port Mode Byte. The auxiliary audio port sup­ports the same 5 formats as the audio DSP port in multi-data line mode. LRCKAUX is used to indi­cate left and right data samp les, and t he start o f a new sample period. SCLKAUX and LRCKAUX may be output fro m the CS4226, or they may be generated from an external source, as set by the AMS1/0 control bits in the Auxiliary Port Mode Byte.
S/PDIF Receiver
The CS4226 reconfigures its auxiliary digital audio port as an S/PD IF rece iver if CS 2/1/ 0 in the Clock Mode Byte ar e set to be 4, 5 , 6, or 7. In this mode
RX1, RX2, RX3, or RX4 can be chosen as the S/PDIF input source.
The PLL will lock to the requested data source and setting IS1/0 = 1 or 2 in the ADC Control Byte routes the recovered output to SDOUT1 (channel A to left, channel B to right). All 24 received data bits will pass through the part to SDOUT1 except when the serial port is configured with 32 SCLK’s per frame or in Fo rmat 5. For these cases, the 16 or 20 MSB’s respectively will be output.
The error fl ags ar e repo rted i n the Re ceiv er St atus Byte. The LOCK bit in dicate s whether th e PLL is locked to the incoming S/PDIF data. Parity, Bi­phase, or Validity er rors (PAR=1, BIP=1 or V=1) will cause the last valid data sample to be held at the receiver input until the error condition no long­er is pres ent (see H old se ctio n). Mu te o n e xt ende d hold can also be enabled through the Auxiliary Port Control Byte (see Hold section).
Other error flags include confidenc e, CONF, and cyclic redundancy check, CRC. The CONF flag oc­curs when the received data eye opening is less than half a bit period. This indicates that the quality of the tra nsmission link i s poor and does not me et the digital audio interface standards. The CRC flag is updated at the beginning of a channel status block and is onl y valid when the profe ssional for­mat of chan nel status dat a is received. This error indicates whe n the CS4226 calculate d CRC value does not match the CRC byte of the received chan­nel status block.
The OVL/ERR pin will go hi gh t o fla g an err or. It is a latched logical OR of the Parity , Biphas e, Va­lidity, and Lock error fla gs in the Recei ver Status Byte which is reset at the end of each frame. How­ever, Parity, Biphase, or Validity errors can be masked from the pi n by cle aring the PM, BM, and VM bits respectively, of the Input Control Byte.
The first four bytes of the Channel Status block for both channel A and B can be acce ssed in the Re­ceiver C hannel Status Bytes. When the CV bit is
DS188F1 15
CS4226
high, these b ytes are bein g updated and may be in­valid. Additionally, the audio/non-audio, AC­3/MPEG data stream indicator and sampling fre­quency channel status bits may be output to pins 9, 10, 11 and 12, respectively, see Table 4. This is ac­complish ed by setti ng th e CSP bi t to 1 in th e Aux ­iliary Status Output Byte. The FREQ0/1 channel status bit outputs are decoded from the sampling frequency channel status bits after first referencing channel status byt e 0, bit 0 (PRO or consume r bit) which indicates the appropriate location of these bits in the channel status data stream.
The recei ved user bi t is outp ut on the HOLD/R U­BIT pin if the HPC bit in the AUX Port Control Byte is set to 1. It can be sampled with the rising or falling edge of L RCK if the audio DSP port is in Master Mode.
AUDIO Pin 9 0 - Audio data
1 - Non-audio data
AUTODATA Pin 10 0 - No preamble detected in
last 4096 frames 1 - Preamble detected
FREQ0/1 Pin 11/12 00 - 44.1 k Hz
01 - 48 kHz 10 - Reserved 11 - 32 kHz
Table 4. S/PDIF Receiver Status Outputs
is detected, the AUTODATA indicator (pin 10) will go high. If no additional sync codes are detect­ed within the next 4096 frames, the AUTODATA indicator pin will return low until another sync code is detected.

Control Port Signals

The control port is us ed to load all the internal set­tings. The operation of the control port may be completely asynchronous with the audio sample rate. However, to avoid potential interference problems, the control port pins should remain static if no operation is required.
The control port has 2 modes: SPI and I
2
C, with the CS4226 as a slave device. The SPI mode is selected by setting the I by setting the I
2
C/SPI pin low, and I2C is se le cte d
2
C/SPI pin high. The state of this
pin is continuously monitored .
SPI Mode
In SPI mode, C S is the CS4 226 chi p sele ct sig nal, CCLK is the c ontrol port bit cl ock, ( input into t he CS4226 from the microcontroller), CDIN is the in­put data line from the mic rocontroll er, CDOUT is the output dat a li ne to t he mi croco ntr oll er, an d the chip address i s 00 10000. Dat a is c lock ed i n on t he rising edge of CCLK and out on the falling edge.
AC-3/MPEG Auto Detection
For AC-3/MPEG applications, it is important to know whether the incomi ng S/PDIF data strea m i s digital audio or compressed AC-3/MPEG data. This informati on is typically conveyed by settin g channel status bit 1 (audio/non-audio bit), but some AC-3/MPEG sources may not strictly adhere to this convention and the bit may not be properly set. The CS4226 S/PDIF receiver has the capability to auto­matically detect whether the incoming data is a compressed AC-3/MPEG input. This is accom­plished by looking for an AC-3 /MPEG 96-bit sync code consisting of six 16-bit words. The 96-bit sync code consists of: 0x0000, 0x0000, 0x0000, 0x0000, 0xF872, and 0x4E1F. When the sync code
16 DS188F1
Figure 7 shows the control port timing in SPI mode. To write to a register, bring CS
low. The first 7 bits
on CDIN form the ch ip address, and they must be
0010000. The eighth bit is a read/write indicator
), which sho uld be low to write. The next 8
(R/W bits form the Memory Address Pointer (MAP), which is set to the address of the register that is to be updated. T h e next 8 bits a re the data whi ch will be placed into register designated by the MAP. During writes, the CDOUT output stays in the high impedance state. It may be externally pul led high or low with a 47 k
resistor.
The CS4226 has a MAP auto increment capability, enabled by the INCR bit in the MAP register. If INCR is a zero, then the MAP will stay constant for
CS4226
successive reads or writes. If INCR is set to a 1, then MAP will auto increment after each byte is read or written, allowing bloc k reads or writes of successive registers.
To read a register, the MAP has to be set to the cor­rect address by executing a partial write cycle which finishes (CS
high) immediately after the MAP byte. The auto MAP increment bit (INCR) may be set or not, as desired. To begin a read, bring
low, send out the chip address and set the
CS read/write bit (R/W
) high. The next falling edge of CCLK will clock out the MSB of the addressed register (CDOUT will leave the high impedance state). If the MAP auto increment bit is set to 1, the data for succe ssive registers will appear consecu­tively.
I2C Mode
In I2C mode, SDA is a bidirectional data line. Data is clocked into and out of the part by the clock, SCL, with the clock to data re lations hip as show n in Figure 8. There is no CS form the part ial chip address. T he upper 5 bits of
pin. Pins AD0, AD1
the 7 bit address fie ld must be 00100 . To co mmu­nicate with a CS4226, the LSBs of the chip address field, which is the first byte sent to the CS4226, should match th e settings of the AD1, AD 0 pins. The eighth bit of the address bit is the R/W
bit (high for a read, low for a write). The next byte is the Memory Address Pointer (MAP) which selects the register to be read or written. If the operation is a write, the next byte is the data to be written to the register pointed to by the MAP. If the operation is a read, the contents of the register pointed to by the MAP will be output. Setting the auto increment bit in MAP, allows successive reads or writes of con­secutive registe rs. Ea c h byte is separate d by an ac­knowledge bit. I
2
C bus is a regis ter ed t rad emark of
Philips Semiconductors.
Control Port Bit Definitions
All registers can be written and read back, except the DAC Status Report Byt e, ADC Status Report Byte, Receiver Status Byte, and the Receiver Chan­nel Status By tes, which a re read only. Se e the bit definition ta bl es for bit assignment information.
CS
CCLK
CDIN
CDOUT
CHIP
ADDRESS
0010000
MAP = Memory Address Pointer
SDA
SCL
Start
Note 1: If operatio n i s a write, this byte contains the Memor y Address Point er, MAP.
MAP
R/W
Figure 7. Control Port Timing, SPI mode
ADDR
00100
AD1-0
Figure 8. Control Port Timing, I2C Mode
MSB
byte 1
R/W
DATA
LSB
byte n
ACK
CHIP
ADDRESS
0010000
High Impedanc e
Note 1
DATA 1-8
ACK
R/W
DATA 1-8
MSB
ACK
LSB
Stop
MSB
LSB
DS188F1 17
CS4226

Power-up/Reset/Power Down Mode

Upon pow er up, th e us er should hold PDN= 0 unt il
the system’s power supply has stabilized. In this state, the control port is reset to its default settings. When PDN
goes high, the device rem ains i n a low power mode in which the control port is active, but CMOUT will no t supply current . The desired set ­tings shoul d be loade d in whil e k eepi ng th e R S bit set to 1. Normal operation is achieved by setting the RS bit to zero in the Conve rter Control Byte. Once set to 0, the part powers up and an offset calibration occurs. This proc ess lasts approxima te ly 50 ms.
Reset/power down is achieved by lowering the PDN
pin causing the part to enter power down.
Once PDN
goes high, the control port is functional and the desire d settings sh ould be loade d in while keeping th e RS bit se t to 1. The r emainder of t he chip remains in a low power reset state until the RS bit in the Converter Control Byte is set to 0.
The CS4226 wil l also enter a stand- by mode if the master clock sou rce st ops for a ppr oximat ely 10 µs or if the LRCK is not synchronous t o the master clock. The con trol port will retain its current set ­tings when in stand-by mode.

DAC Calibration

Output offs et voltage is minimized by an intern al calibration cycle. A cal ibration will a utomatically occur anytim e the pa rt comes ou t of reset, i nclud­ing the power-up reset, when the master clock source to the part changes by changing the CS or CI bits in the Clock Mode Byte or when the PLL goes out of lock and then re-locks.
Additional calibrations can be implemented by set­ting CAL t o 0 and then to 1.

De-Emphasis

The S/PDIF rec eiver ca n be enab led to p rocess 2 4 bits of received data (20 bits of audio data and four auxiliary bi ts) or process 2 0 bits of audi o data (no auxiliary bits). Setti ng DEM2 4=0 in the Auxi liary Port Control B yt e, wi ll e nab le all 24 rece ived da ta bits to be processed with de-emphasis when de-em­phasis is enabled. When setting DEM24=1, the four auxili ary bits in th e receiver data stream will pass through unchanged and only the 20 audio data bits will be processed.
The CS4226 is capable of digital de-emphasis for 32, 44.1, or 48 kHz sample r ates. Implementat ion of digital de-emphasis require s reconfiguratio n of the digital filter to maintain the filter response shown in Figure 9 at multiple sample rates. The Auxiliary Port Con trol Byte selects the de -emp ha­sis control method . De-emphasis ma y be enabled under hardware control, using the DEM pin (DEM2/1/0=4,5,6), by software control using the DEM bit (DEM2/ 1/0=0,1,2 ,3), or by t he emp hasis bits in the channel status data w hen the S/ P D IF re­ceiver is chosen as the clock source (DEM2/0/1=7). If no frequency information is present, the filter de­faults to 44.1 kHz.
Gain dB
T1=50
µ
s
0dB
The CS4226 can be re-calibrated whenever de­sired. A control bit, CAL, in the Converter Control Byte, is p rovided to initiate a c alibration. T he se-
T2 = 15
-10dB
µ
s
quence is:
1) Set CAL to 1, the CS4226 sets CALP to 1 and
begins to calibrate.
F1 F2
Figure 9. De-emphasis Curve
Frequency
2) CALP will go to 0 when the calibration is com-
pleted.
18 DS188F1
Loading...
+ 42 hidden pages