English
Language : 

CS4227 Datasheet, PDF (12/36 Pages) Cirrus Logic – Six Channel, 20-Bit Codec
CS4227
2. FUNCTIONAL DESCRIPTION
2.1 Overview
The CS4227 has 2 channels of 20-bit analog-to-
digital conversion and 6 channels of 20-bit digital-
to-analog conversion. A mono 20-bit ADC is also
provided. All ADCs and DACs are delta-sigma
converters. The stereo ADC inputs have adjustable
input gain, while the DAC outputs have adjustable
output attenuation.
Digital audio data received by the DACs and trans-
mitted from the ADCs is communicated over sepa-
rate serial ports, allowing concurrent writing to and
reading from the device. The CS4227 functions are
controlled via a serial microcontroller interface.
Figure 1 shows the recommended connection dia-
gram for the CS4227.
2.2 Analog Inputs
2.2.1 Line Level Inputs
AIN1R, AIN1L, AIN2R, AIN2L, AIN3R, AIN3L
and AINAUX are the line level input pins (See Fig-
ure 5). These pins are internally biased to the
CMOUT voltage (nominally 2.3 V). A 10 µF DC
blocking capacitor allows signals centered around
0 V to be input. Figure 6 shows an optional dual op
amp buffer which combines level shifting with a
gain of 0.5 to attenuate the standard line level of
2 Vrms 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 5 may be omit-
ted. Any remaining DC offset will be removed by
the internal high-pass filters.
Selection of the stereo input pair for the 20-bit
ADC's is accomplished by setting the AIS1/0 bits,
which are accessible in the ADC Control Byte. On-
chip anti-aliasing filters follow the input mux, pro-
viding anti-aliasing for all input channels.
100 pF
3.3 µF
Line In
20 k
Right
Example
Op-Amps are
MC34074 or
MC33078
0.47 µF
10 k
-
+
5k
AINxR
CMOUT
3.3 µF
Line In
20 k
+
-
Left
10 k
AINxL
100 pF
Figure 6. Optional Line Intput Buffer
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 the table below. In differential mode, the
full scale input level is 2 Vrms.
Single-ended
AIN3L
AIN3R
AIN2L
AIN2R
AIN1L
AIN1R
Pin #
Pin 10
Pin 9
Pin 11
Pin 12
Pin 14
Pin 13
Differential Inputs
AINL+
unused
AINL-
AINR-
unused
AINR+
Table 1. Single-ended vs Differential Input Pin
Assignments
The analog signal is input to the mono ADC via the
AINAUX pin.
Independent Muting of both the stereo ADC's and
the mono ADC is possible through the ADC Con-
trol Byte (#11) with the MUTR, MUTL and
MUTM bits.
12
DS281PP2