English
Language : 

WM8959 Datasheet, PDF (110/155 Pages) Wolfson Microelectronics plc – Mobile Multimedia DAC with Dual-Mode Class AB/D Speaker Driver
WM8959
Pre-Production
PLL
The integrated PLL can be used to generate SYSCLK for the WM8959 from a wide range of MCLK
reference frequencies. The PLL is enabled by the PLL_ENA register bit. If required, the input
reference clock can be divided by 2 by setting the register bit PRESCALE.
The PLL frequency ratio R is equal to f2/f1 (see Figure 78). This ratio is the real number represented
by register fields PLLN and PLLK, where PLLN is an integer (LSB = 1) and PLLK is the fractional
portion of the number (MSB = 0.5). The fractional portion is only valid when enabled by the field
SDM. De-selection of fractional mode results in lower power consumption.
For PLL stability, input frequencies and divisions must be chosen so that 5 ≤ PLLN ≤ 13. Best
performance is achieved for 7 ≤ N ≤9. Also, the PLL performs best when f2 is set between 90MHz
and 100MHz.
If PLLK is regarded as a 16-bit integer (instead of a fractional quantity), then PLLN and PLLK may be
determined as follows:
• PLLN = int R
• PLLK = int (216 (R - PLLN))
The PLL Control register settings are described in Table 64.
REGISTER BIT
ADDRESS
R2 (02h)
15
R60 (3Ch)
7
6
3:0
R61 (3Dh)
7:0
R62 (3Eh)
7:0
Table 64 PLL Control
LABEL
PLL_ENA
(rw)
SDM
PRESCALE
PLLN [3:0]
PLLK [15:8]
PLLK [7:0]
DEFAULT
DESCRIPTION
0
PLL Enable
0 = disabled
1 = enabled
0
Enable PLL Integer Mode
0 = Integer mode
1 = Fractional mode
0b
Divide MCLK by 2 at PLL input
0 = Divide by 1
1 = Divide by 2
8h
Integer (N) part of PLL frequency ratio.
31h
Fractional (K) part of PLL frequency ratio.
(Most significant bits)
26h
Fractional (K) part of PLL frequency ratio.
(Least significant bits)
EXAMPLE PLL CALCULATION
To generate 12.288MHz SYSCLK from a 12MHz reference clock:
There is a fixed divide by 4 at the PLL output (see Figure 78) followed by a selectable divide by 2 in
the same path. PLL output f2 should be set in the range 90MHz - 100MHz. Enabling the divide by 2
(MCLK_DIV = 10b) sets the required f2 = 4 x 2 x 12.288MHz = 98.304MHz.
There is a selectable pre-scale (divide MCLK by 2) at the PLL input (f1 - see Figure 75). The PLL
frequency ratio f2/f1 must be set in the range 5 - 13. Disabling the MCLK pre-scale (PRESCALE = 0b)
sets the required ratio f2/f1 = 8.192.
w
PP, May 2008, Rev 3.1
110