English
Language : 

CS4216 Datasheet, PDF (19/58 Pages) Cirrus Logic – 16-Bit Stereo Audio Codec
CS4216
SERIAL MODE 4, SM4
Serial mode 4 is enabled by setting
SMODE3 = 1. Both Master and Slave sub-
modes are available and are selected by setting
the SMODE2 and SMODE1 pins as shown in
Table 6. In Master sub-mode, the phase relation-
ship between SCLK/SSYNC and CLKIN is
controlled to minimize digital noise coupling
into the analog section. Therefore, Master sub-
mode may yield slightly better noise
performance than Slave sub-mode. In Slave sub-
mode, SCLK and SSYNC must be synchronous
to the master clock.
In serial mode 4, SM4, the CLKIN frequency
must be 256 times the highest sample frequency
needed. Also, SM4 has five attenuation bits for
each D/A output channel. SM4 differs from SM3
in that SM4 splits the audio data from the con-
trol data with the control data input on an
independent serial port. This reduces the audio
serial bus bandwidth in half, providing an easier
interface to low-cost DSPs. The audio serial port
sub-frame is illustrated in Figure 13 for SM4.
Interrupt Pin - MF5:INT
Serial Mode 4 also defines the multifunction pin
MF5:INT as an open-collector interrupt pin. In
SM4, this pin requires a pullup resistor and will
go low when the ADV bit or DI1 pin change, or
a rising edge on the LCL or RCL bits, or by
exiting an SCLK out of range condition (Er-
ror = 3). The interrupt may be masked by setting
the MSK bit in the control serial data port.
FRAME n
64 SCLK Periods
FRAME (n+1)
FRAME (n+2)
FRAME (n+3)
DATA
Sub-frame 1
Word A
Word B
Sub-frame 1
Word A
Word B
Sub-frame 1
Word A
Word B
Sub-frame 1
Word A
Word B
SSYNC
MF8: MF7: Sub-
SFS2 SFS1 frame
0
01
Figure 10. SM3-Slave - 64 BPF; MF1:F1, MF2:F2 = 00
DATA
SSYNC
FRAME n
128 SCLK Periods
FRAME (n+1)
FRAME (n+2)
Sub-frame 1
Word A
Word B
Sub-frame 2
Word A
Word B
Sub-frame 1
Word A
Word B
Sub-frame 2
Word A
Word B
Sub-frame 1
Word A
Word B
MF8: MF7: Sub-
SFS2 SFS1 frame
0
01
0
12
Figure 11. SM3-Slave - 128 BPF; MF1:F1, MF2:F2 = 01
DATA
FRAME n
256 SCLK Periods
FRAME (n+1)
Sub-frame 1
Sub-frame 2
Sub-fram e 3
W ord A
W ord B W ord A
W ord B W ord A W ord B
Sub-frame 4
Sub-frame 1
Word A
W ord B W ord A
W ord B
SSYNC
Figure 12. SM3-Slave - 256 BPF; MF1:F1, MF2:F2 = 10
MF8: MF7: Sub-
SFS2 SFS1 frame
0
01
0
12
1
03
1
14
DS83F2
19