2 external serial clock mode, 3 digital interface format, Figure 15. cs4340 format 0 - i2s up to 24-bit data – Cirrus Logic CS4340 User Manual
Page 17: Figure 15. cs4340 format 0 - i, Cs4340
![background image](/manuals/466277/17/background.png)
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
I
2
S 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
X
X
X
X
48
512, 256, 128
-
X
X
-
64
Table 4. Internal SCLK/LRCK Ratio
DIF1
DIF0
DESCRIPTION
FORMAT
FIGURE
0
0
I
2
S, up to 24-bit data
0
0
1
Left Justified, up to 24-bit data
1
1
0
Right Justified, 24-bit Data
2
1
1
Right Justified, 16-bit Data
3
Table 5. Digital Interface Format - DIF1 and DIF0
LR C K
S C L K
Left C ha nnel
R ig h t C ha n nel
SDIN
+3 +2 +1
+5 +4
M SB
-1 -2 -3 -4 -5
+3 +2 +1
+5 +4
-1 -2 -3 -4
LSB
M SB
LSB
Figure 15. CS4340 Format 0 - I
2
S up to 24-Bit Data
LR C K
S C L K
Left C ha nnel
R ig h t C ha n nel
SDIN
+3 +2 +1
+5 +4
M SB
-1 -2 -3 -4 -5
+3 +2 +1
+5 +4
-1 -2 -3 -4
LSB
M SB
LSB
Figure 16. CS4340 Format 1 - Left Justified up to 24-Bit Data