Pll Programming Examples; Latency; Table 3-25. Latency Times For Switching Between Cki And Pll-Based Clocks - Lucent Technologies DSP1617 Information Manual

Digital signal processor
Table of Contents

Advertisement

DSP1611/17/18/27/28/29 DIGITAL SIGNAL PROCESSOR
Software Architecture
3.5 Clock Synthesis (DSP1627, DSP1628, and DSP1629 Only)

3.5.2 PLL Programming Examples

The following section of code illustrates how the PLL is initialized on powerup assuming the following operating
conditions:
 V
= 3 V
DD
 CKI input frequency = 10 MHz
 Internal clock and CKO frequency = 50 MHz
 VCO frequency = 100 MHz
 Input divide down count N = 2 (Set Nbits[2:0] = 000 to get N = 2, as
 Feedback down count M = 20 (Set Mbits[4:0] = 10010 to get M = 18 + 2 = 20, as
The device comes out of reset with the PLL powered down and deselected.
pllinit:
pllc=0xA912
*/
*/
call pllwait
pllc=0xE912
2*nop
goto start
pllwait:
if lock return
goto pllwait
Section 3.6.6, Power Management Examples
the various power management modes.

3.5.3 Latency

The switch between the CKI-based clock and the PLL-based clock is synchronous. This method results in the
actual switch taking place several cycles after the PLLSEL bit is changed. During this time, actual code can be
executed at the precedent clock rate.
PLL-based clocks. The PLL cannot be disabled until the switch back to CKI has been completed. In the example
given, the delay to switch to the PLL source is 1—4 CKO cycles and to switch back is 11—31 CKO cycles.

Table 3-25. Latency Times for Switching Between CKI and PLL-Based Clocks

Switch to PLL-based clock
Switch from PLL-based clock
3-50
/*
Running CKI input clock at 10 MHz, set up counters
/*
in PLL, Power on PLL, but PLL remains deselected
/*
Loop to check for LOCK flag assertion
/*
Select high-speed, PLL clock
/*
Switch to PLL latency
/*
User's code, now running at 50 MHz
lists programming examples that illustrate how to use the PLL with
Table 3-25
shows the latency times for switching between CKI-based and
Minimum
Latency (cycles)
1
M/N + 1
DRAFT COPY
Information Manual
(continued)
Table 3-26
describes.)
Table 3-26
Maximum
Latency (cycles)
N + 2
M + M/N + 1
Lucent Technologies Inc.
April 1998
describes.)
*/
*/
*/
*/

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp1629Dsp1618Dsp1611Dsp1627Dsp1628

Table of Contents