There was an error while loading. Please reload this page.
Wondermedia processors have several PLL's driven from an oscillator. These provide clocks for the arm processor, ahb bus and peripherals.
To calculate the PLL frequency on the WM8505, use the following formula:
pre_div = (reg_val & 0x100) ? 1 : 2
freq = (OSC / pre_div) * (reg_val & 0x1F)
To calculate the PLL frequency on the WM8650, use the following formula:
freq = (OSC * (reg_val & 0x3FF)) / (((reg_val >> 10) & 7) * ((1 << ((reg_val >> 13) & 3)))
To calculate the PLL frequency on the WM8750, use the following formula:
freq = (OSC * ((reg_val >> 16) & 0xFF)) / ((((reg_val >> 8) & 1) + 1) * (1 << (reg_val & 7)))
To calculate the PLL frequency on the WM8850, use the following formula:
freq = (OSC * 2 * (((reg_val >> 16) & 0xFF) + 1)) / ((((reg_val >> 8) & 1) + 1) * (1 << (reg_val & 7)))