WM8580
Production Data
REGISTER
ADDRESS
BIT
LABEL
DEFAULT
DESCRIPTION
5:4
7:6
Reserved
CHSTMODE
[1:0]
-
-
Reserved for additional de-emphasis modes.
00 = Only valid mode for consumer applications.
R45
SPDRXCHAN 2
2Dh
7:0
CATCODE
[7:0]
-
Category Code. Refer to S/PDIF specification for details.
00h indicates “general” mode.
R46
3:0
5:4
SRCNUM
[3:0]
-
-
Indicates S/PDIF source number.
SPDRXCHAN 3
2Eh
CHNUM1[1:0]
Channel number for sub-frame 1.
00 = Take no account of channel number (channel 1 defaults to
left DAC)
01 = channel 1 to left channel
10 = channel 1 to right channel
Channel number for sub-frame 2.
7:6
CHNUM2[1:0]
00 = Take no account of channel number (channel 2 defaults to
left DAC)
01 = channel 2 to left channel
10 = channel 2 to right channel
Sampling Frequency Indicated
Refer to S/PDIF specification IEC60958-3 for details.
0001 = Sampling Frequency not indicated.
Clock Accuracy of received clock.
00 = Level II
R47
SPDRXCHAN 4
2Fh
3:0
5:4
FREQ[3:0]
-
-
CLKACU[1:0]
01 = Level I
10 = Level III
11 = Interface frame rate not matched to sampling frequency.
Maximum Audio sample word length
0 = 20 bits
R48
SPDRXCHAN 5
30h
0
MAXWL
-
-
1 = 24 bits
3:1
RXWL[2:0]
Audio Sample Word Length.
000: Word Length Not Indicated
RXWL[2:0]
MAXWL==1
MAXWL==
0
001
010
100
101
110
20 bits
22 bits
23 bits
24 bits
21 bits
16 bits
18 bits
19 bits
20 bits
17 bits
All other combinations are reserved and may give erroneous
operation. Data will be truncated internally when these bits are set
unless WL_MASK is set.
7:4
0
ORGSAMP
[3:0]
-
-
Original Sampling Frequency. See S/PDIF specification for details.
0000 = original sampling frequency not indicated
Linear PCM Identification
R49
SPDSTAT
31h
AUDIO_N
0 = Data word represents audio PCM samples.
1 = Data word does not represent audio PCM samples.
1
PCM_N
-
Indicates that non-audio code (defined in IEC-61937) has been
detected.
0 = Sync code not detected.
1 = Sync code detected – received data is not audio PCM.
PD Rev 4.3 August 2007
88
w