Programming Models
22-16
ADSP-214xx SHARC Processor Hardware Reference
Listing 22-3. VCO Programming: First Method
ustat2 = dm(PMCTL);
bit clr ustat2 PLLM63|PLLD16; /* Clear the old multiplier
and divider values */
bit set ustat2 DIVEN | PLLD4 |PLLM16; /* set a multiplier of
16 and a divider of 4 */
dm(PMCTL) = ustat2;
bit set ustat2 PLLBP; /* Put PLL in bypass mode. */
bit clr ustat2 DIVEN; /* clear the DIVEN bit */
dm(PMCTL) = ustat2; /* The DIVEN bit should be cleared
while placing the PLL in bypass mode */
waiting_loop:
r0 = 4096; /* wait for PLL to lock at new rate
(requirement for VCO change) */
lcntr = r0, do pllwait until lce;
pllwait: nop;
ustat2 = dm(PMCTL); /* Reading the PMCTL register value
returns the DIVEN bit value as zero */
bit clr ustat2 PLLBP; /* take PLL out of Bypass, PLL is now at
new CCLK) */
dm(PMCTL) = ustat2; /* The DIVEN bit should be cleared while
taking the PLL out of bypass mode */
lcntr = 15, do pllwait1 until lce;
pllwait1: nop;
Listing 22-4. VCO Programming: Second Method
ustat2 = dm(PMCTL);
bit clr ustat2 PLLM63| PLLD16; /* Clear the old multiplier
and divider values */
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...