English
Language : 

CS4218 Datasheet, PDF (17/44 Pages) Cirrus Logic – 16-Bit Stereo Audio Codec
SM3 and SM5 Subframe Bit Definitions for SDIN
Bit(s)
Symbol Description
1-16
DAC-LEFT
Audio Data, DAC Left
2’s Complement data,
MSB first (Bit 1 = MSB)
17-21
unused Unused, write with 0’s
22
MUTE Mute DAC Outputs
0 = Outputs ON
1 = Outputs MUTED
23
ISL
Input Mux, Left Select
0 = LIN1
1 = LIN2
24
ISR
Input Mux, Right Select
0 = RIN1
1 = RIN2
25-28
LG3 - LG0
Left Input Gain
1.5dB Increments.
0000 = No gain (0dB)
1111 = 22.5 dB gain
29-32
RG3 - RG0
Right Input Gain
1.5dB Increments.
0000 = No gain (0dB)
1111 = 22.5 dB gain
SM3 and SM5 Subframe Bit Definitions for SDOUT
Bit(s)
Symbol Description
1-16
ADC-LEFT
Audio Data, ADC Left
2’s Complement data,
MSB first (Bit 1 = MSB)
17-21
reserved These bits can be 0 or 1
22
23
24
25-28
ADV
LCL
RCL
ER3 - ER0
ADC Valid Data
0 = Invalid ADC data
1 = Valid ADC data
ADC Left Clipping
0 = Normal
1 = Clipping
ADC Right Clipping
0 = Normal
1 = Clipping
Error Word
0000 = Normal, no error
0001 = Input Sub-Frame
Bit 21 Set.
Control data is
ignored.
0010 = Sync Pulse Error
Outputs muted.
0011 = Soft PowerDown
Outputs muted.
CS4218
Bit(s)
33-48
49,50
51 - 55
56 - 60
61
62
63,64
Symbol
DAC-RIGHT
unused
LA4 - LA0
RA4 - RA0
DO1
DO2
Description
Audio Data, DAC Right
2’s Complement data,
MSB first (Bit 33 = MSB)
Unused, write with 0’s
Left Output Attenuation
1.5dB Increments.
00000 = no atten. (0dB)
11111 = 46.5dB atten.
Right Output Attenuation
1.5dB Increments.
00000 = no atten. (0dB)
11111 = 46.5dB atten.
Digital Output 1
0 = Output LOW
1 = Output HIGH
Digital Output 2
0 = Output LOW
1 = Output HIGH
unused
Unused, write with 0’s
Bit(s)
29-32
33-48
49-60
61
62
63*
Symbol
VER3-VER0
ADC-RIGHT
reserved
Description
CS4218 Version Number
0000 = Rev A
1000 = Rev B and later
Audio Data, ADC Right
2’s Complement data,
MSB first (Bit 33 = MSB)
These bits can be 0 or 1
DI1
Digital Input 1
0 = Input LOW
1 = Input HIGH
DI2
Digital Input 2
0 = Input LOW
1 = Input HIGH
DI3
Digital Input 3
0 = Input LOW
1 = Input HIGH
* SM3-S sub-modes only
64
unused
don’t care
Figure 13. SM3 / SM5 Subframe, Bit definitions
DS135F1
17