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 fre-
quencies may be used with the corresponding
sample frequencies being CLKIN/N. A change in
sample rate automatically initiates a calibration
cycle.
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 CS4218.
These two signals must be externally derived
from CLKIN. Since the CS4218 has no control
over the phase relationship of SSYNC and
SCLK to CLKIN, the noise performance in
Slave sub-mode may be slightly worse than
when using Master sub-mode. The CS4218 inter-
nally sets the sample frequency by sensing the
ratio of SCLK to CLKIN; therefore, for a given
CLKIN frequency, the sample frequency is se-
lected by changing the SCLK frequency. A
change in sample rate automatically initiates a
calibration cycle. Table 9 shows the sample rates
generated with two example clocks.
SM4-Slave allows up to four codecs to occupy
the same audio serial port. Table 8 lists the pin
configurations required to set the serial audio
port up for 32, 64, or 128 bits-per-frame (BPF).
Since each codec requires one sub-frame of
32 bits, 64 bits-per-frame allows up to two
codecs to occupy the same audio serial port, and
128 bits-per-frame allows up to four codecs to
occupy the same audio serial port. When set up
for more than one codec on the bus, other pins
are needed to select the particular time slot (TS)
associated with each codec. MF8:SFS2 selects
the time slot when in 64 BPF mode, and
MF8:SFS2 and MF7:SFS1 select one of four
time slots when in 128 bits-per-frame mode. Ta-
ble 8 lists the decoding for time slot selection.
Fs (kHz)
with CLKIN
12.288
MHz
48.00
32.00
24.00
19.20
16.00
12.00
9.60
8.00
MF6:
F1
MF7:
F2
MF8:
F3
N
11.2896
MHz
44.10
29.40
22.05
17.64
14.70
11.025
8.82
7.35
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
256
384
512
640
768
1024
1280
1536
Table 7. SM4-Master, Fs Select
MF6:
F1
MF7:
SFS1
MF8:
SFS2
Bits Per
Frame
(BPF)
32
Time
Slot
(TS)
1
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
0
1
1
Reserved
64
64
128
128
128
128
1
2
1
2
3
4
Table 8. SM4-Slave, Audio Port BPF & TS Select
SCLK to CLKIN Ratio
BPF
BPF
128
64
2
4
3
6
4
8
5
10
6
12
8
16
10
20
12
24
Fs (kHz)
with CLKIN with CLKIN
12.288 MHz 11.2896 MHz
48.00
32.00
24.00
19.20
16.00
12.00
9.60
8.00
Fs (kHz)
BPF
32
8
12
16
20
24
32
40
48
44.10
29.40
22.05
17.64
14.70
11.025
8.82
7.35
Table 9. SM4-Slave, Fs Select.
CS4218
DS135F1
23