1 s1 and s4 switch operation – Cirrus Logic CDB5364 User Manual

Page 4

Advertising
background image

4

DS625DB1

CDB5364

3.1.1

S1 and S4 Switch Operation

DIP Switch S1 contains six switches that function as described below.

M1,M0 set the device Speed Mode

0x00 Single Speed Master
0x01 Double Speed Master
0x10 Quad Speed Master
0x11 Slave all speed

DIF1,DIF0 set the Digital Audio Interface Data format

0x00 Left Justified
0x01 I²S
0x10 TDM 2-wire
0x11 TDM 4-wire

TDM1 and TDM0 support both TDM mode and PCM mode.

In TDM mode, TDM1 and TDM0 select two stereo pairs from a TDM stream, convert the data to Left-Jus-
tified PCM format then send the data to the CS8406 S/PDIF transmitter.

0x00 TDM Pair 1 (Channel 1, 2)
0x01 TDM Pair 2 (Channel 3, 4)
0x1x Reserved

In PCM mode, TDM1 and TDM0 select which SDOUT is sent to the CS8406.

0x00 SDOUT1 (Channel 1, 2)
0x01 SDOUT2 (Channel 3, 4)
0x1x Reserved

DIP Switch S4 contains two switches which function as described below.7

MDIV - divides the master clock by 2 when OPEN (HI).
CLKMODE - divides the master clock by 1.5 when OPEN (HI)

Advertising