English
Language : 

CS4216 Datasheet, PDF (23/58 Pages) Cirrus Logic – 16-Bit Stereo Audio Codec
CS4216
per frame, Master sub-mode) reduces the DSP
interrupts in half since the control data is split
from the audio data. This circuit is comprised of
three independent sections which may individu-
ally be eliminated if not needed.
To load control data into the codec, three
HC597’s are utilized. These are both latches that
store the DSP-sent control data, and shift regis-
ters that shift the data into the codec. The codec
uses an inverted SSYNC signal to copy the
latches to the shift registers every frame. In this
diagram the DSP is assumed to have a data bus
bandwidth of at least 24 bits. If the DSP has less
than 24_bits, the three HC597s must be split into
two addresses. Since the HC597 internal latches
are copied to the shift registers, the latches con-
tinually hold the DSP-sent data; therefore, the
DSP only needs to write data to the latches when
a change is desired.
The second section is comprised of an HC595
shift register and latch that is clocked by an in-
verted SCLK The data shifted into the HC595 is
transferred to the HC595’s latch by the SSYNC
signal. This HC595 captures the 8 bits prior to
the SSYNC signal (which is also MF4:CCS) go-
ing high. As shown in Figure 14, and assuming
the MF4:CCS (SSYNC) signal rises at bit 32,
the 8-bits prior to MF4:CCS rising are a copy of
all the important status bits. This allows one shift
register to capture all the important information.
The interrupt pin cannot reliably be used in this
configuration since the interrupt pin is cleared by
reading the control port which occurs asynchro-
SDOUT
43
SDIN 42
1
SSYNC
SCLK
44
DSP
CS4216
SM4
VD+
MF1:CDOUT
40
MF2:CDIN
39
MF4:CCS
36
MF3:CCLK
35
MF5:INT
38
RESET
2
MF6:F1
34
MF7:F2
31
30
MF8:F3
Micro-
Controller
Serial
Port
IRQ
General
Purpose
Port
Pins
Figure 15. SM4 - Microcontroller Interface
DS83F2
43
SDOUT
SDIN 42
SSYNC
1
44
SCLK
CS4216
SM4
32 BPF
35
MF3:CCLK
MF4:CCS
36
38
MF5:INT
40
MF1:CDOUT
39
MF2:CDIN
RESET
2
34
MF6:F1
31
MF7:F2
30
MF8:F3
DSP
VD+
Hard Wired or
DIP Switch
selectable
Figure 16. SM4 - Minimum DSP Interface
23