
CS4340
DS297F3
17
The internal serial clock is utilized when additional de-emphasis control is required. Operation in the Internal
Serial Clock mode is identical to operation with an external SCLK synchronized with LRCK; however, External
SCLK mode is recommended for system clocking applications.
4.2.2 External Serial Clock Mode
The device will enter the External Serial Clock Mode whenever 16 low to high transitions are detected on the
SCLK pin during any phase of the LRCK period. The device will revert to Internal Serial Clock Mode if no low
to high transitions are detected on the SCLK pin for 2 consecutive periods of LRCK.
4.3
Digital Interface Format
The device will accept audio samples in several digital interface formats as illustrated in Table
5. The desired format
is selected via the DIF1 and DIF0 pins. For an illustration of the required relationship between LRCK, SCLK and
SDIN, see Figures
15 through
18.
Input
Digital Interface Format Selection
Internal
MCLK/LRCK
Ratio
I2S up to 24
Bits
Left Justified 24
Bits
Right Justified
24 Bits
Right Justified
16 Bits
SCLK/LRCK
Ratio
512, 256, 128
X-
-
X
32
384, 192
XX
X
48
512, 256, 128
-X
X
-
64
Table 4. Internal SCLK/LRCK Ratio
DIF1
DIF0
DESCRIPTION
FORMAT
FIGURE
00
I2S, up to 24-bit data
01
Left Justified, up to 24-bit data
10
Right Justified, 24-bit Data
11
Right Justified, 16-bit Data
Table 5. Digital Interface Format - DIF1 and DIF0
LR C K
SC L K
Left C ha nnel
R ig h t C ha n nel
SDIN
+3 +2 +1
+5 +4
MSB
-1 -2 -3 -4 -5
+3 +2 +1
+5 +4
-1 -2 -3 -4
LSB
MSB
LSB
Figure 15. CS4340 Format 0 - I2S up to 24-Bit Data
LR C K
SC L K
Left C ha nnel
R ig h t C ha n nel
SDIN
+3 +2 +1
+5 +4
MSB
-1 -2 -3 -4 -5
+3 +2 +1
+5 +4
-1 -2 -3 -4
LSB
MSB
LSB
Figure 16. CS4340 Format 1 - Left Justified up to 24-Bit Data