User Manual
CS4202
DS549PP2 43
5.3 Serial Data Formats
In order to support a wide variety of serial audio
DACs, the
CS4202
can transmit serial data in four
different formats. The desired format is selected
through the SDF[1:0] bits in the
Serial Port Control
Register (Index 6Ah)
. All serial ports use the same
serial data format when enabled. In all cases, LR-
CLK will be synchronous with Fs, and SCLK will
be 64 Fs (BIT_CLK/4). Serial data is transitioned by
the
CS4202
on the falling edge of SCLK and latched
by the DACs on the next rising edge. Serial data is
shifted out MSB first in all supported formats, but
LRCLK polarity as well as data justification, align-
ment, and resolution vary. Table 14 shows the prin-
cipal characteristics of each serial format.
SDF[1:0]
LRCLK
Polarity
Data
Justification
Data Alignment
(MSB vs. LRCLK)
Data
Resolution
Timing
Diagram
Recommended
DAC
0 0 negative left justified 1 SCLK delayed 20-bit Figure 11 CS4334
0 1 positive left justified not delayed 20-bit Figure 12 CS4335
1 0 positive right justified not delayed 20-bit Figure 13 CS4337
1 1 positive right justified not delayed 16-bit Figure 14 CS4338
Table 14. Serial Data Formats and Compatible DACs for the CS4202
LRCK
SCLK
Left Ch annel
Righ t C ha nnel
SDATA +3 +2 +1 LSB+5 +4
MSB-1-2-3-4-5
+3 +2 +1 LSB+5 +4
MSB-1-2-3-4
Figure 11. Serial Data Format 0 (I
2
S)
LRCK
SCLK
Left Ch annel
Righ t C ha nnel
SDATA +3 +2 +1 LSB+5 +4
MSB-1 -2 -3 -4 -5
+3 +2 +1 LSB+5 +4
MSB-1 -2 -3 -4
Figure 12. Serial Data Format 1 (Left Justified)
LRCK
SCLK
Left Channel
Right Ch ann el
SDATA
6543210987
15 14 13 12 11 10
10
6543210987
15 14 13 12 11 10
17 16 17 1619 18 19 18
Figure 13. Serial Data Format 2 (Right Justified, 20-bit data)
LRCK
SCLK
Left Channel
Right Channel
SDAT A
6543210987
15 14 13 12 11 10
6543210987
15 14 13 12 11 10
Figure 14. Serial Data Format 3 (Right Justified, 16-bit data)