English
Language : 

CS4216 Datasheet, PDF (20/58 Pages) Cirrus Logic – 16-Bit Stereo Audio Codec
CS4216
MF5:INT is reset by reading the control serial
port.
Master Sub-Mode (SM4)
Master sub-mode configures SSYNC and SCLK
as outputs from the CS4216. During power
down, SSYNC and SCLK are driven high im-
pedance, and during reset they both are driven
low. There are two SM4 Master sub-modes. One
allows 32 bits per frame and the other allows 64
bits per frame. As shown in Table 6, the
SMODE1 and SMODE2 pins select the particu-
lar Master sub-mode (as well as the Slave
sub-mode). When SMODE1 is set to zero,
SMODE2 selects either Master sub-mode with
32-bit frames, or Slave sub-mode.
SMODE1,SMODE2 = 00 selects Master sub-
mode where a frame = sub-frame = 32 bits. This
sub-mode allows only one codec on the audio
serial bus, with the first 16 bits being the left
channel and the second 16 bits being the right
channel. The Applications of SM4 section con-
tains more information on low-cost
implementations of this sub-mode.
SMODE1 = 1 selects Master sub-mode with a
frame width of 64 bits. This sub-mode allows up
to two codecs to occupy the same bus. SMODE2
is now used to select the particular time slot. If
SMODE2 = 0 the codec selects time slot 1,
which is the first 32 bits. If SMODE2 = 1 the
codec selects time slot 2, which is the second
32 bits.
In Master sub-mode, multifunction pins MF6:F1,
MF7:F2, and MF8:F3 select the sample fre-
quency as shown in Table 7. This table indicates
how to obtain standard audio sample frequencies
given one of two CLKIN frequencies:
12.288 MHz or 11.2896 MHz. Other CLKIN
frequencies may be used with the corresponding
sample frequencies being CLKIN/N. The codec
must be reset when changing sample frequencies
to allow a new calibration to occur.
SMODE1
0
0
1
1
SMODE2
0
1
0
1
SM4, Sub-Mode
Master, 32 BPF
Slave, 128/64/32 BPF
Master, 64 BPF, TS1
Master, 64 BPF, TS2
Table 6. SM4 Sub-Modes.
Slave Sub-Mode (SM4)
In SM4, Slave sub-mode is selected by setting
SMODE1,SMODE2 = 01. This mode configures
SSYNC and SCLK as inputs to the CS4216.
These two signals must be externally derived
from CLKIN. Since the CS4216 has no control
over the phase relationship of SSYNC and
(m aster)
SSYNC
(slave)
SCLK
Sub-Frame
SDOUT
ADC - Right Word
SDIN
DAC - Right Word
20
ADC - Left Word
ADC - Right W ord
DAC - Left Word
DAC - Right Word
Figure 13. SM4-Audio Serial Port, 32 BPF
ADC - Left Word
DAC - Left Word
DS83F2