ZHCSIA0A May 2018 – November 2018 TAS3251
PRODUCTION DATA.
When the PLL is enabled and D = 0000, the following conditions must be satisfied:
When the PLL is enabled and D ≠ 0000, the following conditions must be satisfied:
When the PLL is enabled,
Example: MCLK = 12 MHz and fS = 44.1 kHz, (N=2048)
Select P = 1, R = 1, K = 7.5264, which results in J = 7, D = 5264
Example: MCLK = 12 MHz and fS = 48.0 kHz, (N=2048)
Select P = 1, R = 1, K = 8.192, which results in J = 8, D = 1920
Values are written to the registers in Table 5.
DIVIDER | FUNCTION | BITS |
---|---|---|
PLLE | PLL enable | P0-R4, [0] |
PPDV | PLL P | P0-R20, [3:0] |
PJDV | PLL J | P0-R21, [5:0] |
PDDV | PLL D | P0-R22, [5:0] |
P0-R23, [7:0] | ||
PRDV | PLL R | P0-R24, [3:0] |
EQUATIONS | DESCRIPTION |
---|---|
fS (kHz) | Sampling frequency |
RMCLK | Ratio between sampling frequency and MCLK frequency (MCLK frequency = RMCLK x sampling frequency) |
MCLK (MHz) | System master clock frequency at MCLK input (pin 20) |
PLL VCO (MHz) | PLL VCO frequency as PLLCK in Figure 22 |
P | One of the PLL coefficients in Equation 1 |
PLL REF (MHz) | Internal reference clock frequency which is produced by MCLK / P |
M = K × R | The final PLL multiplication factor computed from K and R as described in Equation 1 |
K = J.D | One of the PLL coefficients in Equation 1 |
R | One of the PLL coefficients in Equation 1 |
PLL fS | Ratio between fS and PLL VCO frequency (PLL VCO / fS) |
DSP fS | Ratio between operating clock rate and fS (PLL fS / NMAC) |
NMAC | The clock divider value in Table 4 |
DSP CLK (MHz) | The operating frequency as DSPCK in Figure 22 |
MOD fS | Ratio between DAC operating clock frequency and fS (PLL fS / NDAC) |
MOD f (kHz) | DAC operating frequency as DACCK in |
NDAC | DAC clock divider value in Table 4 |
DOSR | OSR clock divider value in Table 4 for generating OSRCK in Figure 22. DOSR must be chosen so that MOD fS / DOSR = 16 for correct operation. |
NCP | NCP (negative charge pump) clock divider value in Table 4 |
CP f | Negative charge pump clock frequency (fS × MOD fS / NCP) |
% Error | Percentage of error between PLL VCO / PLL fS and fS (mismatch error).
|
The previous equations explain how to calculate all necessary coefficients and controls to configure the PLL. Table 7 provides for easy reference to the recommended clock divider settings for the PLL as a Master Clock.
fS
(kHz) |
RMCLK | MCLK
(MHz) |
PLL VCO
(MHz) |
P | PLL REF
(MHz) |
M = K×R | K = J×D | R | PLL fS | DSP fS | NMAC | DSP CLK
(MHz) |
MOD fS | MOD f
(kHz) |
NDAC | DOSR | % ERROR | NCP | CP f
(kHz) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8 | 128 | 1.024 | 98.304 | 1 | 1.024 | 96 | 48 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 |
192 | 1.536 | 98.304 | 1 | 1.536 | 64 | 32 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
256 | 2.048 | 98.304 | 1 | 2.048 | 48 | 48 | 1 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
384 | 3.072 | 98.304 | 3 | 1.024 | 96 | 48 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
512 | 4.096 | 98.304 | 3 | 1.365 | 72 | 36 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
768 | 6.144 | 98.304 | 3 | 2.048 | 48 | 48 | 1 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
1024 | 8.192 | 98.304 | 3 | 2.731 | 36 | 36 | 1 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
1152 | 9.216 | 98.304 | 9 | 1.024 | 96 | 48 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
1536 | 12.288 | 98.304 | 9 | 1.365 | 72 | 36 | 2 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
2048 | 16.384 | 98.304 | 9 | 1.82 | 54 | 54 | 1 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
3072 | 24.576 | 98.304 | 9 | 2.731 | 36 | 36 | 1 | 12288 | 1024 | 12 | 8.192 | 768 | 6144 | 16 | 48 | 0 | 4 | 1536 | |
11.025 | 128 | 1.4112 | 90.3168 | 1 | 1.411 | 64 | 32 | 2 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 |
192 | 2.1168 | 90.3168 | 3 | 0.706 | 128 | 32 | 4 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
256 | 2.8224 | 90.3168 | 1 | 2.822 | 32 | 32 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
384 | 4.2336 | 90.3168 | 3 | 1.411 | 64 | 32 | 2 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
512 | 5.6448 | 90.3168 | 3 | 1.882 | 48 | 48 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
768 | 8.4672 | 90.3168 | 3 | 2.822 | 32 | 32 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
1024 | 11.2896 | 90.3168 | 3 | 3.763 | 24 | 24 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
1152 | 12.7008 | 90.3168 | 9 | 1.411 | 64 | 32 | 2 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
1536 | 16.9344 | 90.3168 | 9 | 1.882 | 48 | 48 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
2048 | 22.5792 | 90.3168 | 9 | 2.509 | 36 | 36 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
3072 | 33.8688 | 90.3168 | 9 | 3.763 | 24 | 24 | 1 | 8192 | 1024 | 8 | 11.2896 | 512 | 5644.8 | 16 | 32 | 0 | 4 | 1411.2 | |
16 | 64 | 1.024 | 98.304 | 1 | 1.024 | 96 | 48 | 2 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 |
128 | 2.048 | 98.304 | 1 | 2.048 | 48 | 48 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
192 | 3.072 | 98.304 | 1 | 3.072 | 32 | 32 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
256 | 4.096 | 98.304 | 1 | 4.096 | 24 | 24 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
384 | 6.144 | 98.304 | 3 | 2.048 | 48 | 48 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
512 | 8.192 | 98.304 | 3 | 2.731 | 36 | 36 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
768 | 12.288 | 98.304 | 3 | 4.096 | 24 | 24 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
1024 | 16.384 | 98.304 | 3 | 5.461 | 18 | 18 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
1152 | 18.432 | 98.304 | 3 | 6.144 | 16 | 16 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
1536 | 24.576 | 98.304 | 9 | 2.731 | 36 | 36 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
2048 | 32.768 | 98.304 | 9 | 3.641 | 27 | 27 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
3072 | 49.152 | 98.304 | 9 | 5.461 | 18 | 18 | 1 | 6144 | 1024 | 6 | 16.384 | 384 | 6144 | 16 | 24 | 0 | 4 | 1536 | |
22.05 | 64 | 1.4112 | 90.3168 | 1 | 1.411 | 64 | 32 | 2 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 |
128 | 2.8224 | 90.3168 | 1 | 2.822 | 32 | 32 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
192 | 4.2336 | 90.3168 | 3 | 1.411 | 64 | 32 | 2 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
256 | 5.6448 | 90.3168 | 1 | 5.645 | 16 | 16 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
384 | 8.4672 | 90.3168 | 3 | 2.822 | 32 | 32 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
512 | 11.2896 | 90.3168 | 3 | 3.763 | 24 | 24 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
768 | 16.9344 | 90.3168 | 3 | 5.645 | 16 | 16 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
1024 | 22.5792 | 90.3168 | 3 | 7.526 | 12 | 12 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
1152 | 25.4016 | 90.3168 | 9 | 2.822 | 32 | 32 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
1536 | 33.8688 | 90.3168 | 9 | 3.763 | 24 | 24 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
2048 | 45.1584 | 90.3168 | 9 | 5.018 | 18 | 18 | 1 | 4096 | 1024 | 4 | 22.5792 | 256 | 5644.8 | 16 | 16 | 0 | 4 | 1411.2 | |
32 | 32 | 1.024 | 98.304 | 1 | 1.024 | 96 | 48 | 2 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 |
48 | 1.536 | 98.304 | 1 | 1.536 | 64 | 16 | 4 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
64 | 2.048 | 98.304 | 1 | 2.048 | 48 | 24 | 2 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
128 | 4.096 | 98.304 | 1 | 4.096 | 24 | 24 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
192 | 6.144 | 98.304 | 3 | 2.048 | 48 | 48 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
256 | 8.192 | 98.304 | 2 | 4.096 | 24 | 24 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
384 | 12.288 | 98.304 | 3 | 4.096 | 24 | 24 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
512 | 16.384 | 98.304 | 3 | 5.461 | 18 | 18 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
768 | 24.576 | 98.304 | 3 | 8.192 | 12 | 12 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
1024 | 32.768 | 98.304 | 3 | 10.923 | 9 | 9 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
1152 | 36.864 | 98.304 | 9 | 4.096 | 24 | 24 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
1536 | 49.152 | 98.304 | 6 | 8.192 | 12 | 12 | 1 | 3072 | 1024 | 3 | 32.768 | 192 | 6144 | 16 | 12 | 0 | 4 | 1536 | |
44.1 | 32 | 1.4112 | 90.3168 | 1 | 1.411 | 64 | 32 | 2 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 |
64 | 2.8224 | 90.3168 | 1 | 2.822 | 32 | 16 | 2 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
128 | 5.6448 | 90.3168 | 1 | 5.645 | 16 | 16 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
192 | 8.4672 | 90.3168 | 3 | 2.822 | 32 | 32 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
256 | 11.2896 | 90.3168 | 2 | 5.645 | 16 | 16 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
384 | 16.9344 | 90.3168 | 3 | 5.645 | 16 | 16 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
512 | 22.5792 | 90.3168 | 3 | 7.526 | 12 | 12 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
768 | 33.8688 | 90.3168 | 3 | 11.29 | 8 | 8 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
1024 | 45.1584 | 90.3168 | 3 | 15.053 | 6 | 6 | 1 | 2048 | 1024 | 2 | 45.1584 | 128 | 5644.8 | 16 | 8 | 0 | 4 | 1411.2 | |
48 | 32 | 1.536 | 98.304 | 1 | 1.536 | 64 | 32 | 2 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 |
64 | 3.072 | 98.304 | 1 | 3.072 | 32 | 16 | 2 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
128 | 6.144 | 98.304 | 1 | 6.144 | 16 | 16 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
192 | 9.216 | 98.304 | 3 | 3.072 | 32 | 32 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
256 | 12.288 | 98.304 | 2 | 6.144 | 16 | 16 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
384 | 18.432 | 98.304 | 3 | 6.144 | 16 | 16 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
512 | 24.576 | 98.304 | 3 | 8.192 | 12 | 12 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
768 | 36.864 | 98.304 | 3 | 12.288 | 8 | 8 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
1024 | 49.152 | 98.304 | 3 | 16.384 | 6 | 6 | 1 | 2048 | 1024 | 2 | 49.152 | 128 | 6144 | 16 | 8 | 0 | 4 | 1536 | |
96 | 32 | 3.072 | 98.304 | 1 | 3.072 | 32 | 16 | 2 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 |
48 | 4.608 | 98.304 | 3 | 1.536 | 64 | 32 | 2 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
64 | 6.144 | 98.304 | 1 | 6.144 | 16 | 8 | 2 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
128 | 12.288 | 98.304 | 2 | 6.144 | 16 | 16 | 1 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
192 | 18.432 | 98.304 | 3 | 6.144 | 16 | 16 | 1 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
256 | 24.576 | 98.304 | 4 | 6.144 | 16 | 16 | 1 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
384 | 36.864 | 98.304 | 6 | 6.144 | 16 | 16 | 1 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 | |
512 | 49.152 | 98.304 | 8 | 6.144 | 16 | 16 | 1 | 1024 | 512 | 2 | 49.152 | 64 | 6144 | 16 | 4 | 0 | 4 | 1536 |