3 serial data formats, Figure 11. serial data format 0 (i2s), Figure 12. serial data format 1 (left justified) – Cirrus Logic CS4202 User Manual

Page 43: Cs4202

Advertising
background image

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 Channel

Right Channel

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 Channel

Right Channel

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 Channel

SDATA

6 5 4 3 2 1 0

9 8 7

15 14 13 12 11 10

1 0

6 5 4 3 2 1 0

9 8 7

15 14 13 12 11 10

17 16

17 16

19 18

19 18

Figure 13. Serial Data Format 2 (Right Justified, 20-bit data)

LRCK

SCLK

Left Channel

Right Channel

SDATA

6

5

4

3

2

1

0

9

8 7

15 14 13 12 11 10

6

5

4

3 2

1

0

9

8

7

15 14 13 12 11 10

Figure 14. Serial Data Format 3 (Right Justified, 16-bit data)

Advertising