Dynamic Power Management Controller
8-20
ADSP-BF535 Blackfin Processor Hardware Reference
Examples
The following code examples illustrate how to effect various operating
mode transitions. These examples use the watchdog timer as the wake-up
signal. Some setup code has been removed for clarity, and these assump-
tions are made:
• P0 points to the PLL Control register (
PLL_CTL
).
• The watchdog timer has been initialized and enabled as a wake-up
signal.
•
MSEL[6:0]
and
DF
in
PLL_CTL
are set to (b#0011111) and (b#0)
respectively, signifying a
CLKIN
to
CCLK
multiplier of 31x.
• Core clock (
CCLK
) to system clock (
SCLK
) divider ratio (
SSEL
) is set
at 2 to 1 (b#00).
Listing 8-2. Transitioning From Active Mode to Full On Mode
R1.H = 0x0000; /* clear BYPASS bit in PLL_CTL */
R1.L = 0x3E00;
[P0] = R1;
SSYNC;
CLI R1; /* disable interrupts, copy IMASK to R1 */
IDLE; /* source NOPs into pipeline, prepare to enter idled
state */
SSYNC; /* drain pipeline, enter idled state, wait for watchdog
*/
STI R1; /* after watchdog occurs, restore interrupts and IMASK
*/
... /* processor is now in the Full-On mode */
Содержание ADSP-BF535 Blackfin
Страница 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Страница 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...
Страница 908: ...SDRAM Controller External Bus Interface Unit B 36 ADSP BF535 Blackfin Processor Hardware Reference...