WM8804
Production Data
The specified f2 frequencies that must be configured using the PLL_N and PLL_K register values for
reception of specific S/PDIF sample rates are as follows:
• Mode 1 (176.4/192kHz sample rate): f2 = 98.304MHz
• Modes 2/3/4 (32/44.1/48/88.2/96kHz sample rates): f2 = 94.3104MHz
The FREQMODE[1:0] bits are automatically controlled by the S/PDIF receiver when the receiver is
enabled and do not need to be configured in any particular initial state by the user before the S/PDIF
receiver is enabled.
Refer to Table 27 and Table 28 for details of MCLKDIV and CLKOUTDIV configuration when the
S/PDIF receiver is enabled.
The PLL register settings are configured by default to allow 32/44.1/48/88.2/96kHz (modes 2/3/4)
sample rate S/PDIF receiver operation using a 12MHz crystal clock. The PLL register settings must
be updated if:
• Any crystal clock frequency other than 12MHz is used.
OR
• A S/PDIF stream with 192kHz sample rate (mode 1) is detected.
In either case, reprogramming of the PLL_N and PLL_K values (and the PRESCALE value,
depending on the crystal frequency) is necessary.
Refer to Table 31 for details of a number of recommended PLL configurations. Many other
configurations are possible; please refer to PLL Configuration section for details regarding how to
calculate alternative settings.
OSC
CLK
(MHz)
11.2896
11.2896
12
12
12.288
12.288
19.2
19.2
24
24
27
27
PRE-
SCALE
0
0
0
0
0
0
1
1
1
1
1
1
S/PDIF RECEIVER
SAMPLE RATE(S)
(kHz)
F1
F2
R
(MHz) (MHz)
32 / 44.1 / 48 / 88.2 / 96
192
32 / 44.1 / 48 / 88.2 / 96
192
32 / 44.1 / 48 / 88.2 / 96
192
32 / 44.1 / 48 / 88.2 / 96
192
32 / 44.1 / 48 / 88.2 / 96
192
32 / 44.1 / 48 / 88.2 / 96
192
11.2896 94.3104 8.3537
11.2896 98.304 8.7075
12 94.3104 7.8592
12 98.304 8.192
12.288 94.3104 7.675
12.288 98.304 8
9.6 94.3104 9.824
9.6 98.304 10.24
12 94.3104 7.8592
12 98.304 8.192
13.5 94.3104 6.986
13.5 98.304 7.2818
Table 31 S/PDIF Receive Mode PLL Initial Configuration Examples
PLL_N
(Hex)
8
8
7
8
7
8
9
A
7
8
6
7
PLL_K
(Hex)
COMMENT
16A3B3
2D4766
36FD21
C49BA
2B3333
0
346C6A
F5C28
36FD21
C49BA
3F19E5
1208A5
Set N, K
Set N, K
Default Setting
Set N, K
Set K
Set N, K
Set Prescale, N, K
Set Prescale, N, K
Set Prescale
Set Prescale, N, K
Set Prescale, N, K
Set Prescale, K
The recommended configuration sequences are as follows:
TO INITIALLY CONFIGURE THE SYSTEM FOR S/PDIF RECEIVER STARTUP:
1. Write appropriate calculated values (relative to oscillator frequency) to PRESCALE,
PLL_N and PLL_K registers for 32/44.1/48/88.2/96kHz (modes 2/3/4) S/PDIF
receiver sample rate operation.
2. Enable PLL by clearing PLLPD bit.
3. Enable S/PDIF receiver by clearing SPDIFRXPD bit.
4. Read S/PDIF Status Register REC_FREQ[1:0] bits to identify recovered S/PDIF
sample frequency and clocking mode.
w
PD Rev 4.1 September 2007
28